Results 1 to 6 of 6
  1. #1
    Join Date
    Aug 2009
    Location
    Bedford, England
    Posts
    966
    Plugin Contributions
    0

    Default Help with Minimum Order for Group Pricing Customers Only

    Hi guys,

    hoping someone can give me some pointers. I wish to offer trade prices using group pricing within zen cart to my customers, however I also wish to force a minimum order value for these customers too.

    I know the Minimum Orders mod contriution can do the minimu order bit however i dont believe you can currently specify it to only show to certain groups of customers.

    Can anyone give me some ideas how I could achieve this perhaps by modifying the Minimum Orders mod to have an IF statement based on the session?

    Any help appreciated.

    Thanks,

    Phil
    Phil Rogers
    A problem shared is a problem solved.

  2. #2
    Join Date
    Aug 2009
    Location
    Bedford, England
    Posts
    966
    Plugin Contributions
    0

    Default Re: Help with Minimum Order for Group Pricing Customers Only

    Anyone? Could really do with some guidance?

  3. #3
    Join Date
    Feb 2008
    Location
    Amersham, Buckinghamshire, United Kingdom
    Posts
    141
    Plugin Contributions
    1

    Default Re: Help with Minimum Order for Group Pricing Customers Only

    Hi Phil
    If you look in the minimum order class (/includes/classes/observers) there is the following line of code
    Code:
    if($_SESSION['cart']->show_total() < MIN_ORDER_AMOUNT) {
    I think if you put your check on the customer after that it should do the trick (note that the above line appears twice in the file, you need to add the check for each one).
    I'm not sure how you are distinguishing between your customers, but you could either use $_SESSION['customer_id'] and do a database call to find out from that. Or you could add some code to /includes/modules/pages/login/header_php.php (a core file so proceed with caution) to store the info in $_SESSION when the customer logs in.
    Hope this helps

  4. #4
    Join Date
    Feb 2013
    Posts
    14
    Plugin Contributions
    0

    Default Re: Help with Minimum Order for Group Pricing Customers Only

    Hi,

    I want set minimum price value, so that the customer cannot do shopping below that price. suppose I have set minimum order Rs 50 then the customer cannot do shopping below Rs 50.

    Please help me . Thanks in advance !!!

  5. #5
    Join Date
    Feb 2008
    Location
    Amersham, Buckinghamshire, United Kingdom
    Posts
    141
    Plugin Contributions
    1

    Default Re: Help with Minimum Order for Group Pricing Customers Only

    Quote Originally Posted by Amar619 View Post
    Hi,

    I want set minimum price value, so that the customer cannot do shopping below that price. suppose I have set minimum order Rs 50 then the customer cannot do shopping below Rs 50.

    Please help me . Thanks in advance !!!
    Hi Amar - try the Minimum Order plugin http://www.zen-cart.com/downloads.php?do=file&id=402

    Regards

  6. #6
    Join Date
    Sep 2011
    Posts
    135
    Plugin Contributions
    0

    Default Re: Help with Minimum Order for Group Pricing Customers Only

    How did you go with this Phillip?
    I also want to have minimum orders for group prices, so our wholesale customers have to spend over $200 but everyone else has a minimum of $15.

 

 

Similar Threads

  1. Minimum order for wholesale customers only.
    By pjb923 in forum All Other Contributions/Addons
    Replies: 59
    Last Post: 17 Jun 2018, 06:36 PM
  2. v151 Show payment for only specific group pricing customers
    By dionidis in forum Addon Payment Modules
    Replies: 1
    Last Post: 12 Dec 2012, 02:55 PM
  3. Disallowing Coupons for Group Pricing Customers?
    By dtakle in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 2
    Last Post: 9 May 2010, 09:22 PM
  4. Need free shipping for customers with group pricing
    By safetysupplies in forum Built-in Shipping and Payment Modules
    Replies: 4
    Last Post: 23 Mar 2010, 02:40 PM
  5. Free Standard Shipping only for Customers who DO NOT receive Group Discount Pricing?
    By lauriek in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 5
    Last Post: 28 Aug 2009, 02:19 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR