Condition to Ignore custom template file
-
I’ve got a couple of separate but similar WC websites. They both use the same set of customised WC template files in a child theme for the most part, but some of them are only used on one of the sites.
I want to use the same set of files on both sites to make life easier, so is it possible to add a condition for using that template file (e.g. wp-content/themes/child-theme/woocommerce/checkout/payment.php), otherwise it would be skipped over and the default WC template would be used (e.g. wp-content/plugins/woocommerce/templates/checkout/payment.php)?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Condition to Ignore custom template file’ is closed to new replies.