We've developed a number of shopping carts on the Able 7.0 platform, and have had fantastic success. We're recently ran across a deal breaker for on of our carts. A client of ours will be selling large quantities (shipping CONTAINERS) full of copper parts and refrigeration supplies for import/export purposes.
Bottom line is the Item Quantity in Able 7.0 is using the SHORT INT which only allows 32,768. Our customer needs to sell item quantities of at least 7 digits. (millions of items).
Looking through the code, it appears changing Able's SHORT into LONG will require substantial work.
Anybody have any suggestions?
Thanks!
Bryan
Item Quantity Limit - SHORT Int is too short.
- bryancapitano
- Ensign (ENS)
- Posts: 13
- Joined: Sun Oct 05, 2008 9:33 am
- Location: Portland, Oregon
- Contact:
Re: Item Quantity Limit - SHORT Int is too short.
This would need a change in the source code. You are right there is no simple fix in your case.
-
- Ensign (ENS)
- Posts: 7
- Joined: Fri Dec 19, 2008 2:15 pm
Re: Item Quantity Limit - SHORT Int is too short.
Has anyone been able to work around this limitation?
We need to accept orders for quantities grater than 32768 ...................
We need to accept orders for quantities grater than 32768 ...................
Re: Item Quantity Limit - SHORT Int is too short.
As a workaround you should be able to customize the add-to-cart logic in the store and when you see a product being added in quantity more than 32,768 create more than one line items for that product in the basket.
Re: Item Quantity Limit - SHORT Int is too short.
I don't think so that it will work, actually basket combines same items automatically. So when ever you will try to add two different basket items for same product basket will combine them into one basket item. It only allows multiple basket items for same product if it has some custom product template attribute defined with it. Perhaps this workaround could be extended on this line.plugables wrote:As a workaround you should be able to customize the add-to-cart logic in the store and when you see a product being added in quantity more than 32,768 create more than one line items for that product in the basket.
Re: Item Quantity Limit - SHORT Int is too short.
I think one can have different value in LineMessage field for different basket items to make sure they are treated differently...mazhar wrote:I don't think so that it will work, actually basket combines same items automatically. So when ever you will try to add two different basket items for same product basket will combine them into one basket item. It only allows multiple basket items for same product if it has some custom product template attribute defined with it. Perhaps this workaround could be extended on this line.plugables wrote:As a workaround you should be able to customize the add-to-cart logic in the store and when you see a product being added in quantity more than 32,768 create more than one line items for that product in the basket.