Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Jul 2011
    Posts
    107
    Plugin Contributions
    0

    Default How to edit the quantity discount box on the product page?

    Hi there :)

    Hoping someone might be able to give me some direction on customizing the quantity discount box on my product page. Here's a link so you can see how it is currently set up: http://www.funwrappers.ca/index.php?...&products_id=1

    I'd like to change the following:

    "Qty Discounts New Price" to something a little simpler like 'Pricing"
    Remove the first coloum where it shows a quantity of 1 for $0.00
    Remove the bottom row where it says "*Discounts may vary....."

    I've looked everywhere but cannot seem to find where to make these changes

    Thanks

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: How to edit the quantity discount box on the product page?

    Use the Admin - Tools - Developers Tool Kit to search for parts of the text you want to change to find the files where they are defined.

  3. #3
    Join Date
    Jul 2011
    Posts
    107
    Plugin Contributions
    0

    Default Re: How to edit the quantity discount box on the product page?

    Thanks Stevesh, that worked like a charm! I've managed to change the text but how do I remove the first column so it doesnt show 1 - $0.00? The first column is 1 - $0.00 and the second column is 1-25 - $1.49. It doesnt make sense to have the first column there.

    Thanks

  4. #4
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: How to edit the quantity discount box on the product page?

    I'm just guessing, but it looks like you set up a discount level for a quantity of 1 in Admin - Catalog - Products Price Manager.

  5. #5
    Join Date
    Jul 2011
    Posts
    107
    Plugin Contributions
    0

    Default Re: How to edit the quantity discount box on the product page?

    Quote Originally Posted by stevesh View Post
    I'm just guessing, but it looks like you set up a discount level for a quantity of 1 in Admin - Catalog - Products Price Manager.
    I do have a price of $1.49 set for 1 and then the discount level 2 is a quantity of 26 with a discount value of $1.29. I'm lost as to why the additional column for 1 at $0.00 is showing. Here's a screen shot:

    Name:  discount quantity screen shot.jpg
Views: 173
Size:  46.0 KB

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

    Default Re: How to edit the quantity discount box on the product page?

    And if you set the Product Price to 1.49 and remove the Discount for the quantity 1, does it work 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!

  7. #7
    Join Date
    Jul 2011
    Posts
    107
    Plugin Contributions
    0

    Default Re: How to edit the quantity discount box on the product page?

    Quote Originally Posted by Ajeh View Post
    And if you set the Product Price to 1.49 and remove the Discount for the quantity 1, does it work now?
    YES!!! It fixed the problem BUT it has created another one for me I don't like the price showing in the description becuase then customers won't know to click into the product to see further discounted prices. By having the pricing shown in the product description only, then customers will know that they more they order the bigger discount they get. Is there any way to accomplish what I need without setting the product price and removing iscount quantity 1?

    Thanks :)

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

    Default Re: How to edit the quantity discount box on the product page?

    I am not sure if this will work for your site, but if you want to NOT set a Product Price and just use the Qty Discounts, you could use your templates and overrides for:
    /includes/templates/template_default/templates/tpl_modules_products_quantity_discounts.php

    and copy that, if not already dones, to:
    /includes/templates/template_default/your_templates_dir/tpl_modules_products_quantity_discounts.php

    and then add the code in RED:
    Code:
        <tr>
    <?php
    if ($show_qty != 1) {
    ?>
          <td align="center"><?php echo $show_qty . '<br />' . $currencies->display_price($show_price, zen_get_tax_rate($products_tax_class_id)); ?></td>
    <?php
    }
    ?>
    <?php
      foreach($quantityDiscounts as $key=>$quantityDiscount) {
    ?>
    <td align="center"><?php echo $quantityDiscount['show_qty'] . '<br />' . $currencies->display_price($quantityDiscount['discounted_price'], 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
    Jul 2011
    Posts
    107
    Plugin Contributions
    0

    Default Re: How to edit the quantity discount box on the product page?

    Quote Originally Posted by Ajeh View Post
    I am not sure if this will work for your site, but if you want to NOT set a Product Price and just use the Qty Discounts, you could use your templates and overrides for:
    /includes/templates/template_default/templates/tpl_modules_products_quantity_discounts.php

    and copy that, if not already dones, to:
    /includes/templates/template_default/your_templates_dir/tpl_modules_products_quantity_discounts.php

    and then add the code in RED:
    Code:
        <tr>
    <?php
    if ($show_qty != 1) {
    ?>
          <td align="center"><?php echo $show_qty . '<br />' . $currencies->display_price($show_price, zen_get_tax_rate($products_tax_class_id)); ?></td>
    <?php
    }
    ?>
    <?php
      foreach($quantityDiscounts as $key=>$quantityDiscount) {
    ?>
    <td align="center"><?php echo $quantityDiscount['show_qty'] . '<br />' . $currencies->display_price($quantityDiscount['discounted_price'], zen_get_tax_rate($products_tax_class_id)); ?></td>
    Will that end up removing the Product Price all together for all products? Only some of my products use quantity discounts and the ones that don't I use Product Price.

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

    Default Re: How to edit the quantity discount box on the product page?

    You are right that is a bad IF, try this one instead and see if it works to prevent the $0.00 from showing but allow the other settings to work right ...
    Code:
    if ($show_price != 0) {
    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!

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 6
    Last Post: 8 Nov 2014, 10:27 PM
  2. v139f Edit the look of the quantity discount table on product page?
    By amylynpace in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 13 Nov 2012, 07:31 PM
  3. Replies: 3
    Last Post: 26 Oct 2010, 03:57 PM
  4. How to edit the 'Contact Us' page in the 'Information' box...
    By RebelRapunzel in forum General Questions
    Replies: 2
    Last Post: 14 Sep 2006, 01:39 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