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

Move cache to instance of price box widget #6794

Conversation

JamesonNetworks
Copy link

@JamesonNetworks JamesonNetworks commented Sep 28, 2016

When caches are shared on the class of the price box widget, there can
be a case where price boxes are displayed on the page which do not share
the same values that should be stored in that cache. For instance,
upsells and related products can have price boxes in them, and they will
overwrite the cache of the price box on the product page. This change
moves the cache off of the class itself and onto the instance so
instances of price box widgets don't interfere with one another.

@magento-cicd2
Copy link
Contributor

magento-cicd2 commented Sep 28, 2016

CLA assistant check
All committers have signed the CLA.

When caches are shared on the class of the price box widget, there can
be a case where price boxes are displayed on the page which do not share
the same values that should be stored in that cache. For instance,
upsells and related products can have price boxes in them, and they will
overwrite the cache of the price box on the product page. This change
moves the cache off of the class itself and onto the instance so
instances of price box widgets don't interfere with one another.
@JamesonNetworks
Copy link
Author

Closed and reopened to trigger new CI build

@vrann
Copy link
Contributor

vrann commented Mar 21, 2017

@JamesonNetworks successfully merged, thank you for the contribution!

magento-engcom-team pushed a commit that referenced this pull request Apr 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants