Top "Orders" questions

USE ONLY for related questions to e-commerce.

How to remove test orders from Magento2

Please explain me the proper way to remove the test orders in Magento2 website.I removed all records from 'sales_…

magento magento2 orders
Change order status just after payment in WooCommerce

I need to change automatically an order status for completed after receiving payment, but only if the order status is "…

php wordpress woocommerce payment-gateway orders
Get the metadata of an order item in woocommerce 3

how to get metadata of a product woocommerce? I have field custom en my products and I need to get …

php wordpress woocommerce metadata orders
Get coupon data from WooCommerce orders

I have created in WooCommerce two custom coupon types: function custom_discount_type( $discount_types ) { $discount_types['cash_back_fixed'] =__( …

php wordpress woocommerce orders coupon
Display Customer order comments (customer note) in Woocommerce

I have a little problem when I try to display woocommerce customer order comments (not the notes, but the comments …

php wordpress woocommerce message orders
Add custom field data to WooCommerce order

I have a custom field on my WooCommerce single product. It sends to the cart fine, it displays on checkout …

php wordpress woocommerce custom-fields orders
Get orders shipping items details in WooCommerce 3

How can I get the order shipping method id.? For example 'flate_rate'. Since WooCommerce 3 it is now complicated as …

php woocommerce orders shipping shipping-method
WooCommerce: Auto complete paid orders

Normally wooCommerce should autocomplete orders for virtual products. But it doesn't and this is a real problem, even a BUG …

php wordpress woocommerce payment-gateway orders
WooCommerce : Add custom Metabox to admin order page

I am currently successfully adding a field to my WooCommerce product pages which is showing the value: in the cart (…

php wordpress woocommerce custom-fields orders
Create an order programmatically with line items in Woocommerce

I needed to create a Woocommerce order programatically, however using the 'old' Woocommerce made this a very dirty procedure. I …

php wordpress woocommerce orders