Category "orders"

How to export WooCommerce order

I have one scenario , in which I only have a database dump. I have to write SQL query in PHPMyAdmin to get ALL the WooCommerce orders , and then EXPORT CSV from

Split a WooCommerce order and create a new order if the original order has products in backorder

I have the custom order status and it works. What I need help with here is looping through the order items and checking if any of them are on backorder and if

Woocommerce update admin order item price based on user meta

I'm trying to update item price for orders with users that have a custom field marked as "true". The item price needs to be updated to a custom field that is in

Display a product custom field only in WooCommerce Admin single orders

This question follows How to show a product custom field (custom SKU) in WooCommerce orders answer to my previous question. How do I make a product custom field

Order cancellation from customer interface in shopify

How can put an option to cancel an order from the customer interface or after the customer logins in his account in shopify? I'm not sure if this is possible, I

Add customer email and phone in "Order" column to admin orders list on Woocommerce

I am trying to find a way on how to add the customer phone and email below the name on the WooCommerce order view. See picture for reference where I need to ad

Applying programmatically a coupon to an Order in WooCommerce3

I'm developing a plugin that creates an order directly (no cart) and applies a coupon. In version 3.0 of the woo API the function add_coupon() has been deprecat

WooCommerce: Add/display Product or Variation custom field everywhere

Currently using WordPress 5.1.1 and WooCommerce 3.5.7. My WooCommerce store has around 500 products, made up of simple and variable products. Each product natu

Add custom field to product inventory tab and display value only on WooCommerce admin order edit page

I have this code added to functions.php and I would like the contents of my custom field to show on the orders page of WooCommerce backend. Specifically each pr

Show Custom Data in Woocommerce Order Details Admin Area

When a User Buys a Product he can generate up to 3 Serial Keys for his Product. This works fine so far. The User can see his Serials always in "my account" The