Template override
-
Hello,
first, thanks for your plugin.
I wonder if it’s possible to override /public/templates as for WooCommerce (or other plugins) templates.
It would be very useful.For example to add theme classes to buttons or titles in available-gifts.php template.
Or to remove custom actions added in theme for single product template I don’t want to hook in giftable-variations.php / cart.
E.g., since I moved price below summary:remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_price', 10 ); add_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_price', 25 );
I need to add:
remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_price', 25 );
to giftable-variations.php template
or to remove other custom actions added in theme for single product template I don’t want to hook in giftable-variations.php.Thanks,
Davide
- The topic ‘Template override’ is closed to new replies.