ISPE E-Mail Customizer Tricks

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.

Woocommerce Product sales report Pro changes

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 […]

Flatsome 3 Theme option visual issue

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’”

Create Custom Widget Area

// 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( […]

Woocommerce point of sale (POS) report system updates and customization

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 […]