Category Archives: WooCommerce

Hide coupon on cart page only – WooCommerce


To hide coupon on cart page for WooCommerce add the following code in the functions.php file:

Additionally, if you want to remove the coupon on the checkout page, add the following code in the functions.php file:


How to increase WooCommerce page speed – wc-ajax=get_refreshed_fragments

WooCommerce - Wordpress

The “wc-ajax=get_refreshed_fragments” is used by WooCommerce to update the cart when users go to a cached page. Since WooCommerce is a resource intensive plugin which may use lots of server resources to load all relevant styles and scripts, it make sense to dequeue all WooCommerce related stuff on the blog posts or home page. Basically, you […]

WooCommerce: Automatically Complete all Orders


By default, WooCommerce orders are saved as Processing. Only orders that contain “downloadable” products are automatically completed upon payment. In case you sell virtual products you may want to automatically complete all orders as they arrive, saving you a lot of time by not manually approve/complete orders. There are some plugins available you can use […]