Results 1 to 10 of 10
  1. #1
    Join Date
    Nov 2006
    Posts
    61
    Plugin Contributions
    0

    help question Prevent checkout if 'Predefined Situation' is not met: Is this possible?

    Hello,
    I will appreciate if someone could answer if the scenario below is possible with current ZC version; or if this needs a module (if yes, is this an existing module > please provide URL):

    CASE:
    Let's assume that:
    - one of my categories contains paper sheets (various colors/sizes, etc.)
    - the paper is sold in increments of 1 sheet
    - the quantities in stock for some items (papers) may be below 25 sheets
    - customer may select an assortment of papers but the minimum quantity to ship is 25 sheets

    QUESTION:
    Besides of placing a statement in the product info page about minimum order, is there any configuration that would prevent customer to checkout, if the total amount of defined category/item (in our case paper sheets) is less that predefined number (in our case: 25 sheets)?

    Thanks a lot,
    Best,

    0100000101011010

    ---------------------------------
    It's not magic, it's just math!

  2. #2
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Prevent checkout if 'Predefined Situation' is not met: Is this possible?

    Quote Originally Posted by 0101101011 View Post
    Hello,
    I will appreciate if someone could answer if the scenario below is possible with current ZC version; or if this needs a module (if yes, is this an existing module > please provide URL):

    CASE:
    Let's assume that:
    - one of my categories contains paper sheets (various colors/sizes, etc.)
    - the paper is sold in increments of 1 sheet
    - the quantities in stock for some items (papers) may be below 25 sheets
    - customer may select an assortment of papers but the minimum quantity to ship is 25 sheets

    QUESTION:
    Besides of placing a statement in the product info page about minimum order, is there any configuration that would prevent customer to checkout, if the total amount of defined category/item (in our case paper sheets) is less that predefined number (in our case: 25 sheets)?

    Thanks a lot,
    If I'm not mistaken, There are options for minimum/maximum quantities on the admin page where you enter your product(s).

  3. #3
    Join Date
    Nov 2006
    Posts
    61
    Plugin Contributions
    0

    Default Re: Prevent checkout if 'Predefined Situation' is not met: Is this possible?

    Hi - Yes, there is, but I think the case situation is slightly different.
    If I'm not mistaken, it is not just about min/max quantity on an item-level - here is why:

    Customer can buy assorted products - and let's say, for this discussion, the minimum to add to cart is set to 1.
    Let's call the category where the total minimum to ship is 25, CAT1; and other category CAT2.

    Customer adds 5 items of product A; 2 items of product B, and 15 items of product C; from CAT1 (total of 22; needed 25) and goes to checkout.

    Let say, that all CAT1 items have a "Minimum Order" Note, but the customer didn't pay much attention.
    So if there were a sort of checkup on the CATEGORY MINIMUM ORDER, customer would get a message, that s/he has 22 items from CAT1; and s/he needs to add 3 more in order to be able to ship.

    The question is: does ZC has such functionality or is there a module making it possible?
    Thanks,
    Best,

    0100000101011010

    ---------------------------------
    It's not magic, it's just math!

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

    Default Re: Prevent checkout if 'Predefined Situation' is not met: Is this possible?

    Do you only sell sheets?

    If so, there is an add-on for minimum order that could be adapted ...

    If not, is there an identifier on your sheets that distinquishes them from other products?

    If so, this could be used as a modifier to the minimum order add-on ...

    If not ... you would need some custom code to manage this for you ...
    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
    Nov 2006
    Posts
    61
    Plugin Contributions
    0

    Default Re: Prevent checkout if 'Predefined Situation' is not met: Is this possible?

    Ajeh, thanks for responding.
    No, not only sheets. Yes, they can have an identifier; in fact, the category or subcategory could be an identifier - I was looking in the download list for mods, and couldn't find functionality that would apply: do you have a particular mod in mind? Please send an URL. Thanks,
    Best,

    0100000101011010

    ---------------------------------
    It's not magic, it's just math!

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

    Default Re: Prevent checkout if 'Predefined Situation' is not met: Is this possible?

    I was thinking about the minimum order add-on but add to that a test based on the condition that identifies the products to ensure there are 25 of them if any appear in the cart ...

    It would take some customization ... but you more or less just need something to count if even 1 sheet appears in the cart (this being the trigger) to ensure that there are 25+ based on that same trigger ...
    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!

  7. #7
    Join Date
    Nov 2006
    Posts
    61
    Plugin Contributions
    0

    Default Re: Prevent checkout if 'Predefined Situation' is not met: Is this possible?

    Ajeh,
    I have checked the files in minimum order mod.
    I understand the theory of what you have suggested, but I'm not sure I will be able to actually turn it into the code.
    My php knowledge is little 'monkey-like:' Once I understand what it is all about, I can reproduce it, but I'm affraid, I wouldn't trust myself in writing a mod from scratch.
    Is it possible to get more help with it?
    Thanks,
    Best,

    0100000101011010

    ---------------------------------
    It's not magic, it's just math!

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

    Default Re: Prevent checkout if 'Predefined Situation' is not met: Is this possible?

    You might then wish to consider posting in the Commercial Help Wanted to have this code customized for you ...
    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!

  9. #9
    Join Date
    Nov 2006
    Posts
    61
    Plugin Contributions
    0

    Default Re: Prevent checkout if 'Predefined Situation' is not met: Is this possible?

    Allright - here is another question for you:
    Product Qty Min. = 4
    Product Qty Units = 2
    Product Qty = 11

    Customer buys min 4 + 6. In stock = 1

    What if the number in qty units is > than qty? I'm getting 'minimum qty error' - is there any setup in admin that would automatically allow to buy the 'left-overs?'
    Thanks,
    Last edited by 0101101011; 3 Aug 2007 at 08:34 AM. Reason: correction
    Best,

    0100000101011010

    ---------------------------------
    It's not magic, it's just math!

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

    Default Re: Prevent checkout if 'Predefined Situation' is not met: Is this possible?

    There is no feature built into Zen Cart to break out of the rules you have established with the Min/Max/Units just because you are low on stock ...

    You would need to customize the code to override these settings and allow this to happen ...
    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!

 

 

Similar Threads

  1. Replies: 1
    Last Post: 2 Mar 2016, 07:05 AM
  2. Predefined pack sizes and select individual seedlings to make up that pack. Possible?
    By DeeL in forum Setting Up Categories, Products, Attributes
    Replies: 10
    Last Post: 17 Mar 2013, 06:08 PM
  3. Best shipping module to use in this situation?
    By kbascombe in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 29 Jul 2009, 10:40 AM
  4. Best Shipping Option for This Situation
    By mkmcgrath23 in forum Built-in Shipping and Payment Modules
    Replies: 4
    Last Post: 16 Dec 2007, 04:04 AM

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