Home › Forums › WoodMart support forum › Ajax Search results + swatch attribute name
Ajax Search results + swatch attribute name
- This topic has 12 replies, 3 voices, and was last updated 6 years, 8 months ago by
Artem Temos.
-
AuthorPosts
-
November 21, 2018 at 10:09 am #90729
BrandboutikParticipantHi,
1- I understand that Woodmart has AJAX search, and I realized that it doesnt search the attributes/tags/categories. only the title and description, which is kind of a problem for me. Can I add another AJAX plugin from wordpress website and still keep the same design of your search bar?
2- In my previous website brandboutik.com when hovering over swatches the name of the attribute appears. that doesnt happen in my current website: lovenaya.site why is that? (login details in private)
Thanks
November 21, 2018 at 10:39 am #90741
Artem TemosKeymasterHello,
1. We don’t officially support other plugins for search functionality. But you can read other customer’s instruction that may help you https://xtemos.com/forums/topic/relevansi-plugin-ajax-search-for-everyone/
2. Could you please send us a link to the example product?
Thank you
November 21, 2018 at 10:40 am #90742
newsprinceParticipantHello.
Use my guide from this link
https://xtemos.com/forums/topic/relevansi-plugin-ajax-search-for-everyone/
We have integrated advanced search with this plugin Relevansi and still use the ajax function from theme.
See the last post i submit because the updated the theme and change some files.
November 21, 2018 at 11:49 am #90754
BrandboutikParticipantHello,
1- Thank you so much “newsprince” and “Artem” this is super super helpful. I’ll be trying it out!
2- Here’s an example: http://lovenaya.site/index.php/product/flormar-silk-matte-liquid-lipstick/
note: it does show up in the grid, just not the products page.Thanks.
November 21, 2018 at 12:14 pm #90766
Artem TemosKeymasterHi,
You need to upload default image for each attribute term to enable tooltip on the single product page https://gyazo.com/b8a028e98a0b6d2157ea0c04d6d6c01f
Regards
November 21, 2018 at 12:25 pm #90770
BrandboutikParticipantHi,
Isn’t there some code to work this around? or at least anything that would show the variant name even if it was after selecting one. Because it’s important for my customers to know the name of the color. doesnt matter to me how it looks, I just want the name of the variant to appear in any way possible.
Thanks.
November 21, 2018 at 3:04 pm #90801
Artem TemosKeymasterTry to edit the file
woodmart/woocommerce/single-product/add-to-cart/variable.php
and replace this line$class .= ' text-only';
with this one
$class .= ' ';
November 22, 2018 at 8:10 am #90968
BrandboutikParticipantHello Artem,
What was this code supposed to do? I changed it and I couldn’t see any change :(.
November 22, 2018 at 9:09 am #90983
Artem TemosKeymasterHi,
Please, send us a screenshot where you modified that code in your files.
Thank you
November 22, 2018 at 9:16 am #90988
BrandboutikParticipantLine 82, Here:
https://gyazo.com/908dc98b34c3f6e0cd1144ccc044f0b1Thank you.
November 22, 2018 at 9:39 am #90996
Artem TemosKeymasterSorry, try to replace this line
$class .= ' variation-image-used image-swatch';
with this one
$class .= ' variation-image-used image-swatch woodmart-tooltip';
November 22, 2018 at 9:44 am #91000
BrandboutikParticipantBeautiful! Fantastic!! 🙂
Thanks a lot Artem <3should I return the old code of line 82?
November 22, 2018 at 10:55 am #91018
Artem TemosKeymasterYou are welcome! Yes, you can return the previous code.
-
AuthorPosts
- You must be logged in to create new topics. Login / Register