Basket.Package() Function - What does it do?

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
michael.p.larsen
Lieutenant (LT)
Lieutenant (LT)
Posts: 70
Joined: Fri Jan 15, 2010 8:17 am

Basket.Package() Function - What does it do?

Post by michael.p.larsen » Thu May 06, 2010 8:47 am

I'm trying to add in some custom shipping logic and am having trouble figuring out exactly what the Package() method does, and WHEN i need to call it. :?
I'm adding this functionality to the Cart page.

Anyone have any idea? :?: :?:

User avatar
s_ismail
Commander (CMDR)
Commander (CMDR)
Posts: 162
Joined: Mon Nov 09, 2009 12:20 am
Contact:

Re: Basket.Package() Function - What does it do?

Post by s_ismail » Thu May 06, 2010 9:06 am

I think it arranges the current basket items in packages before shipments to checkout.

michael.p.larsen
Lieutenant (LT)
Lieutenant (LT)
Posts: 70
Joined: Fri Jan 15, 2010 8:17 am

Re: Basket.Package() Function - What does it do?

Post by michael.p.larsen » Thu May 06, 2010 9:07 am

Whats the difference between a package and a shipment?

User avatar
s_ismail
Commander (CMDR)
Commander (CMDR)
Posts: 162
Joined: Mon Nov 09, 2009 12:20 am
Contact:

Re: Basket.Package() Function - What does it do?

Post by s_ismail » Thu May 06, 2010 10:14 am

Shipment is a process to transporting shippable items from one place to another while package is a quantity of items(goods) are shipped together.

User avatar
sohaib
Developer
Developer
Posts: 1079
Joined: Fri Jan 23, 2004 1:38 am

Re: Basket.Package() Function - What does it do?

Post by sohaib » Thu May 06, 2010 11:45 am

Well there is no such thing as 'Package' in AbleCommerce except the name of the function Basket.Package.
The purpose of this function is to organize the basket items into default shipments in preparation for checkout.

The system only understands 'shipments'. There is no such thing as 'package'.

Post Reply