Our site www.viart.com site is operated by latest Viart Shop 5 with default Clear design
Topic Information
GingerSue
GingerSue
I think we might be overlooking a setting somewhere. Most of our items show 12 in stock, but the drop menu for the customer to select quantity desired only goes to 10. Is anyone familiar with this problem?
 
thanks :)
 
alkatraz
alkatraz
Interesting, same for me
 
SajMalik
SajMalik
It is hard coded - sadly I cannot remember which file.
I use a text box rather than a drop down - If you don't need to limit the quantity this is a better option?
 
Chris
 
arkid
arkid
Theres only 1 solution to this currently... to quote viart themselves....
 
 
 
To change the limit open 'shopping_cart.php' in the /includes folder, find the function "set_quantity_control"...
and change this parameter: "$max_quantity = x;"
 
Another option: At Products settings, you may change quantity controls to Textbox, and it will be possible for a customer to enter any quantity then.
 
ccberries
ccberries
this bug still also effects when you have a "stock & shipping values" of something like "Minimum Quantity" = 96, Maximum Quantity " = 400 and a "Quantity Increment" = 6.
 
It only gives you the first 10 selections in the product detail screen, they hardcoded it instead of putting in the logic to handle a larger options list. But in the shopping cart screen the values and coding are not the same so the pull down is larger( more of the qty options are available).
 
Changing the way the whole system works for one or two products is a bad solution. This is a coding error on viarts part.
 
a sample product that this would apply to: http://www.ccberries.com/party-single-box-berries.html?category_id=108
 
the product is for wedding/party chocolate covered strawberries in single boxes, (party favors), they have to be ordered in increments of 1/2 dozen (6) & as it stands now: I have to put a special notice on the product that they can change the qty to a higher number on the basket page. (sloppy)
 
It's obvious that the coding for this is inconsistant inside the viart pages. What really ticks me off is that Viart went in and changed the increment on my live system to "50" and said it works that way... (like the customer was going to increase the guest list by 50, they would put up with an increase of 6.. no way 50)
 
freezer
freezer
Its that long since I did this but I have both the product details and product list qty's showing 30 qty's in the pull down and also the basket.
 
In the same code >
 
Try
 
$increment_limit = 29;
 
The above would display up to 30 if the increment was 1
 
or 180 if the increment is 6
 
or
 
$increment_limit = 99;
 
The above would display up to 100 if the increment was 1
 
or 600 if the increment was 6
 
 
Like I said this was ages ago and I only have sribbled down records of what I did.
 
Dave
 
ccberries
ccberries
editing the file includes/shopping_cart.php
and changing the value of $increment_limit got around viarts limit.
Last modified: 24 Jul 2009 1:46 AM