Our site www.viart.com site is operated by latest Viart Shop 5 with default Clear design
Topic Information
DickS
DickS
When I change quantity control to list box, the default option is 1 to 10.
 
However, we have license packs starting at 5 licenses. Where do I change the quantity control to limit to 4 instead of 10?
 
DickS
 
SajMalik
SajMalik
Hello DickS
 
To change the limit open 'shopping_cart.php' in the /includes folder, find the function "set_quantity_control"...
and change this parameter: "$max_quantity = 4;".
 
Best wishes Chris
 
DickS
DickS
Thanks Chris!
 
DickS
DickS
I set "$max_quantity = 3;" and when I am on the basket page I still see quantity 0 till 11 in the listbox Crying
 
Any ideas?
 
SajMalik
SajMalik
Afraid not - it worked for me.
Do you get the right numbers on the product details page?
 
fh (Guest)
fh (Guest)
The problem is that this change only affects the dropdown list on the product page and not the shopping cart itself. A customer can only add the maximum set number to the cart at one time. From the cart itself he can, however, add more. And if he returns to the product page he can again add as many as he wants to the order. This is surely not the desired function.
 
DickS
DickS
I agree.
 
Viart Support: Can you issue a fix for this? Perhaps add an option in the "Product Settings" to control the quantity shown in the list box?
 
Natalia
Natalia
Hello,
 
Let's start from the beginning.
First, you go to Admin > Product > Products Settings and choose 'List box' for 'Products Quantity Control' and ' Basket Quantity Control'
 
When you did this, please go to Admin > Products > Products & Categories > your product > 'Edit'
Put the quantity of products you have in your stock in the ' Quantity In Stock' field. Tick off the 'Use Stock Level ' check box and 'Hide off when the Product is Out of Stock' check box. Press update to save your changes.
Ticking off the 'Hide off when the Product is Out of Stock' check box will visualize only that quantity of products you have put in the ' Quantity In Stock' field. So , it is essential to tick off this check box if you want to show a limited number of products on the products and basket pages.
 
With regards,
ViArt Support Team
 
 
fh (Guest)
fh (Guest)
Hello Natalia,
 
Sorry, but this is not the same issue. Your solution only limits the total quantity available, not the quantity that an individual customer can add to his basket.
 
DickS
DickS
@fh: Correct.
 
@Viart: Any other solutions?
 
SajMalik
SajMalik
Did you resolve this DickS ?
 
fh (Guest)
fh (Guest)
Any developments on this at all?
 
DickS
DickS
No, as the solution proposed does not apply to the quantity that an individual customer can add to his basket.
 
Maybe Viart can issue a fix? I don't know how else to resolve it.
 
arkid
arkid
Just to add my support, I too have come up upon exactly the same issue! Wall Bash