![]() ![]() If you are a theme developer or using a theme with custom templates, you must declare WooCommerce theme support using the add_theme_support function. For more detailed information, see Fixing Outdated WooCommerce Templates. Warning: Do not edit these files within the core plugin itself as they are overwritten during the upgrade process and any customizations will be lost. ![]() The copied file will now override the WooCommerce default template file. Copy the template into a directory within your theme named /woocommerce keeping the same file structure but removing the /templates/ subdirectory.Įxample: To override the admin order notification, copy: wp-content/plugins/woocommerce/templates/emails/admin-new-order.php to wp-content/themes/yourtheme/woocommerce/emails/admin-new-order.php Template structure & Overriding templates via a themeĮdit files in an upgrade-safe way using overrides. All Products for WooCommerce SubscriptionsĬonditional Payment Methods For WooCommerceĮlementor Connector for WooCommerce Bookings ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |