Announcement

Collapse
No announcement yet.

Cart quantitys

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Cart quantitys

    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.

    #2
    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).

    Code:
    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
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment

    Working...
    X