-
Notifications
You must be signed in to change notification settings - Fork 44
Overriding Germanized Templates
Germanized template files contain the markup and template structure for frontend and HTML emails added by Germanized to your WooCommerce store. Overriding templates in Germanized works exactly like it works for WooCommerce core except that the template folder is named woocommerce-germanized
instead of woocommerce
.
Template files can be found within the /woocommerce-germanized/templates/
directory. For a list of the currently available templates, please check the master branch.
To override one of the templates added by Germanized within your (child-) theme copy the file located at wp-content/plugins/woocommerce-germanized/templates/
to your theme folder under wp-content/themes/my-child-theme/woocommerce-germanized/
.
Example: Copy the file wp-content/plugins/woocommerce-germanized/templates/emails/customer-paid-for-order.php
to your theme wp-content/themes/my-child-theme/woocommerce-germanized/emails/customer-paid-for-order.php
.
Germanized will now load the overridden template from your theme folder. From time to time Germanized may update the templates. You'll receive a notice within your admin panel. To update overridden templates you should backup the template file and copy the new version from the plugin folder to your theme and add your adjustments accordingly.