Frane Polić
ee848bf0f4
feat(core-flows, dashboard, medusa, types): optional shipping profile ( #11434 )
...
* feat: create product flow changes
* feat: allow unsetting SP on product update
* feat: update prepare line item helper
* test: add testcase
* wip: fix tests
* fix: update module tests
* fix: cart module test
2025-02-17 19:08:59 +01:00
Frane Polić
462c3e8057
feat(core-flows): cart complete shipping validate ( #10984 )
...
**What**
- validate that there is a shipping method if any of the line items have requires_shipping=true
- validate that products shipping profile is supported by a shipping method on the cart
- update tests
---
CLOSES CMRC-683
2025-02-04 10:10:08 +00:00
Frane Polić
864d772e34
feat(core-flows, dashboard, link-modules,medusa, types, utils): fulfillment shipping changes ( #10902 )
...
**What**
- product <> shipping profile link
- create and update product workflows/endpoints accepts shipping profile
- pass shipping option id when creating fulfillment to allow overriding customer selected SO
- validate shipping profile delete
- dashboard
- set shipping profile on product create
- manage shipping profile for a product
- **update the create fulfillment form**
- other
- fix create product form infinite rerenders
---
CLOSES CMRC-831 CMRC-834 CMRC-836 CMRC-837 CMRC-838 CMRC-857 TRI-761
2025-01-27 12:00:20 +00:00
Frane Polić
ab948b7c65
feat(core-flows,medusa,order,types): update orders ( #10373 )
...
**What**
- add order update endpoint
- add workflows and steps for updating orders
- add `registerChanges` method to Order module + workflow step
---
CLOSES CMRC-633
2024-12-03 17:15:26 +00:00
Riqwan Thamir
2a8811edd9
feat(medusa): skip draft orders on order list ( #10195 )
2024-11-21 14:09:23 +01:00
Frane Polić
1889180319
fix(core-flows, dashboard): adjust stock levels when doing partial fulfilments ( #9736 )
...
* fix: correctly update stock location when partial fulfillemnt is created
* fix: update test
* fix: count reserved quantity of the item as available quantity for fulfillment
* fix: refresh reservations when order fulfillment is created
* feat: add check for reservation quantity
* feat: add a test case
2024-11-04 09:04:58 +01:00
Riqwan Thamir
69f6645716
feat(core-flows,dashboard,types,fulfillment,medusa): uses requires shipping throughout lifecycle ( #9170 )
...
what:
- uses requires shipping throughout lifecycle
https://github.com/user-attachments/assets/d5ba89d3-5ea0-49c4-b2d5-490c4764933e
2024-09-24 08:26:22 +00:00
Riqwan Thamir
3e97a64b21
feat(core-flows,medusa,utils,types): adds delivered_quantity to order ( #9130 )
...
what:
- adds delivered_quantity to order
https://github.com/user-attachments/assets/709b1727-08ed-4a88-ae29-38f13540e301
2024-09-16 09:59:01 +00:00
Riqwan Thamir
a729fb3fbb
feat(utils,types,framework,medusa): store endpoints should require publishable key ( #9068 )
...
* feat(utils,types,framework,medusa): store endpoints should require publishable key
* chore: fix specs
* chore: fix more specs
* chore: update js-sdk
* chore: fix specs wrt to default SC
* chore: revert custom headers + change error message
* chore: fix specs
* chore: fix new store specs
2024-09-11 15:08:37 +02:00
Riqwan Thamir
de6f61b05f
feat: added totals tests for end 2 end RMA flow ( #8906 )
...
what:
I've added some specs and comments in the specs for where I think totals are incorrect.
Lets get this test merged in as the status quo and proceed to fix these issues one by one.
Additionally, this also removes the temporary_difference as its not something we use.
RESOLVES CC-346
Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com >
2024-09-04 13:11:04 +00:00
Riqwan Thamir
230acb700b
feat(core-flows,types): Refunds can only be performed when order is imbalanced ( #8944 )
...
* feat(core-flows,types): Refunds can only be performed when order is imbalanced
* Apply suggestions from code review
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
* chore: fix tests
---------
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
2024-09-03 13:53:20 +02:00
Carlos R. L. Rodrigues
5125d1328d
chore(medusa,core-flows): cart payment collection link ( #8457 )
2024-08-06 06:12:21 -03:00
Riqwan Thamir
ce8c90838d
fix(core-flows,utils,medusa): fix bug where payment collection across orders were getting updated ( #8401 )
...
This took embarrassingly long to debug. :|
what:
- fixes a bug where the payment collection of other orders were getting updated
- adds order status to payments section
<img width="1069" alt="Screenshot 2024-08-02 at 08 37 38" src="https://github.com/user-attachments/assets/31776bd3-e6b9-4d23-8be6-f972f7316cf3 ">
<img width="1072" alt="Screenshot 2024-08-02 at 08 37 48" src="https://github.com/user-attachments/assets/38cdd8a1-9f31-4920-91bf-a3554e298960 ">
2024-08-02 08:34:42 +00:00