- Preparations
- go to Configuration → E-commerce → Payment Types
- enable "Check/MO" payment type and make it primary
- create tangible product
- enable inventory tracking on "Inventory" tab (during product editing) by setting "By Product" value in "Enabled" field
- Creating order
- go to E-commerce → Orders → Incomplete section
- use "Add" toolbar button to create new order
- add that product to it
- confirm that red "backordered" word is shown below that product name on "Items" tab during that order adding/editing
- fill all other required fields on other tabs
- Order workflow
- when order is saved press "Place Order" toolbar button on the "Incomplete" tab
- confirm that order is moved to "Pending" tab and press "Approve" toolbar button there
- confirm that order is moved to "Backorders" tab
- Adding inventory
- go to "Inventory" tab on product editing
- add some qty to stock (more or equal then qty used in order) by entering "Quantity" and clicking on "Add" button
- go to E-commerce → Orders → To Ship section
- confirm, that during order editing the red "backordered" text no longer appears
Details
Details
- Reviewers
glebs - Commits
- rMINC16136: Fixes MINC-117 - Reset backorder flag on orderitems
Diff Detail
Diff Detail
- Repository
- rINP In-Portal
- Branch
- /in-portal/branches/5.2.x
- Lint
Lint OK - Unit
No Unit Test Coverage
Event Timeline
modules/in-commerce/units/orders/orders_event_handler.php | ||
---|---|---|
1712–1713 | These are the only changed lines. Other lines are CS fixes. |