Split Order
Allows you to split an order into two by selected products and their quantity. Just open the order, enter quantity for desired products and click Split button. New order will be created and base order edited, keeping all possible data (products, coupons, vouchers etc).
Features
One-click action: just select products and click Split button. Process is technologically similar to editing order at the back-end. Keeps all products and their options from all selected orders, automatically handles product stock quantity. Recalculates everything automatically, notifies customer about split order, returns full report about every operation.
Compatibility: OpenCart 2.0+, 3.0+
Current version: 3.1.0
How it Works
Split Order is a pretty smart extension, which utilizes OpenCart API to split order in two. It takes all information from base order: customer info, shipping and payment methods etc. Selected products and their options are added to shopping cart and then all shipping, payment and total data recalculated accordingly for new order. Same goes to base order, its data recalculated as well. It works similar to standard order editing, but in silent mode. You just need to select orders and click Split button!
Screenshots
Demo
Click the button below, navigate to Sales -> Orders, select any order to edit, go to Products tab, enter quantity and click Split button at the top right.
Extension settings can be found in Extensions -> Modules section on backend of our demo site (username: demo, password: demo).
Backend Demo
Change Log
3.1.0
- OpenCart 3 Compatibility Fixes extension is not needed anymore. You may remove it.
3.0.0
- ADDED: OpenCart 3.0 support. See the documentation on how to install extension properly!
- Minor bug fixes and improvements.
2.6.0
- VQMod replaced with OCMod. Remove old VQMod after upgrade!
- License check added. Don't forget to enter your license ID in settings!
- Added a workaround for missing session API ID in OpenCart 2.3.
- Minor bug fixes and improvements.
2.5.0
- ADDED: First available payment or shipping method applied, when original and safe methods are not available.
- FIXED: Multiple compatibility issues with some of our extensions.
- Some language strings updated, some added.
- Minor bug fixes and improvements.
2.4.1
- FIXED: Stock is not properly updated for some orders.
- FIXED: Custom fields are not properly submitted.
- FIXED: Orders with zero ID can produce "Out of stock" message.
2.4.0
- OpenCart 1.5 support completely removed.
- Improved API requests. Should now work flawlessly on all OpenCart 2.0 versions.
- Extension now automatically adds any possible IP-address (local, remote, server) to avoid IP permission access errors.
- ADDED: Check Version option to turn version checking on/off.
- ADDED: Debug option to save additional information on every operation.
- FIXED: Guest orders can not be combined.
- FIXED: Language is not properly loaded on OpenCart 2.2 and higher.
- FIXED: Cart is not cleared before processing the next order.
- FIXED: Products restocked improperly, when errors returned in the process.
- FIXED: Customer's custom fields are not properly processed.
- FIXED: Safe shipping method is not properly applied.
- FIXED: Undefined SERVER_ADDR index issue on Windows servers.
- FIXED: Minor incompatibilities with OpenCart 2.3.
- Minor bug fixes and improvements.
2.3.0
- Extension now fully compatible with OpenCart 2.2
- ADDED: A workaround for some issues related to products stock quantity.
- ADDED: Add IPs option to automatically add all new IP-addresses to your current API (OC 2.1 and higher).
- FIXED: Compatibility issues with shipping and payment methods, which require currency in session.
- FIXED: Out of Stock error, when one or more products from base order are out of stock.
- Improved communication with OpenCart API: it is now faster and more stable.
- Improved logic and feedback for some actions.
- Minor bug fixes and improvements.
2.2.0
- ADDED: Clear Cart option to clear customer's cart after split.
- ADDED: Redirect To option to select, where you should be redirected after split.
- ADDED: Add IP button to add server IP, when corresponding API error is returned.
- FIXED: Current customer's group is not transferred to new order, default group always applied.
- Minor fixes and improvements.
2.1.2
- FIXED: Order ID not returned on API error.
- FIXED: "Undefined index order_id" error, when adding a new order.
2.1.1
- FIXED: Minor incompatibilities with OpenCart 2.1
- Minor improvements.
2.1.0
- Extension now fully compatible with OpenCart 2.0.
- Extension transformed into standalone module (OC 2.0 only). You need to setup and enable it before trying to split order!
- Completely reworked algorithm, which uses OpenCart API for every possible action (OC 2.0 only).
- ADDED: A lot of new options, available on OpenCart 2.0 only (see the documentation).
- ADDED: Order is now split not just by selected products, but by selected products quantity, which provides more flexible split.
- Rich feedback system, which informs you on every step of splitting process.
- Minor code optimization in OC 1.5 version.
2.0.5
- Minor improvements and bug fixes.
2.0.4
- Minor compatibility adjustments.
2.0.3
- FIXED: "getQuote() method not exists" error in some shipping models.
2.0.2
- FIXED: Split order currency now properly set and equals currency from original order.
2.0.1
- FIXED: Notification email doesn't respect order language.
2.0.0
- ADDED: Extra option in store settings to notify customer about split order.
- Minor bug fixes and code optimization.
1.0.0
Documentation
3.1.0
- OpenCart 3 Compatibility Fixes extension is not needed anymore. You may remove it.
3.0.0
- Added OpenCart 3 Compatibility.
2.3.0
- ADDED: You can now also deactivate extension, when certain payment or shipping methods are selected (as well as totals).
- ADDED: Hide Total option to hide birthday discount in another total.
- ADDED: Add Info option to add discount information to another total, if Hide Total is enabled.
- FIXED: Active totals are not properly checked on OpenCart 2.2 and higher.
- Slightly reworked interface.
- Minor improvements.
2.2.3
- FIXED: Discount is not applied to referrer, if Minimum Orders value is set.
2.2.2
- FIXED: Customer table is not properly populated with reference IDs.
2.2.1
- ADDED: Discount value on main Account page for referrer and referred customer.
- ADDED: Disable Version Check option in extension's settings.
- FIXED: Minor compatibility error with Multilingual Logo extension.
- FIXED: "Can't use method return value in write context" error on some Account pages.
- FIXED: "Undefined index: color" error, when list of sharing links is empty.
- FIXED: Wrong number in name of second sharing link.
- Minor improvements.
2.2.0
- OpenCart 1.5 support completely removed.
- ADDED: Sharing feature to share Reference ID right from the site, with custom title, message and sharing links.
- FIXED: Minor incompatibilities with OpenCart 2.3.
- Some language stings were changed, some added.
- Minor bug fixes and improvements.
2.1.0
- Extension now fully compatible with OpenCart 2.2
- Minor improvements.
2.0.5
- FIXED: Several compatibility issues on OpenCart 2.1.
2.0.4
2.0.3
- FIXED: Discount is not properly applied to referrer sometimes.
- FIXED: Customer's reference ID not unset on logout.
- FIXED: Use Reference ID section is displayed for guests, when it is set to be used by registered customers only.
- FIXED: Customer's own reference ID sometimes displayed in Use Reference ID section by default.
- FIXED: Multiple reference IDs check is not applied properly.
- Several improvements in logic.
- Minor bug fixes.
2.0.2
- FIXED: Customer's reference ID not added on autocomplete in order editing form.
- Minor bug fixes and improvements.
2.0.1
2.0.0
- Extension is now fully compatible with OpenCart 2.0.
- Apply Reference ID section moved to Shopping Cart page and now works similar to coupon.
- Reworked, much more stable reference checking and discount applying algorithm.
- ADDED: Reference ID now automatically generated for new customers and orders, created in back-end.
- ADDED: Multiple References option in extension settings to allow or disallow using multiple reference IDs.
- ADDED: Allow if Active option in extension settings to allow customers with active reference ID to apply other reference IDs.
- FIXED: Customer's Reference ID empties, when order saved in back-end has errors .
- FIXED: Referrer's discount value is never applied, referred customer's discount value used instead.
- Improved feedback with additional error messages.
- A lot of minor bug fixes and improvements.
1.0.0
opencart, orders