Results 1 to 7 of 7
  1. #1
    Join Date
    Oct 2006
    Posts
    109
    Plugin Contributions
    0

    Default Minimum order total in one category only?

    Another questions for you wonderful folks --
    Is it possible to make a minimum order, just within a certain category?

    If I have four categories, and four three of the categories, there are no restrictions. But for the fourth category, I'd like to set up a $10 purchase minimum in order for checkout to be successful.

    Is this doable?

    LW

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Minimum order total in one category only?

    A limitation for checkout can be done for anything ...

    However, keep in mind how aggrevating it is to go into the store and pull out your Visa and have them say ... "sorry, we have a limit" ...

    And while all will say you are not allowed to limit Visa purchases ... I can name a dozen stores within 10 miles of me who do and not even break a sweat ...

    Limitations are controlled in the shopping cart and/or at the checkout pages ...

    This can be done with a function that does any kind of validation you want that results in a true or false. a message and a redirect of what to do when you are below the limitation ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Oct 2006
    Posts
    109
    Plugin Contributions
    0

    Default Re: Minimum order total in one category only?

    Thank you Ajeh
    (sorry for the delay on responding - my power has been out!)

    Can you point me in the direction of where I can found how how this type of function that you mention below is done?

    < Limitations are controlled in the shopping cart and/or at the checkout pages ...

    This can be done with a function that does any kind of validation you want that results in a true or false. a message and a redirect of what to do when you are below the limitation ...>

    ~LW

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Minimum order total in one category only?

    This is one example of a block on the:
    /includes/modules/pages/checkout_shipping/header_php.php

    PHP Code:
    // if there is nothing in the customers cart, redirect them to the shopping cart page
      
    if ($_SESSION['cart']->count_contents() <= 0) {
        
    zen_redirect(zen_href_link(FILENAME_TIME_OUT));
      } 
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  5. #5
    Join Date
    Oct 2006
    Posts
    109
    Plugin Contributions
    0

    Default Re: Minimum order total in one category only?

    Thanks, Ajeh - I'll take a look --

    LW

  6. #6
    Join Date
    Oct 2005
    Posts
    6
    Plugin Contributions
    0

    Default Re: Minimum order total in one category only?

    lyricwings,

    How did you get on with this mod?

    Did you manage to get a min order per category?

    Are you able to post your code? I am after the same thing but PHP skill are limited.

    Thanks

  7. #7
    Join Date
    Oct 2006
    Posts
    109
    Plugin Contributions
    0

    Default Re: Minimum order total in one category only?

    Acater -

    I ended up not choosing to have a minimum order for the category, so I never looked into Ajeh's suggestion. What I did instead was offer free shipping over a certain dollar amount in the one category, and at present I am using that as the incentive for customers to increase their purchase.

    You might want to look at this thread:
    http://www.zen-cart.com/forum/showthread.php?t=35085

    There is a download for a mod there, that you might be interested in.

    ~LW

 

 

Similar Threads

  1. v150 Minimum order total
    By SweetEmotions in forum Basic Configuration
    Replies: 9
    Last Post: 14 Jul 2012, 11:35 PM
  2. Set total order minimum level to 2 regardless of category and product type
    By jcyprac in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 13 Apr 2011, 02:01 PM
  3. Allow order only product from one category
    By Jeff G in forum General Questions
    Replies: 1
    Last Post: 27 Aug 2008, 05:44 AM
  4. Minimum purchase in only one category?
    By mtdewman in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 21 May 2008, 04:25 PM
  5. Is there a minimum order total?
    By baronsamedi in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 3 Apr 2008, 06:07 PM

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