• I modified this file “woocommerce\templates\single-product\product-image.php” and in order to avoid being overwritten when updating woocommerce, I copied it to the child theme but it doesn’t work, how can I override this file correctly?

    Original path
    F:\xampp\htdocs\lip\wp-content\plugins\woocommerce\templates\single-product\product-image.php

    Child theme path
    F:\xampp\htdocs\lip\wp-content\themes\blocksy-child\woocommerce\templates\single-product\product-image.php

Viewing 1 replies (of 1 total)
  • Hi @tonyzyc

    Thank you for reaching out β€” we’re happy to help!

    It appears the child theme path should be without the templates part in it.

    For more, feel free to check out the official documentation (linked here) on overriding templates.

    I hope this helps! Let us know how it goes.

Viewing 1 replies (of 1 total)

The topic ‘Template override issue’ is closed to new replies.