Skip to content

Configurable Product: Custom Options make a discount percent of Tier Price error #279

Closed
@noxin911

Description

@noxin911

Untitled
Dear Devs,

like you can read here there is a bug for simple products maybe fixed right now:
http:/www.magentocommerce.com/boards/viewthread/284007/

But if I set a tier price for the product when I add a "configurable product" and then I added size option in the “Custom Options” in the product edit page the front page show me the wrong discount percent.

The frontend page show all tier price just like “Buy 5 for $16.99 each and save 100% “. The discount percent of all tier price shows “100%”

I'm using magento 1.7.0.2.

Change in file /js/varien/product.js Line 748:
Replace

for (var i = 0; i < this.tierPrices.length; i++) {

with

for (var i = 0; i > this.tierPrices.length; i++) {

fixed the error on the frontpage BUT i'm sure that this is not a GOOD solution. Hopefully some one can fix this error in a right way.

Best

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions