Announcement

Collapse
No announcement yet.

Min Quantity based on customer group

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

    Min Quantity based on customer group

    Hello

    I have a shop with two groups: Retail and Reseller.

    I understand the process of discounts etc and I have implemented these correctly for volume ranges.

    What I want to do however is to have a minimum order value when Resellers log in.

    In other words, end users who come to the shop can buy in singles. But resellers have to say, order a minimum of 5 units, or even better a min order value or total number of units.

    Any help would be most appreciated.

    Jay

    #2
    Hi Jay,

    The minimum order value field works well for unregistered customers. But to implement the same for customer accounts we need to do a perl hack. I suggest you to go to "C:\Program Files\Actinic v7\Sites\Site1",take a backup of "ActinicOrder.pm".

    Search for the following code:
    #
    # Now see what is the current order value
    #
    Add the following code above the comment
    else
    {
    return ($::SUCCESS, "", "");
    }
    so it should look like:
    else
    {
    return ($::SUCCESS, "", "");
    }
    #
    # Now see what is the current order value
    #
    Save the template and update the site.
    Actinic is not able to provide any detailed support for script changes made. If you find that there is a problem, an original copy of the script can be found within the 'Original' folder in your installation. Copy this into your site folder.

    Comment


      #3
      Hello Sumiya

      I will try this and feedback.

      Many thanks

      Jay

      Comment

      Working...
      X