View Full Version : Cart quantitys
charfar
10-Nov-2003, 02:51 PM
I wish for customers to be able to order more than one of an item as each will be customised with a name soo each will have a seperate line in my cart
I have set the page quantitys to 1 but in my cart there is still the option to change the quantity, how do I disable this.
NormanRouxel
10-Nov-2003, 05:39 PM
You'll have to edit a Perl script for this. Actinic doesn't suppoty patched scripts so take care and back the original up first.
Try this:
Edit ActinicOrder.pm in the Site1 folder (use a text editor - not Word - see www.editpadlite.com if you don't have one).
Look for the line
$sQuantityText = "<INPUT TYPE=TEXT SIZE=\"4\" NAME=\"Q_" . $nLineCount . "\" VALUE=\"". $sQuantityText . "\" STYLE=\"text-align: right;";
Change it to read
$sQuantityText = "<INPUT readonly TYPE=TEXT SIZE=\"4\" NAME=\"Q_" . $nLineCount . "\" VALUE=\"". $sQuantityText . "\" STYLE=\"text-align: right;";
Note that this will disable editing of the quantity in the cart on ALL your products.
Norman
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.