In order to customize e-mail template for Woocommerce E-mail customizer it is necessay to make chages in email templates that places in \wp-content\plugins\woocommerce-email-control\templates\emails\supreme\customer-invoice.php or similar templates in woocommerce-email-control plugin. And \wp-content\plugins\woocommerce-order-status-manager\templates\emails\customer-order-status-email.php for woocommerce-order-status-manager plugin.
Category Archives: Scripts and Tricks
Just remove braces from checkbox.php file row number 3 File location : \wp-content\plugins\woocommerce-product-addons\templates\addons\checkbox.php
// Custom widget areas. function top_page_custom_sidebar() { register_sidebar( array( ‘name’ => __( ‘Top Page Widget Area’ ), ‘id’ => ‘top-content-widget-area’, ‘description’ => __( ‘An optional custom top page widget area for your site’, ‘flatsome-child’ ), ‘before_widget’ => ‘ ‘, ‘after_widget’ => “ “, ‘before_title’ => ‘ ‘, ‘after_title’ => ‘ ‘, ) ); } add_action( […]
/* Add to the functions.php file of your theme */ add_filter( ‘woocommerce_order_button_text’, ‘woo_custom_order_button_text’ ); function woo_custom_order_button_text() { return __( ‘My Label here’, ‘woocommerce’ ); }
Link to instructions: https://docs.woocommerce.com/document/change-add-to-cart-button-text/ In function.php add filter: add_filter( ‘woocommerce_product_single_add_to_cart_text’, ‘woo_custom_cart_button_text’ ); // 2.1 + function woo_custom_cart_button_text() { return __( ‘My Button Text’, ‘woocommerce’ ); }