View Full Version : Formating of Maximum Quantity Text
simsil
29-Sep-2004, 05:28 PM
Has anyone managed to change the format of the Maximum Quantity message which appears on the shopping cart, when the quantity allowed for a product is exceeded ?
Any help much appreciated.
Regards
Simon Silver
Artisan
29-Sep-2004, 09:05 PM
The text "The quantity must be a whole number between..." can be changed in Design menu | Text | Web Site tab | Misc - if you can't find it, search for the word "whole". Don't change the last bit "... %d and %d."
Malcolm
jxm28788
19-Jun-2007, 01:28 PM
I have tried to change this text but the %d is being a pain. The way I have reworded it is with only a maximum (it doesn't make sense to have a minimum as well in the context I have used it).
The problem is that if I take the first %d out so there is only one %d in the string it is the minumum variable that is displayed.
eg. if the minumum is 1 and the max is 10 then the original string is like this - must be between %d and %d = must be between 1 and 10
but my string is like this - maximum of %d = maximum of 1
Is there anyway to get just the maximum displayed...?
Bruce
21-Jun-2007, 04:23 PM
Dave,
Stick commenting out tags around the first %d but dont delete it. You string should read..
maximum of <!--%d-->%d
Kind regards,
jxm28788
22-Jun-2007, 04:40 PM
yup, that worked great!
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.