Import search from ajax lite failed

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Import search from ajax lite failed

This topic contains 18 replies, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 8 months ago.

Viewing 15 posts - 1 through 15 (of 19 total)
  • Author
    Posts
  • #44366
    Limitless Club
    Limitless Club
    Participant

    we set up the ajax search lite settings and testings to perfection, when we try to import the old search box to the pro plugin, it gives an error that no form is available.

    when typing any text for the form name, it just fires the “add” button then creates a new search box instead of importing the old one. dosnt matter if we click the add / import button, it performs the “add” funcion/

    please help us to import the free ajax search box to the pro.

    Attachments:
    You must be logged in to view attached files.
    #44368
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi!

    Sure!

    Make sure to enter a form name to this field and then hit the import button. That will do the trick 🙂

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #44371
    Limitless Club
    Limitless Club
    Participant

    thats the problem

    when i enter the form name, it dosnt import

    it creates a new form

    #44372
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    The new form it creates will have the properties imported from the lite version – the design, settings etc..
    The Pro version supports multiple search forms so at least one has to be created. The import method will create a new form from the lite version using the lite version options.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #44374
    Limitless Club
    Limitless Club
    Participant

    i didnt work,

    how can i double check the form name on the lite version? so i can make sure i type currectly the name

    #44379
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    The lite version does not have a form name, because in the lite version there is only a single search form, it is not possible to create multiple search bars with it.

    Multiple search bars are supported in this Pro version, and because of that a search form name is required. I see you have made an imported search bar already. You can access the settings here: https://i.imgur.com/rnFSTNA.png

    Don’t forget to disable Ajax Search Lite – it is best to have only one version active as they share some resources.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #44385
    Limitless Club
    Limitless Club
    Participant

    i must say that im really disapointed.

    all my stylings has gone.

    the old and free looks amazing.

    the new one requires to spend another few hours optimizing it again…

    vey bad customer experiance i must say…

    is there a practical way to import the design or do we need again to work every field by field comparing the two of them toghether and trying to remake it again?

    Attachments:
    You must be logged in to view attached files.
    #44390
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    I can help you with that. The two plugin are separate so if someone wants they can switch back and forth. Unfortuantely I can’t make it both ways – especially because in the Pro version you can create multiple search bars.

    These customizations does not look terribly complicated. I can help you with it if you want to, it should be a matter of minutes only. Let me know if you used any custom CSS and I will help you convert it.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #44391
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Nevermind, I found some of the customizations, using this custom CSS should get you almost exactly the same layout:

    div.asp_m.asp_w {
        box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19) !important
    }
    
    .rtl .asp_m input.orig {
        direction: rtl;
        text-align: right
    }
    
    div.asp_m .probox .proclose svg {
        background: #fff2f2 !important;
        fill: rgba(210, 17, 94, 1) !important;
    }
    
    div.asp_m .probox .promagnifier {
        order: 1 !important;
    }
    
    div.asp_w .probox .proinput input::-webkit-input-placeholder {
        font-weight: normal;
        font-family: Open Sans;
        color: rgba(0,0,0,.6) !important;
        text-shadow: 0 0 0 rgba(255,255,255,0);
    }
    
    .asp_m .probox {
        padding: 8px !important;
        margin: 0 !important;
    }
    
    div.asp_r.vertical {
        padding: 4px !important;
        background: #fff !important;
        border-radius: 3px !important;
        border: 0 solid #b5b5b5 !important;
        border-radius: 0 0 0 0 !important;
        box-shadow: 0 0 3px -1px rgba(0,0,0,.3) !important;
    }
    
    div.asp_r.asp_w.vertical .results .item::after {
        display: block !important;
        position: absolute !important;
        bottom: 0 !important;
        content: '' !important;
        height: 1px !important;
        width: 100% !important;
        background: #D8D8D8 !important;
    }
    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #44392
    Limitless Club
    Limitless Club
    Participant

    many thanks. is looks much better.

    how can i change the font for the search result title? its open-sans-hebrew font on the lite plugin

    on the old picture its how i want it to look

    Attachments:
    You must be logged in to view attached files.
    #44396
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    You are welcome!

    I forgot that custom CSS sorry, this will do it:

    .asp_w, .asp_w * {
        font-family: "Open Sans Hebrew" !important;
    }
    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #44398
    Limitless Club
    Limitless Club
    Participant

    great 🙂 work perfectly.

    thanks a lot!

    i wonder if you have a solution for two things we tried at the free version but couldnt figure out?

    1. can we embed the search bar in the mobile nav bar? -see reference photo

    2. can we use the woocomerce product rating and post comments fields within the search results? we tried almost everything and could not find a solution. even not on google or your wiki.

    something like {prodcut_rating}, count({post_comments}) – see reference photo

    Attachments:
    You must be logged in to view attached files.
    #44407
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    You are welcome!

    1. If the nav bar has any widget or block area, then you could add the plugin shortcode there. Check the theme options or the customizer, sometimes there is a way to add custom shortcodes/texts. If there is none, then you may have to ask the theme developer if there is any way to add shortcodes there. Sometimes the only way to do that is via custom code, they will know which file to edit for the child template.

    2. The rating is doable via the {_wc_average_rating} custom field, use this for better layout:
    {_wc_average_rating type="number" decimals=2 decimal_separator="."}

    For the comments:

    Try adding this code via the Code Snippets plugin or to the functions.php file in your theme/child theme directory – make sure to have a full server back-up first for safety. For more details you can check the safe coding guidelines.

    add_filter('asp_cpt_advanced_field_value', 'asp_add_comments_number', 10, 3);
    function asp_add_comments_number($value, $field, $result) {
    	if ( $field == 'post_comments') {
            return get_comments_number($result->id);
        }
        
        return $value;
    }

    After that the plugin will recognize the {post_comments} pseudo variable and fetch the comments count.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #44469
    Limitless Club
    Limitless Club
    Participant
    You cannot access this content.
    #44485
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    You are welcome!

    Here is a tutorial for that exact setup. Basically we used blocks in the gutenberg editor (any other editor will work too) and placed the search, results and the settings shortcodes there.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


Viewing 15 posts - 1 through 15 (of 19 total)

You must be logged in to reply to this topic.