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

Fixed AfterPrice not working on configurables #42

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

kolaente
Copy link

@kolaente kolaente commented Mar 6, 2019

When a product does not have a base price but one of its child have, the html tag to show the base price was not created if the parent product didn't have a product amount configured. This resulted in the base price not showing at all for children because the js didn't have a container to add the base price into.

This pr adds an extra check to see if the product has at least one child which has a base price amount configured. If that's the case, it renders the html tag (which will be empty if no child is selected)

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

Successfully merging this pull request may close these issues.

1 participant