Home › Forums › WoodMart support forum › YITH Compare function
YITH Compare function
- This topic has 17 replies, 2 voices, and was last updated 6 years, 2 months ago by
Artem Temos.
-
AuthorPosts
-
November 15, 2018 at 9:48 pm #89773
jcbdesignParticipantHi,
I’m after some help with the way the YITH compare function works with the theme please.
1. How can I add the compare trigger icon/button to the header to make the compare function work as per a screen shot from my previous site?
2. Is is possible to move the location of the “add to compare icon/button” replace the “add to Wishlist” icon/button in the “Show summary on hover” view please?
Thanks in advance,
JonAttachments:
You must be logged in to view attached files.November 15, 2018 at 10:01 pm #89777
jcbdesignParticipantAlso, when the compare is activated in the Lightbox all the font styling is lost and it look like it’s reverted back to times new roman. however when opened in a page the styling works. I upgraded to the premium version of the plug in as a work around but really want to use the Lightbox pop up feature. hope you can help please?
November 16, 2018 at 9:20 am #89812
Artem TemosKeymasterHi,
1. Sorry, but there is no such option in our theme and WooCommerce by default. It may require additional code customization and it is out of our theme support scope.
2. You can do this only with additional code customization of the file
woodmart/woocommerce/content-product-summary.php
.3. Yes, unfortunately, our theme styles from Theme Settings can’t be applied in the compare popup.
Regards
November 16, 2018 at 1:53 pm #89867
jcbdesignParticipantHi,
Thank you for the reply.
It is disappointing that the function and plugin that is supplied with the theme doesn’t work properly and is not supported. I’ve checked a few of the demo sites and the compare pop up has no styling. this makes it unusable, just looks broken.November 16, 2018 at 2:27 pm #89878
Artem TemosKeymasterActually, it shouldn’t be broken. The only problem it has is that Theme Settings typography is not applied and default fonts used. Could you please send us a screenshot of the problem you have?
November 16, 2018 at 3:15 pm #89885
jcbdesignParticipantHi,
I’ve attached a screen grab of the fashion demo. You’re right, technically it’s not broken. But from a visitors point of view it looks all wrong and reduce the perception of credibility for the site.
But the styling I can get around by using the premium plugin in page mode. It’s the activation trigger in the header what I really need. Is that something you can help with please?Attachments:
You must be logged in to view attached files.November 16, 2018 at 3:38 pm #89892
Artem TemosKeymasterHi,
We will try to fix this problem in our next theme update. Header widget will be added in the next update definitely.
Regards
November 16, 2018 at 3:41 pm #89895
jcbdesignParticipantThank You. I appreciate it.
You’ve got such a fantastic theme, my client really likes it, but needs these features porting over. At least I can say it will happen.Thanks again
JonNovember 16, 2018 at 8:18 pm #89947
Artem TemosKeymasterThank you. We are glad that you like it.
November 19, 2018 at 2:01 pm #90354
jcbdesignParticipantHi,
I don’t seem to have the woodmart/woocommerce/content-product-summary.php file. could it be called something else?Thanks
Attachments:
You must be logged in to view attached files.November 19, 2018 at 2:20 pm #90358
Artem TemosKeymasterSorry, the right name is
content-product-base.php
.November 19, 2018 at 2:33 pm #90365
jcbdesignParticipantcool, thank you.
I thought I could just swap around the “<?php if( class_exists(‘YITH_WCWL_Shortcode’)) woodmart_wishlist_btn(); ?>” with “<?php woodmart_compare_btn(); ?>”.
but it did nothing. I guess there is more to it?
Cheers
November 19, 2018 at 3:24 pm #90369
Artem TemosKeymasterPlease, send us a link where you did this.
November 19, 2018 at 5:53 pm #90393
jcbdesignParticipantHi,
I altered the woodmart/woocommerce/content-product-base.php file.
I guess it would be better to use the child’s theme functions.php, but I have no idea of the coding.November 19, 2018 at 6:38 pm #90404
Artem TemosKeymasterTo override it in the child theme you just need to create a copy of this file in the child theme like
woodmart-child/woocommerce/content-product-base.php
and do your modifications.December 6, 2018 at 4:17 pm #94397
jcbdesignParticipantHi Thank you for adding the button in the header for the compare feature.
However the compare function has stoppered working with the premium version of the plugin after the last update. I need to use the premium version to allow the dynamic attributes, i.e to miss out the blank ones.Please can you help?
December 6, 2018 at 4:46 pm #94400
jcbdesignParticipantOk I have a work around.
I’ve disabled compare in the wood mart settings and now all is working fine.
But it looks like a conflict with the theme and the premium plugincheers
December 6, 2018 at 7:53 pm #94415
Artem TemosKeymasterYes, you need to disable our theme compare function if you want to use the plugin.
-
AuthorPosts
- You must be logged in to create new topics. Login / Register