Announcement

Collapse
No announcement yet.

Customer Accounts - Minimum Order Value

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

    Customer Accounts - Minimum Order Value

    Has anyone got a hack that provides a minimum order value for customer accounts only and not site wide as it appears that once I set a minimum order value even non registered customers have to order this amount.

    I have a site that sells retail and trade and only trade customers are registered allowing ordering for £250 or more. At present they can place an order for £5 and it will still allow the order and we have to contact them to increase the order.
    Fitness for life!www.fitness-focus.co.uk


    DIFN - Doing nothing is not an option

    The Supplement Warehouse - Bodybuilding & Fitness Supplements

    #2
    Hi,

    The following hack will set the 'minimum order value' field in 'Business Settings | Ordering' to be used for customer accounts only (so if you want to also have a minimum order value for non-registered customers then you won't be able to use this):

    - browse to your site folder and locate 'ActinicOrder.pm' (take a backup)
    - open the file in a text editor such as notepad
    - search for:

    Code:
    # Now see what is the current order value
    - you should see:

    Code:
    #
    # Now see what is the current order value
    #
    - add the following directly above this code:

    Code:
    else
    {
    return ($::SUCCESS, "", "");
    }
    - close and save the file
    - set a minimum order value
    - 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.
    ********************
    Tracey
    SellerDeck

    Comment

    Working...
    X