Skip to content

PHP Function with two input fields for Order IDs and a button to combine those orders in Woocommerce Admin Order List Page

Notifications You must be signed in to change notification settings

MrEbabi/Woocommerce-Combine-Orders

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Woocommerce-Combine-Orders

  • PHP Function with two input fields for Order IDs and a button to combine those orders in Woocommerce Admin Order List Page.
  • Please check the example.png to see how it works step by step. (Open image in a new tab to see properly)
  • Code goes to functions.php of your theme or child theme.

To-Do:

  • Current code adds a product A from Order X to Order Y as an individual. When Order Y has product A too, only the quantity of it should change, but code adds another product A separately for now.
  • Add another button to combine selected user's processing orders.
  • Add extra charges (like Shipping) to combined order as income.
  • Finish as plugin.
  • nonce check for form submitting.

About

PHP Function with two input fields for Order IDs and a button to combine those orders in Woocommerce Admin Order List Page

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages