Results 1 to 10 of 10
  1. #1
    Join Date
    Jan 2007
    Location
    Louisburg, Kansas
    Posts
    29
    Plugin Contributions
    0

    Default Display Extended Price on Discount Table

    Can the discount table on the product information page be changed to display the extended price instead of the unit price?

    Instead of the table displaying 250 = $.416, it would be 250 = $104.00.

    Link to example: http://www.maxwelldirect.com/store/i...roducts_id=464

    Please advise.

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

    Default Re: Display Extended Price on Discount Table

    You would need to customize the code to extend the price ... currently it is setup for Unit Price as usually the extended price is a price range ...
    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
    Sep 2006
    Location
    Colorado Springs CO USA
    Posts
    516
    Plugin Contributions
    2

    Default Re: Display Extended Price on Discount Table

    Quote Originally Posted by lmax401 View Post
    Can the discount table on the product information page be changed to display the extended price instead of the unit price?

    Instead of the table displaying 250 = $.416, it would be 250 = $104.00.

    Link to example: http://www.maxwelldirect.com/store/i...roducts_id=464

    Please advise.
    Probably not without recoding.

    The display is for a "range" of quantities with the displayed quantity being the minimum for that range.

    i.e. if you have price breaks at 100, 250, 500 etc. then the display for 100 means the unit price for any quantity between 100 and 249, and 250 shows the unit price for any quantity between 250 and 499.
    www.aspenshopsonline.com - ZenCart 1.3.9h
    www.wilkssupply.com - ZenCart 1.3.9h
    www.un-du.net - ZenCart 1.3.8a

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

    Default Re: Display Extended Price on Discount Table

    NOTE:: If I want 327 ... now I have to divide the extended price by the 250 then multiply it by the 327 to know what the charge will be ...
    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
    Jan 2007
    Location
    Louisburg, Kansas
    Posts
    29
    Plugin Contributions
    0

    Default Re: Display Extended Price on Discount Table

    Ajeh
    The products are priced in lots of 250, 500, and 1000.
    If a customer orders 327, the extended price is displayed after they press Add To Cart and proceed to the shopping cart.
    A comment in red type was added under the discount table on the product info page to inform the customer how to view the extended price. This just seems like a clumsy approach.
    Have tried pricing using attributes but, could not get the total price to come out right when the additional charges for added features were added.

    Would this be a major recoding to get the discount table to display the extended price?

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

    Default Re: Display Extended Price on Discount Table

    Currently, in the tpl_modules_products_quantity_discounts.php you have the code:
    Code:
    <td align="center"><?php echo $quantityDiscount['show_qty'] . '<br />' . $currencies->display_price($quantityDiscount['discounted_price'], zen_get_tax_rate($products_tax_class_id)); ?></td>
    You can extend that out to multiply the:
    $quantityDiscount['discounted_price'] * $quantityDiscount['show_qty']
    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
    Jan 2007
    Location
    Louisburg, Kansas
    Posts
    29
    Plugin Contributions
    0

    Default Re: Display Extended Price on Discount Table

    Ajeh
    This is great!
    The extended price is now showing for the first two discount columns but, not the third.

    http://www.maxwelldirect.com/store/i...roducts_id=461

    Please advise and thanks for the help.

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

    Default Re: Display Extended Price on Discount Table

    Try this ... the comma is in there and goobering the quantity to 1 ...
    Code:
    <td align="center"><?php echo $quantityDiscount['show_qty'] . '<br />' . $currencies->display_price($quantityDiscount['discounted_price'] * preg_replace("/[,]/", "", $quantityDiscount['show_qty']), zen_get_tax_rate($products_tax_class_id)); ?></td>
    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
    Jan 2007
    Location
    Louisburg, Kansas
    Posts
    29
    Plugin Contributions
    0

    Default Re: Display Extended Price on Discount Table

    Perfection!

    Thank You!

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

    Default Re: Display Extended Price on Discount Table

    Thanks for the update that this worked 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!

 

 

Similar Threads

  1. Attribute Quantity discount table display on product page
    By eric47905 in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 20 Nov 2013, 06:13 AM
  2. v150 On Product Display Page add text before Price when using Qty Discount & change Price
    By rufusclc in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 4 Jun 2013, 08:04 PM
  3. Discount Display Table Issue
    By bfteagle in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 4
    Last Post: 28 May 2011, 01:39 AM
  4. Change the display order of qty discount table?
    By ivndrs in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 16 Feb 2010, 11:36 PM
  5. Quantity Discount Table Display Price.
    By lmax401 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 24 Sep 2008, 01:40 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