Disable theme WooCommerce template

admin2025-06-05  1

Closed. This question is off-topic. It is not currently accepting answers.

Your question should be specific to WordPress. Generic PHP/JS/SQL/HTML/CSS questions might be better asked at Stack Overflow or another appropriate Stack Exchange network site. Third-party plugins and themes are off-topic for this site; they are better asked about at their developers' support routes.

Closed 6 years ago.

Improve this question

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?

Closed. This question is off-topic. It is not currently accepting answers.

Your question should be specific to WordPress. Generic PHP/JS/SQL/HTML/CSS questions might be better asked at Stack Overflow or another appropriate Stack Exchange network site. Third-party plugins and themes are off-topic for this site; they are better asked about at their developers' support routes.

Closed 6 years ago.

Improve this question

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?

Share Improve this question asked Dec 6, 2018 at 15:02 dadodado 11913 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

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/wc-apidocs/function-wc_get_template_part.html

转载请注明原文地址:http://conceptsofalgorithm.com/Algorithm/1749123611a316563.html

最新回复(0)