Results 1 to 5 of 5
  1. #1
    Join Date
    Aug 2009
    Posts
    26
    Plugin Contributions
    0

    Default Quantity Discount by catagory display problem

    Quantity discount module. I have quantity discounts set for only certain catagories. I used the "Quantity Discounts Marketing Example 2 Code" to display a table of discounts, but it shows on every product page. How can I set it to display only for the catagories which have the discount?

    www.r i c e s t u d i o s u p p l i e s . c o m

    Thanks, Scott

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

    Default Re: Quantity Discount by catagory display problem

    I am not familar with this, but I am guessing that you are either calling a module or something for that table to show or just displaying the table in the template ...

    You could surround that with an IF statement based on $current_category_id and only show it when on the right $current_category_id ...
    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
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,544
    Plugin Contributions
    127

    Default Re: Quantity Discount by catagory display problem

    If you post questions like this to the Quantity Discount support thread, I'll be more likely to see them.

    Ajeh's advice is sound; see the "notes" section under marketing text

    http://www.thatsoftwareguy.com/zenca...html#marketing

    for specific examples of how to do this depending on how you have conditioned your discounts.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  4. #4
    Join Date
    Aug 2009
    Posts
    26
    Plugin Contributions
    0

    Default Re: Quantity Discount by catagory display problem

    Sorry, I'm really new at this.

    I have included catagories rather than excluded them for Quantity Discounts. How would I modify

    if ( ($discount->check() > 0) &&
    (!$discount->exclude_category($current_category_id)) ) {

    to include catagory 2, 5, and 7?

    Thanks,

    Scott

  5. #5
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,544
    Plugin Contributions
    127

    Default Re: Quantity Discount by catagory display problem

    See your PM.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

 

 

Similar Threads

  1. Catagory quantity discount
    By tomharto in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 27 Nov 2009, 02:50 PM
  2. Quantity Discount Table Display Price.
    By lmax401 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 24 Sep 2008, 01:40 AM
  3. Quantity Discount Display
    By leew04 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 3 Mar 2008, 01:39 AM
  4. Quantity Discount Display Issue
    By quixotica in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 5
    Last Post: 21 Mar 2007, 05:35 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