Home / Forums / WoodMart support forum / Compare Template
Home › Forums › WoodMart support forum › Compare Template
Compare Template
- This topic has 10 replies, 2 voices, and was last updated 4 years, 9 months ago by
Elise Noromit.
-
AuthorPosts
-
March 15, 2021 at 5:16 pm #273668
fgmadmParticipantHello,
We are using the child theme. I found the compare.php file and copied from main theme to child theme with the same folder structure. I changed “-” to “x”, but it is not working.
When I change compare.php file in the main theme, then it is working. I am pretty sure the folder structure is the same.
/wp-content/themes/woodmart-child/inc/integrations/woocommerce/modules/compare.php
Could you tell me what to do?
March 15, 2021 at 9:22 pm #273711
Elise NoromitMemberHello,
Please remove your customization and show me the screen where you want to replace the symbol, I will provide the custom CSS.
Best Regards
March 15, 2021 at 9:34 pm #273716
fgmadmParticipantHello,
Thanks for the quick reply. We want to change “-” to “x” in the comparison table.
Thanks!
March 15, 2021 at 9:39 pm #273721
fgmadmParticipantHello again. Please see the private content.
March 16, 2021 at 10:52 am #273847
Elise NoromitMemberHello,
You can change the code in the parent theme and add this code to the child theme:
add_filter( 'woodmart_compare_empty_field_symbol', function() { return 'x'; } );We shall add the option to chose the symbol in our nearest update.
Best Regards
March 16, 2021 at 5:53 pm #274051
fgmadmParticipantUnfortunately, this did not work.
March 17, 2021 at 10:23 am #274240
Elise NoromitMemberHello,
Please provide FTP access to the private area.
Best Regards
March 17, 2021 at 7:23 pm #274420
fgmadmParticipantPlease find the details in private area. Thanks.
March 18, 2021 at 8:19 am #274516
Elise NoromitMemberHello,
Please download this file: https://drive.google.com/file/d/1-sCC6ux1JQTHE0fuF1N8Cy66nfCAuMn0/view?usp=sharing
Then upload it instead of this one:
woodmart/inc/integrations/woocommerce/modulesBest Regards
March 18, 2021 at 6:12 pm #274660
fgmadmParticipantHello,
Thanks, but this solution will be removed when we update the theme. That’s why I tried to implement it with child theme. However, when I add this file with the same path to child theme, it does not work.
Could you please take a look at it? Currently I updated the main theme file. This is not an ideal solution.
March 19, 2021 at 8:15 am #274775
Elise NoromitMemberHello,
These changes would not be lost after update, we have provided the file that we are including in the update.
Best Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register