Search the site:

Home / Blog / Code Snippets

Category: Code Snippets

How to add a new WooCommerce order status into Dashboard widget?

WooCommerce has a widget that shows up on the admin dashboard named “WooCommerce status”. By default, the widget shows orders that have a status of “Processing” or “On hold”. It doesn’t show any other order statuses like “Completed” or “Refunded”, etc. There is no setting provided in WooCommerce which would allow adding any other order […]

WooCommerce Shop Page Hooks: Visual Guide with Code Snippets

WooCommerce has lots of different hooks for their shop page, product pages, cart page & checkout page. These hooks help us to add our content in different places on these pages. We saw the different cart page hooks & checkout page hooks earlier. In this post, we will learn about different WooCommerce Shop page hooks […]

How to customize WooCommerce Order Emails

Customizing the WooCommerce email template is a good way to modify the emails based on your store’s design or personalize the transactional emails. WooCommerce provides this functionality with their various email templates. WooCommerce sends emails to the admin & customers at different stages in the order processing cycle. WooCommerce contains email templates for New Order, Completed […]

Subscribe Now