Skip to content

Commit

Permalink
Add order state machine configuration doc
Browse files Browse the repository at this point in the history
  • Loading branch information
kennyadsl committed Jan 28, 2021
1 parent f6c92cb commit 02ec0e1
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# State Machines

Solidus uses the [`state_machines`][state-machines-gem] gem internally for
defining the state-related logic.
defining the state-related logic.
While most of the e-commerces don't need to customize the default state
machines, Solidus allows providing a custom implementation for the following
models' attributes:
Expand Down Expand Up @@ -82,6 +82,9 @@ Spree.config do |config|

# Inventory Unit status
# config.state_machines.inventory_unit = '<your-custom-module-name>'

# Checkout status
# config.state_machines.order = '<your-custom-module-name>'
end

```
Expand Down

0 comments on commit 02ec0e1

Please sign in to comment.