Announcement

Collapse
No announcement yet.

order in multiples

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

    order in multiples

    Hi
    The KB gives a PM script solution to ordering in multiples that is perfect,
    http://community.sellerdeck.com/arch...p/t-45099.html

    But it is for an older version and is written in 2009.
    The pearl script in V11 Actinicorders.pm is different than the code referred to in the KB article. I think that this has to do with the newer Stock management.

    Does anybody know if there is an update to this article that will work in V11?

    Thanks
    Dave
    www.baypressservices.com

    #2
    Response from Sellerdeck support.

    Development has got back with a workaround –

    • edit ActinicOrder.pm in the site folder in a plain text editor (such as 'notepad')
    • and search for 'sub CheckProductQuantity'
    • scroll down and locate the following line

    return ($nResult, $nBadQuantity, $sMessage);

    before the above line insert the following

    elsif ($nQuantity % $$pProduct{"MIN_QUANTITY_ORDERABLE"} != 0)
    {
    $sMessage .= "The quantity should be a multiple of " . $$pProduct{"MIN_QUANTITY_ORDERABLE"} . "<P>\n";
    $nResult = $::FAILURE;
    $nBadQuantity = $nQuantity;
    }
    • save and exit
    Then go to the relevant product or products and change the 'Minimum Quantity' field to the multiple that the products are available in.
    • update the site
    www.baypressservices.com

    Comment

    Working...
    X