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

Remove Order::CurrencyUpdater #635

Merged
merged 1 commit into from
Jan 6, 2016

Conversation

jhawthorn
Copy link
Contributor

I've split this off from #425, as I think the remainder of that PR (OrderUpdater change) scared people more than this portion.

This was intended to be used to update line items in an order to a new currency. Nowhere do we allow reassigning a currency to an existing order, or to line items, so this should not be needed.

This was intended to be used to update line items in an order to a new
currency. Nowhere do we allow reassigning a currency to an existing
order, or to line items, so this should not be needed.

I don't think we should support changing currencies at all. If this was
desirable behaviour for a store, they should implement it themselves as
there are many caveats.
@Senjai
Copy link
Contributor

Senjai commented Dec 30, 2015

👍

@cbrunsdon
Copy link
Contributor

I'm 👍 on this. For the future, if anyone is looking for this functionality, I highly suggest it be handled at the time the currency is being changed and not as a before_update.

@athal7
Copy link

athal7 commented Jan 6, 2016

👍

cbrunsdon added a commit that referenced this pull request Jan 6, 2016
@cbrunsdon cbrunsdon merged commit 844a1a5 into solidusio:master Jan 6, 2016
@jhawthorn jhawthorn deleted the remove_currency_updater branch January 6, 2016 23:36
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.

4 participants