Quote Originally Posted by tsubasa2013 View Post
Dear Rod,
Thank you very much for your kindness in going through my post.
I am plannig to sell cheap pesn in private brand. For private brand it is
needed minimum lot of 155,000.
I still think you'll be better of selling these in 'lots' of (say) 50,000 per 'lot'.

You'll still be able to 'force' a minimum purchase by then setting the minimum qty to '3'
(OK, you'll be 5,00 short, but hopefully you get the idea)?

Quote Originally Posted by tsubasa2013 View Post
If I get some hint where zencart code that performs some kind of
validation/sanity check that is failing because the data appears to be 'unreasonable' like big values,
it will be really great help.
Firstly this is just an assumption. Such code may not even exist. You may even have triggered a bug or something else that is causing things to fail with the values you are using.

Secondly, even if the problem is caused by sanitation check It could take ages to trace the code to find where it is located. One of the development team may know if such code exists, and if so, where to find it, but even this is doubtful unless it just happens to be code they've worked on in recent times. In short, I'm not going to be of much more help to you, but one of the core developers *might* be able to help.

No need to open a separate thread or post another message asking though. Those folk are very good at what they do, and if one of them does have an answer I'm sure they'll see this thread and respond if they have any ideas.

Meanwhile I still urge you to reconsider what you are doing... Heck, even packaging the items in 35,000 lots is going to simplify things for both you and your customers. This way you can have your settings like:

Product Qty Minimum: 5
Product Qty Maximum:0
Product Qty Units: 1

Each 'quantity unit' being a 'lot' of 35000 (therefre the minimum purchase will be 5 x 35000 = 175,000 (only 20,000 more than previously), and they'll still be able to order in further increments of 35000 just by adding '1' item at a time. This is sure to be easier for all than having your customers enter numbers like '190,000' or '225,000', or some other number divisible by your 35000 increments.

Cheers
Rod