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
7 Jan 2008 4:05 PM
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
7 Jan 2008 9:16 PM
Thanks Chris!
DickS
8 Jan 2008 8:58 AM
I set "$max_quantity = 3;" and when I am on the basket page I still see quantity 0 till 11 in the listbox
Any ideas?
SajMalik
8 Jan 2008 4:01 PM
Afraid not - it worked for me.
Do you get the right numbers on the product details page?
fh (Guest)
10 Jan 2008 10:50 AM
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
10 Jan 2008 11:09 AM
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
10 Jan 2008 12:20 PM
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)
10 Jan 2008 4:02 PM
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
11 Jan 2008 1:19 PM
@fh: Correct.
@Viart: Any other solutions?
SajMalik
14 Jan 2008 2:24 PM
Did you resolve this DickS ?
fh (Guest)
18 Jan 2008 11:10 AM
Any developments on this at all?
DickS
18 Jan 2008 12:50 PM
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
3 Mar 2008 11:43 AM
Just to add my support, I too have come up upon exactly the same issue!