Jump to content
Sign in to follow this  
MarkL

Quantity field limit

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

Share this post


Link to post
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

 

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...