Jump to content

Quantity field limit


MarkL

Recommended Posts

If this is the wrong place to ask, please let me know.

I am setting up some info to test drive cubecart and I just noticed that order quantity is capped at 999.  Does this cart "assume" all purchasing units of measure are each ?

If so, can this easily be changed ?  We purchase items that are stocked in cartons after production, but these carton quantities vary and our customers do not order by carton, they order per thousands (mostly anyway).  This creates my problem.  All customers usually order in per 1000 quantities.

Can the order quantity be changed to accomodate upto say 9,999,999 ?

If not, then I'll have to search for other options.

Thanks,

Mark

Link to comment
Share on other sites

Some time ago, CubeCart programmers decided to code a limit so that PHP wouldn't fault (see: https://github.com/cubecart/v6/issues/2086).

Depending on the skin, there is also an HTML size limit placed on the Quantity text input:
<input type="text" name="quantity" value="1" maxlength="3" class="quantity required text-center">

Please see the code changes in the Github to determine what to undo:
https://github.com/cubecart/v6/commit/32d432378aac7a64b77842207a21253ab9e8b5a5

 

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...