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

Refactor Option ResourceModel to allow price supporting types to be intercepted #6443

Merged
merged 1 commit into from
Apr 13, 2017

Conversation

navarr
Copy link
Member

@navarr navarr commented Sep 1, 2016

This commit allows the price and price_type functionality to be expanded by third party modules with no real change in the logic utilized.

This is one of many options - but I feel like it's the one that requires the least thought. Utilizing this methodology anyone can write an interceptor to obtain this functionality for a third-party custom option.

Additional options, such as through XML or other means exist but require more thought and change the underlying behavior - while simply pulling these out into their own function does not.

This PR is intended to be the smallest possible change that improves the extensibility of core. As it is not an [@]API class it can be removed, changed, etc in the future without "bc breaks".

…ntercepted

This commit allows the price and price_type functionality to be expanded by third party modules with no real change in the logic utilized.
@okorshenko okorshenko self-assigned this Apr 12, 2017
@okorshenko okorshenko added this to the April 2017 milestone Apr 12, 2017
@magento-team magento-team merged commit 384bcc3 into magento:develop Apr 13, 2017
magento-team pushed a commit that referenced this pull request Apr 13, 2017
@magento-team
Copy link
Contributor

@navarr Thank you for the contribution

@navarr navarr deleted the patch-6 branch April 13, 2017 12:32
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.

4 participants