Skip to content
This repository has been archived by the owner on Apr 26, 2022. It is now read-only.

Remove deprecated Variant#currency #11

Conversation

jordan-brough
Copy link

Cherry-picked from Solidus PR 1661. Merged in Solidus 2.1.

Pulling this in for the removal of the variant.currency= method. This doesn't really work because it changes the currency of the default_price record, but this means that the updated default_price object for the variant is no longer actually the default price because being the default price is dependent on having a currency that matches Spree::Config.currency so the in-memory default_price immediately becomes incorrect.

*Cherry-picked from Solidus PR 1661. Merged in Solidus 2.1.*
@jordan-brough jordan-brough merged commit 902540c into Lostmyname:lmn-1.4.0-v5 Mar 15, 2017
@jordan-brough jordan-brough deleted the remove-bad-currency-setter branch March 15, 2017 17:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
3 participants