[Theme development] Overriding WooCommerce product image HTML
-
Hello,
i am having trouble doing a very small and basic customization to a WooCommerce theme. That is, just adding some code to the product image HTML, which i think is just a WC template to be replaced/overridden in your theme.
This is what i have tried
– i have duplicated eCommerce Plus, which is one of the main free themes for Woocommerce
– i have changed the theme name in the
style.css
file– i have created the
woocommerce/templates/single-product
subfolder inside my child theme folder– i have created a file called
product-image.php
inside that subfolder. It contains only<?php die();
, just to make sure it gets executedBut it had no effect. The
die()
was not executed.What am i missing?
Thank you!
- The topic ‘[Theme development] Overriding WooCommerce product image HTML’ is closed to new replies.