Author name: [email protected]

Adding the discount percentage to single products page and sale page

One good way to increase your sales is announcing a discount/offer on products, In WooCommerce you can easily set that by mentioning two different prices while creating the product page.Set Regular price and sale price of product page in admin side. Replace all the codes in following files your active child theme (or theme)/woocommerce/loop/sale-flash.php and

How to use Widget as Shortcode in WordPress Page, Post

function widget($atts) { global $wp_widget_factory; extract(shortcode_atts(array( ‘widget_name’ => FALSE, ‘instance’ => ” ), $atts)); $widget_name = esc_html($widget_name); if (!is_a($wp_widget_factory->widgets[$widget_name], ‘WP_Widget’)): $wp_class = ‘WP_Widget_’.ucwords(strtolower($class)); if (!is_a($wp_widget_factory->widgets[$wp_class], ‘WP_Widget’)): return ”.sprintf(__(“%s: Widget class not found. Make sure this widget exists and the class name is correct”),”.$class.”).”; else: $class = $wp_class; endif; endif; ob_start(); the_widget($widget_name, $instance, array(‘widget_id’=>’arbitrary-instance-‘.$id, ‘before_widget’ =>

WooCommerce Setup Shipping Rates and Free Shipping for Specific Order Amount

In WooCommerce looking for setup Shipping charge like if Order amount less than specific amount than apply Shipping charge else Free Shipping ? For example: “For Orders amount up to $100, Shipping charge $5; for orders above $100, Free Shipping”. Like this possible without using any WooCommerce Shipping plugin? Well, the answer is yes! Follow

WooCommerce : Order Thank you page Customize

How to changed “Thank you. Your order has been received” title text on WooCommerce : Order Thank you page ? Change main default title text on Order thank you page very easy, you can achieve it by using woocommerce_thankyou_order_received_text WooCommerce filter in WordPress. On woocommerce_thankyou_order_received_text filter hook your function and return your specific customized text

Scroll to Top