WooCommerce products are stored as custom post types. Each product will have 1 row in the wp_posts
table. and the post type will be “product.”
Month: June 2021
How to Bulk Refund Orders in WooCommerce Programmatically
While running your WooCommerce store it might become necessary to refund a large number of customer orders.
Refunding an order is possible via the WordPress dashboard, but if the number of orders is more than 100 you might want to do this programmatically using a script and WP CLI.
WooCommerce: Stop Adding Pixel Tracking Code to Thank You Page
A common task for ecommerce sites is needing to add a tracking pixel to the Order Completed, or Thank You page of WooCommerce. This pixel will help report data to an external service like Facebook Ads, Google Ads, Pinterest, or a CRM.
WooCommerce Subscriptions: How to Bulk Update Next Payment Date
If you run a WooCommerce Subscriptions site for long enough you will experience a situation where you need to change the Next Payment date for subscriptions. Knowing how to bulk update the next payment date in WooCommerce Subscriptions is a vital tool for developers and shop managers.
In this article I’ll explain how to change the Next Payment date on one or thousands of subscriptions at one time in a few steps: