Just remove braces from checkbox.php file row number 3 File location : \wp-content\plugins\woocommerce-product-addons\templates\addons\checkbox.php
Author Archives: Alex
// 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 !!!!!
Problem: when we create order via POS register, system changes order tatus from on-hold to processing instead completed . None of functions or plugins like Woocommerce Order Status Management are not helping. Order status is staying processing. Solution: Code changes in original class-wc-gateway-cod.php file were provided. Statys on-hold was changed to completed Path to : […]