Home Forums WoodMart support forum Compare Template

Compare Template

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #273668

    fgmadm
    Participant

    Hello,

    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?

    #273711

    Hello,

    Please remove your customization and show me the screen where you want to replace the symbol, I will provide the custom CSS.

    Best Regards

    #273716

    fgmadm
    Participant

    Hello,

    Thanks for the quick reply. We want to change “-” to “x” in the comparison table.

    Thanks!

    #273721

    fgmadm
    Participant

    Hello again. Please see the private content.

    #273847

    Hello,

    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

    #274051

    fgmadm
    Participant

    Unfortunately, this did not work.

    #274240

    Hello,

    Please provide FTP access to the private area.

    Best Regards

    #274420

    fgmadm
    Participant

    Please find the details in private area. Thanks.

    #274516

    Hello,

    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/modules

    Best Regards

    #274660

    fgmadm
    Participant

    Hello,

    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.

    #274775

    Hello,

    These changes would not be lost after update, we have provided the file that we are including in the update.

    Best Regards

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