| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Split shipments per category/class instead of per item | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Split shipments per category/class instead of per item
We are looking to offer items that would require separate shipping from most items but if you were to purchase more than one item from that category, we wouldn't want it to make it a new shipment each time.
Example: If someone orders 3 t-shirts and 2 posters. All t-shirts will ship together and all posters will ship together - however they can't all ship in one shipment due to different packaging. Is there a way to make it possible so all items in one category or user class ship separately instead of making each item in that category ship separately (which causes multiple shipping cost additions per purchase)? That way when someone buys 3 shirts and 2 posters they are only charged for two shipments instead of 3 (1 for shirts, 1 for each poster)? |
|||||||
#2
|
|||||||||
|
|||||||||
Re: Split shipments per category/class instead of per item
\XLite\Core\Package::generatePackages() is the method that split the order into multiple packages.
However, you are likely should customize the \XLite\Core\Package::getSeparatePackages() method that determines which of the ordered items should be shipped in separate packages.
__________________
Alex Solovev, Qualiteam --- User manual Video tutorials X-Cart FAQ You are welcome to press "Thanks" button if you find this post useful Click here to learn how to apply patches X-Cart Extensions |
|||||||||
|
|||
X-Cart forums © 2001-2020
|