Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
noxin911 opened this issue Apr 12, 2013 · 3 comments

Comments

@noxin911
Copy link

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

kabel added a commit to kabel/magento2 that referenced this issue Sep 9, 2013
This closes magento#279 for Magento 1.7.
However, this functionality does not appear to be ported over to Magento 2. That is, it is not found in price-option.js
@verklov
Copy link
Contributor

verklov commented Jan 2, 2014

@noxin911 , could you please verify if the issue is still reproduced on the latest version available on the GitHub? Our team tried to reproduce the issue, but could not achieve the same results that you did.

@verklov
Copy link
Contributor

verklov commented Apr 17, 2014

@noxin911, the team could not reproduce this issue in Magento 2. For Magento 1 issues, please report this in the Magento bug tracker http://www.magentocommerce.com/bug-tracking/report/. We are closing this issue.

@verklov verklov closed this as completed Apr 17, 2014
tang-yu pushed a commit that referenced this issue May 8, 2015
[FearlessKiwis] Support for Different Product Types in Catalog Product Data Object
@kadniki
Copy link

kadniki commented Sep 7, 2015

I don't know whether it's perfect solution or not, but you saved lot of my trouble.
Your solutions did work for me like a dream.

I believe, It's just value printing and nothing else. So reversing loop to get correct output is the right method.

Thanks a ton anyways.
You rock.

okorshenko pushed a commit that referenced this issue Jan 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants