Skip to content

Remove Order::CurrencyUpdater#635

Merged
cbrunsdon merged 1 commit intosolidusio:masterfrom
jhawthorn:remove_currency_updater
Jan 6, 2016
Merged

Remove Order::CurrencyUpdater#635
cbrunsdon merged 1 commit intosolidusio:masterfrom
jhawthorn:remove_currency_updater

Conversation

@jhawthorn
Copy link
Copy Markdown
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
Copy Markdown
Contributor

Senjai commented Dec 30, 2015

👍

@cbrunsdon
Copy link
Copy Markdown
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
Copy Markdown

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