Disable theme WooCommerce template

by dado   Last Updated December 06, 2018 15:08 PM

Just purchased a premium WooCommerce-read theme. Unfortunately, this theme comes with a /woocommerce folder. How can I disable this templates,without deleting whole folder?



Answers 1


Many themes overwrite WooCommerce template files. A behaviour that can cause malfunctions.

WC_TEMPLATE_DEBUG_MODE will prevent overrides in themes from taking priority

// Add this to wp-config.php file

define( 'WC_TEMPLATE_DEBUG_MODE', true );

https://docs.woocommerce.com/wc-apidocs/function-wc_get_template_part.html

dado
dado
December 06, 2018 15:02 PM

Related Questions


Updated January 13, 2018 10:08 AM

Updated March 15, 2017 01:08 AM

Updated April 05, 2017 23:08 PM

Updated April 23, 2016 08:03 AM

Updated June 30, 2016 08:03 AM