Home Forums WoodMart support forum Search Product Tags !

Search Product Tags !

Viewing 21 posts - 1 through 21 (of 21 total)
  • Author
    Posts
  • #112178

    mazenarafat
    Participant

    Hello,
    I wonder how can I make the search to search inside the Product Tags too?
    Is there any code that I have to add?
    Please advice

    Thank you
    Mazen

    #112179

    newsprince
    Participant

    @mazenarafat

    Use my guide here. You can setup the search plug-in to index every attribute tag etc and integrate it with woodmart’s search widget.

    https://xtemos.com/forums/topic/relevansi-plugin-ajax-search-for-everyone/

    #112202

    Artem Temos
    Keymaster

    Hello,

    There is no such function in WooCommerce by default so you can try to use a solution provided by @newsprince.


    @newsprince
    thank you for sharing your experience.

    Kind Regards

    #112224

    mazenarafat
    Participant

    Hello,
    Accualy, I tried, but it didn’t work. Or I did not know how to do it.
    Please advice, maybe plugin..
    Regards Mazen

    #113032

    mazenarafat
    Participant

    Hello,
    I wonder if I can get the BIG advice for this issue.
    Where can I find the search code? page / line?
    I found a plugin https://wordpress.org/plugins/smart-woocommerce-search/
    So I want to use the shortcode instead of the current search.
    Please, advice, and what code should I comment/**/

    Thank you
    Mazen

    #113071

    Artem Temos
    Keymaster

    Do you mean that you want to replace the code of our search form? Please, send us a link to the page a screenshot of that form and we will send you the file path.

    #113143

    mazenarafat
    Participant

    Hello,
    Thank you for the fast response.

    Kindly find the screenshot.
    I want to change only the Search For Products field and leave the Select Category.
    I want to put instead a shortcode [smart_search id=”1″]

    Thank you

    Attachments:
    You must be logged in to view attached files.
    #113153

    Artem Temos
    Keymaster

    You can find this code in woodmart_search_form function in the file inc/modules/search.php.

    #113220

    mazenarafat
    Participant

    Hi,
    Thankyou for your reply,
    I want to put instead a shortcode [smart_search id=”1″], how to do it?
    where is the line?
    Please advice.
    Thank you

    #113253

    Artem Temos
    Keymaster

    Find the function woodmart_search_form and replace the code you need. You can use the following code to display shortcode using PHP https://css-tricks.com/snippets/wordpress/shortcode-in-a-template/

    #113258

    mazenarafat
    Participant

    Great, Thank you

    #113329

    mazenarafat
    Participant

    Hello,
    Where can I find the search in the mobile version,
    I want to change it and put instead to [aws_search_form]..
    In the desktop version, I just change it from WoodMart header builder, here is very easy for me.
    Please advice.

    Many Thanks
    Mazen

    #113336

    Artem Temos
    Keymaster

    The same function is used for mobile devices as well.

    #113344

    mazenarafat
    Participant

    HI,
    I didn’t use the code, I just delete the search element from header builder, and added a text element and I put inside it the shortcode.
    Please check the video:
    https://www.useloom.com/share/1bd1c4615bf54390b1f5521fe8c0a0d5

    I can not find the search element to change it with text element in the mobile version.
    Thank you

    #113401

    Artem Temos
    Keymaster

    Do you mean the search form in the mobile navigation sidebar? It can’t be changed with header builder, only editing the PHP file. Or add a separate search with text block for mobile devices too.

    #113429

    mazenarafat
    Participant

    Hello,
    Yes, the search in the navigation bar, in this case, please let me know where is the PHP code for it? so I will comment it /* */ Please note that I don’t coding, so if it is possible to let me know from which line to which line should I comment.

    Thank you very much
    Mazen

    #113436

    Artem Temos
    Keymaster

    Do you want simply delete it or replace? Try to simply disable it with header builder settings and just put your own search bar as an text/HTML element in the header.

    #113441

    mazenarafat
    Participant

    Hi,
    How to disable it as it is only in php code?, it is not in the header builder settings!!
    I hope I can find it in the header builder settings .. please show me where? (For mobile)

    Thank you

    #113449

    Artem Temos
    Keymaster
    #113601

    mazenarafat
    Participant

    Hello,
    Thank you very much

    Kind Regards
    Mazen

    #113624

    Artem Temos
    Keymaster

    You are welcome.

Viewing 21 posts - 1 through 21 (of 21 total)