R
R
Roman Govorov2019-09-30 16:45:12
WooCommerce
Roman Govorov, 2019-09-30 16:45:12

How to change the list of products in an existing Woocommerce order?

An order comes from the user, then calls, says: "- Replace TEST_PRODUCT_1 with TEST_PRODUCT_2 ".
How to implement so that the manager, when processing the order, can perform such frauds?
5d92067f444d5772108466.jpeg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Y
yarovikov, 2019-09-30
@RGameShow

add_filter( 'wc_order_is_editable', '__return_true' );

5d9221ebc7233236709581.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question