Results 1 to 5 of 5
  1. #1
    Join Date
    May 2009
    Posts
    186
    Plugin Contributions
    0

    Default "Qty Discounts Off Price" on Product page only displays one row of discounts

    "Qty Discounts Off Price" on Product page only displays one row of discounts. And says, "Discounts may vary based on options above."
    I want the "Qty Discounts Off Price" to show all rows.

    I have products with several attributes. Only one of the attributes have "Apply Discounts Used by Product Special/Sale" set to "yes".
    The name of this attribute is "Size." There are 20 sizes.
    Having used the Products Price Manager, the correct discount prices are properly used for calculations in the shopping cart.

    However, on the Product page, the "Qty Discounts Off Price" only displays one of the sizes for the customer to see.
    I want the "Qty Discounts Off Price" to show the discounts for all 20 of the sizes.

    Limitations: Because I frequently update attribute prices via MySQL code executed in phpMyAdmin, I can not use the attribute_qty_prices Field in the products_attribute Table which is accessed by "Admin > Catalog > Attribute Controller > Attributes Qty Price Discount", as that field is a complex and uniquely formatted text string and would therefore involve complex MySQL coding. I mention this because the "Option Quantity Discounts" display shown via the link "Quantity Discounts Available" might otherwise be involved in a solution, because when invoked, it would show all rows when that field is used.

    ZenCart v1.5.4
    Thank you for your kindness.

  2. #2
    Join Date
    Apr 2007
    Location
    Ontario, Canada
    Posts
    1,731
    Plugin Contributions
    27

    Default Re: "Qty Discounts Off Price" on Product page only displays one row of discounts

    You're template hiding the rest of it or it's not loading?

    Template is easy to see in browser - inspect code view.

    Not loading - you're bypassing the attributes controller in admin... using direct SQL statements... perhaps you DO need to add all of the necessary data in each of the fields it's looking for to... correct the missing data problem.

    Any reason you don't just code the SQL functions into the admin alongside the original attributes controls?
    Twitch.
    https://www.twitchtoo.com Do you work for free? Please donate.
    Twitch Base8 - Obsidian - This, is what's new.

  3. #3
    Join Date
    May 2009
    Posts
    186
    Plugin Contributions
    0

    Default Re: "Qty Discounts Off Price" on Product page only displays one row of discounts

    Quote Originally Posted by twitchtoo View Post
    You're template hiding the rest of it or it's not loading?

    Template is easy to see in browser - inspect code view.

    Not loading - you're bypassing the attributes controller in admin... using direct SQL statements... perhaps you DO need to add all of the necessary data in each of the fields it's looking for to... correct the missing data problem.

    Any reason you don't just code the SQL functions into the admin alongside the original attributes controls?

    Hi and thanks for your thoughts.
    No, there is no issue with the template and no issue with the data.
    "Qty Discounts Off Price" on Product page only displays one row of discounts is a NORMAL "Feature" of Zencart but is not ideal behavior.
    Just to confirm, I observed this behavior even with the standard default installation of the demo data store in Zencart version 1.5.4.

    Any other thoughts?

  4. #4
    Join Date
    Apr 2007
    Location
    Ontario, Canada
    Posts
    1,731
    Plugin Contributions
    27

    Default Re: "Qty Discounts Off Price" on Product page only displays one row of discounts

    Okay you want to display the chart for everything, not just one thing.

    It will need to be coded to get the data and display it dynamically.
    Twitch.
    https://www.twitchtoo.com Do you work for free? Please donate.
    Twitch Base8 - Obsidian - This, is what's new.

  5. #5
    Join Date
    May 2009
    Posts
    186
    Plugin Contributions
    0

    Default Re: "Qty Discounts Off Price" on Product page only displays one row of discounts

    Quote Originally Posted by twitchtoo View Post
    Okay you want to display the chart for everything, not just one thing.
    No, not "everything." Just 1 attribute. As mentioned in post #1, Only one of the attributes have "Apply Discounts Used by Product Special/Sale" set to "yes".

    Quote Originally Posted by twitchtoo View Post
    It will need to be coded to get the data and display it dynamically.
    Yeah, it will need to be coded since computers still need to be told what to do. ZenCart is already "dynamically" displaying the first row. It is a common need for store owners. Most people would want to show the discount for all sizes, not just the cheapest size.
    Perhaps someone who has already done this with ZenCart could make a suggestion.

    Thanks again!

 

 

Similar Threads

  1. Replies: 8
    Last Post: 26 Feb 2016, 11:58 PM
  2. Customise the "Qty Discounts Off Price" table on the product info page
    By buxton1 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 22 Jan 2010, 09:22 AM
  3. Display "Qty Discounts Off Price" table Product Listing intead of Detail
    By digulu in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 30 Dec 2009, 01:34 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR