Home Forums WoodMart support forum Child Theme changes not being recognised

Child Theme changes not being recognised

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #244642

    smartuknet
    Participant

    Hi, I need to make changes to some of the product templates as we have bespoke products and I need to call in the attributes into a different part of the page. I have the Child Theme stating it is active, but when I make changes nothing is being recognised.

    – To test the css I added a background colour to the page and that is not being pulled through
    – I have copied the tabs.php from the parent template to here: /wp-content/themes/woodmart-child/WooCommerce/single-product/tabs but changes are not showing up

    Can you advise please?

    #244647

    Artem Temos
    Keymaster

    Hello,

    As we can see, the child theme is activated and works as expected https://prnt.sc/vpudbo https://prnt.sc/vpudhh
    If you don’t see your changes then your code is wrong or contains errors. Sorry, but fixing code in the child theme is out of our theme support scope.

    Kind Regards

    #244650

    smartuknet
    Participant

    Thank you for confirming that the theme is active. I changed the name of the WooCommerce folder to not use capitals, did a hard refresh and it now seems to be working!

    Can you confirm for me, that if we were to do a template update in the future, anything in the child folder won’t be overwritten, just the main template?

    My first time using WordPress so I am just double checking.

    I did try to use the HTML blocks but I need to insert code full in different fields and the HTML blocks did not seem to like the php.

    Thanks in advance.

    #244662

    Artem Temos
    Keymaster

    Yes, you will never need to update the child theme so your changes will not be lost.

    #244669

    smartuknet
    Participant

    Thank you.

    Can you advise if there is a way to control the location of where the attributes show in the product page? I can’t seem to find a setting for this in the theme and they are currently showing on top of the image under the ‘HOT’ icon.

    #244871

    Artem Temos
    Keymaster

    Hello,

    There is no option for this in our Theme Settings. It has only one location at the moment.

    Kind Regards

    #244966

    smartuknet
    Participant

    Can you point me to the file where the design is generated?

    Thanks in advance

    #245003

    Artem Temos
    Keymaster

    It is generated by PHP function woodmart_product_label() located in the file woodmart/inc/integrations/woocommerce/template-tags.php.

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