Home › Forums › WoodMart support forum › Search Product Tags !
Search Product Tags !
- This topic has 20 replies, 3 voices, and was last updated 5 years, 12 months ago by
Artem Temos.
-
AuthorPosts
-
March 10, 2019 at 10:32 pm #112178
mazenarafatParticipantHello,
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 adviceThank you
MazenMarch 10, 2019 at 10:46 pm #112179
newsprinceParticipantUse 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/
March 11, 2019 at 7:30 am #112202
Artem TemosKeymasterHello,
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
March 11, 2019 at 9:24 am #112224
mazenarafatParticipantHello,
Accualy, I tried, but it didn’t work. Or I did not know how to do it.
Please advice, maybe plugin..
Regards MazenMarch 14, 2019 at 8:19 pm #113032
mazenarafatParticipantHello,
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
MazenMarch 15, 2019 at 6:45 am #113071
Artem TemosKeymasterDo 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.
March 15, 2019 at 11:08 am #113143
mazenarafatParticipantHello,
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.March 15, 2019 at 12:26 pm #113153
Artem TemosKeymasterYou can find this code in
woodmart_search_form
function in the fileinc/modules/search.php
.March 15, 2019 at 4:42 pm #113220
mazenarafatParticipantHi,
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 youMarch 15, 2019 at 9:36 pm #113253
Artem TemosKeymasterFind 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/March 15, 2019 at 10:01 pm #113258
mazenarafatParticipantGreat, Thank you
March 16, 2019 at 2:21 pm #113329
mazenarafatParticipantHello,
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
MazenMarch 16, 2019 at 2:54 pm #113336
Artem TemosKeymasterThe same function is used for mobile devices as well.
March 16, 2019 at 3:57 pm #113344
mazenarafatParticipantHI,
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/1bd1c4615bf54390b1f5521fe8c0a0d5I can not find the search element to change it with text element in the mobile version.
Thank youMarch 17, 2019 at 8:19 am #113401
Artem TemosKeymasterDo 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.
March 17, 2019 at 11:38 am #113429
mazenarafatParticipantHello,
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
MazenMarch 17, 2019 at 12:01 pm #113436
Artem TemosKeymasterDo 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.
March 17, 2019 at 12:18 pm #113441
mazenarafatParticipantHi,
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
March 17, 2019 at 1:03 pm #113449
Artem TemosKeymasterCheck this video to disable it https://gyazo.com/c1b37ca483b839ea52ff49c4b16a4dec
March 18, 2019 at 4:17 pm #113601
mazenarafatParticipantHello,
Thank you very muchKind Regards
MazenMarch 18, 2019 at 6:08 pm #113624
Artem TemosKeymasterYou are welcome.
-
AuthorPosts
- You must be logged in to create new topics. Login / Register