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?

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

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.