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.
Because of adding two new plugins WooCommerce Wholesale Prices and WooCommerce Wholesale Prices PremiumWholesale Buyer role is changed to Wholesale Customer and wholesale_buyer key is changed to wholesale_customer So changes were made in file hm-product-sales-report.php Path to file : \plugins\hm-product-sales-report-pro\hm-product-sales-report.php SQL text was changed in last condition %wholesale_buyer% to %wholesale_customer% line:533 $sQL = “SELECT posts.ID […]
When you go to theme options and you get an error regarding ancestors, insert the below to .htaccess Header set Content-Security-Policy: “frame-ancestors ‘self’”
When trying to config Flatsome 3 theme option , visual part is showing security issue message and html page not loading into visual builder. To fix this issue : You need to add the following line to .htaccess file in order to bypass security restriction: Header set Content-Security-Policy: “frame-ancestors ‘self’”
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’ ); }
Changes has to be made EVERY TIME When woocommerce plugin or Woocommerce point of sale plugin is updated !!! In order to customize Woocommerce Point of Sale plugin those changes have to be made. 1. Folder Views must be added to: wp-content/plugins/woocommerce-point-of-sale/includes/reports Files in this folder: sales-table.php(shows report results),pie-chart.php(chart is showing data in graph),main-chart.php(shows charts […]
In order to change all coupon messages to Rep Number changes in class-wc-coupon.php file were made. Path to file : \wp-content\plugins\woocommerce\includes\class-wc-coupon.php It needs to be done EVERY TIME when woocommerce plugin was updated !!!!!
- 1
- 2