Results 1 to 6 of 6
  1. #1
    Join Date
    Mar 2008
    Location
    Pickerington, OH
    Posts
    25
    Plugin Contributions
    0

    Default How to display discounted pricing table

    I'm trying to display a table of price discounts on my product detail pages, based on the information stored in the Products Price Manager. I've searched the forums, but haven't found anything that resembles what I'm trying to do.

    I was able to display a table of discounts with code from That Software Guy's Quantity Discount mod (marketing example 4), but I don't want to use that because it only displays the discount in the checkout page and not on a per-product basis in the cart. That code gets its info from the quantity discount mod.

    Any help or direction is greatly appreciated.

    I'm running zen-cart 1.3.8.

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

    Default Re: How to display discounted pricing table

    This Discount Prices should show on the Product Info page by default ...

    To see if this is your template causing the problem, switch to the Classic Template and see if the table of Discounted Prices set up in the Products Price Manager now shows 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!

  3. #3
    Join Date
    Mar 2008
    Location
    Pickerington, OH
    Posts
    25
    Plugin Contributions
    0

    Default Re: How to display discounted pricing table

    Thanks, I'll check it out.

  4. #4
    Join Date
    Mar 2008
    Location
    Pickerington, OH
    Posts
    25
    Plugin Contributions
    0

    Default Re: How to display discounted pricing table

    Sorry, I forgot to mention I also have the Zenmagick mod installed. Zenmagick takes over the product info page.

    For anyone interested, I had to manually add a table to my product info page:
    zenmagick/themes/TEMPLATE/contents/views/product_info.php

    I duplicated that page from the zenmagick default theme folder (to leave the original intact) and added the following code:

    <table>
    <tr>
    <td>
    <?php $zm_quantitypricediscount->getQuantityPriceDiscount($zm_product);?>
    </td>
    </tr>
    </table>

    As you can see, it calls a built-in Zenmagick function to display this info. I just needed to dig a bit to find it. With some nice CSS formatting this does the trick!

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

    Default Re: How to display discounted pricing table

    Thanks for the update on the reason why this was not showing and for posting your solution ...
    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!

  6. #6
    Join Date
    Feb 2006
    Location
    New Zealand
    Posts
    28
    Plugin Contributions
    2

    Default Re: How to display discounted pricing table

    Quote Originally Posted by invision View Post
    As you can see, it calls a built-in Zenmagick function to display this info. I just needed to dig a bit to find it. With some nice CSS formatting this does the trick!
    Hi there,

    Just to clarify, $zm_quantitypricediscount is not a build in function or object, but added to the template context by the ZenMagick plugin zm_quantitypricediscount.

    Cheers, mano

 

 

Similar Threads

  1. v139h Group pricing: how to show the discounted price directly in the product page?
    By ilmarchez in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 20 May 2015, 11:04 PM
  2. Mass Quantity sales with discounted pricing
    By chipdougal in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 5 Oct 2009, 07:59 PM
  3. How to Display Discounted Product Price
    By waytoolate in forum All Other Contributions/Addons
    Replies: 7
    Last Post: 8 Feb 2009, 11:40 PM
  4. how can i show a list (table) for pricing?
    By weber in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 24 Aug 2008, 05:14 AM
  5. Showing discounted pricing for attributes
    By more-solutions in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 22 Jul 2008, 11:00 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