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

Problem with calculated (bundle) price display frontend. #2

Open
tr1cksnl opened this issue Apr 30, 2018 · 4 comments
Open

Problem with calculated (bundle) price display frontend. #2

tr1cksnl opened this issue Apr 30, 2018 · 4 comments

Comments

@tr1cksnl
Copy link

tr1cksnl commented Apr 30, 2018

When selecting an option the amount of the bundle product will be pushed to the front of the price instead of calculated, however if there 2 or more options, the amount of the secondary bundle option will be succesfull added/substracted.

Another issue is that if you set the option to Show decimal zeros to no, bundle/configurable product still show .00 at the end.

The created bundle products have a fixed price (if dynamically allocated it would work)

Its with Magento 1 latest.

Cheers!

@karliuka
Copy link
Owner

karliuka commented May 1, 2018

Hi,
Thank you,
I'll take a look

@tr1cksnl
Copy link
Author

tr1cksnl commented May 8, 2018

I'm joining now. Checking whats going on in bundle.js

@tr1cksnl
Copy link
Author

tr1cksnl commented May 8, 2018

It's a problem with the price being a string see.

console.log("123" + 100)
https://jsfiddle.net/mcvpjc6x/

@tr1cksnl
Copy link
Author

tr1cksnl commented May 15, 2018

With the extension enabled all prices are converted to strings inside bundle.js

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

2 participants