Results 1 to 6 of 6
  1. #1
    Join Date
    Jun 2008
    Posts
    627
    Plugin Contributions
    0

    Default Is this scenario possible?

    I would like to create one category that contains low priced items, but to purchase from this category a minimum of, maybe, $15.00 needs to be purchased from this category.

    Does anyone have ideas how this could be done?

    edit:

    this will not be the only category to exist. The remaining categories would be regular purchasing.
    Last edited by buildingblocks; 27 Apr 2010 at 04:10 PM.

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

    Default Re: Is this scenario possible?

    You could customize the function for the buttons so that if the amount is < 15.00 then the button is returned as:
    BUY MORE TO BUY THIS

    or something like that ...

    Check the function zen_get_buy_now_button to see where they are controlled ...
    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
    Jun 2008
    Posts
    627
    Plugin Contributions
    0

    Default Re: Is this scenario possible?

    Would that be includes/functions/functions_general.php

    this section?

    PHP Code:
    // Switch buy now button based on call for price sold out etc.
      
    function zen_get_buy_now_button($product_id$link$additional_link false) {
        global 
    $db
    What would be added and would it affect the purchase of items in other categories if the value were lower than 15.00?

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

    Default Re: Is this scenario possible?

    You can test the products_id and check for its master_categories_id and if the total in the cart is < 15 ... return back text or an image ...
    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
    Jun 2008
    Posts
    627
    Plugin Contributions
    0

    Default Re: Is this scenario possible?

    Thanks Ajeh but I'm not at a point where I can do this by constructing the code on my own. I can follow directions where a mod might include instructions to alter some code and what needs to be replaced and with what.

    I was hoping maybe there was a way to do this through admin with attributes or a combination of techniques.

    It would make a nice mod though.

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

    Default Re: Is this scenario possible?

    There is nothing built into the code for this but it could be customized to manage this type of thing ...

    Using the function zen_get_buy_now_button just saves a lot of time in having to code for this everywhere as it manages the add to cart/buy now ...
    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. v150 Newbie question: The best way to set up this scenario?
    By Grellk in forum Setting Up Categories, Products, Attributes
    Replies: 8
    Last Post: 4 Mar 2012, 04:27 PM
  2. COUPON...is this scenario possible??
    By twins225 in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 3
    Last Post: 28 Sep 2010, 08:22 PM
  3. Is this possible with this site
    By chosin78 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 5 Feb 2008, 08:06 PM
  4. Thoughts on this scenario please
    By Ryk in forum Setting Up Categories, Products, Attributes
    Replies: 7
    Last Post: 7 Mar 2007, 12:44 PM
  5. How to do this shipping scenario
    By sportscarmarket in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 2 Nov 2006, 01:09 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