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

Add configuration option: recalculate_complete_orders #97

Merged
merged 1 commit into from
Jan 16, 2024

Conversation

mamhoff
Copy link
Contributor

@mamhoff mamhoff commented Jan 16, 2024

This gem allows recalculating complete orders until they are shipped, because Solidus allows changing an order's contents until the order is shipped.

This change adds a configuration option that disables the recalculation of orders after they are completed. Some shops make changes to existing promotions, and expect that this does not change complete, but unshipped orders.

@tvdeyen
Copy link
Collaborator

tvdeyen commented Jan 16, 2024

@mamhoff Rubocop wants your attention

This gem allows recalculating complete orders until they are shipped,
because Solidus allows changing an order's contents until the order is
shipped.

This change adds a configuration option that disables the
recalculation of orders after they are completed. Some shops make
changes to existing promotions, and expect that this does not change
complete, but unshipped orders.
@mamhoff mamhoff force-pushed the optional-recalculation-after-complete branch from 27daeb9 to e31f1b3 Compare January 16, 2024 12:03
@mamhoff mamhoff merged commit 8874c07 into main Jan 16, 2024
4 checks passed
@mamhoff mamhoff deleted the optional-recalculation-after-complete branch January 16, 2024 12:09
mamhoff added a commit that referenced this pull request Jul 1, 2024
…-complete

Add configuration option: `recalculate_complete_orders`
mamhoff added a commit that referenced this pull request Oct 25, 2024
…-complete

Add configuration option: `recalculate_complete_orders`
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.

2 participants