It has been a week since our last major WooCommerce Appointments update and the new one is here, 2.1. This update heavily improves template management for the plugin and allows you to override any template file with your theme, just the way you override template files for the core WooCommerce plugin.
How to Override Template Files with Your Theme?
The details of the process and instructions are available here. You basically need to copy all template files from /wp-content/plugins/woocommerce-appointments/templates/
and place them inside /wp-content/themes/your_theme_folder/woocommerce/
. After that, you are free to change the template however you can and you will retain compatibility with the plugin without changing any core plugin files.
Template Versioning System
All template files now have a version, so when we update the templates in future, we will increment the version number and you will be notified if any incompatibilities exist with core template files. You can also check the WooCommerce System Status report, where all overrides are listed – you can check if your templates are outdated there as well. Pretty neat, huh?
If you are attempting to override plugin templates, make sure you keep the template file version in sync with current version of core template you are overriding. Will will try to keep the updates to templates to the minimum, but when we increase the version number, you will now know what has changed and when.
View the Full Feature Set Buy Now — $69
Have Questions? Contact us.
Leave a Reply