Frane Polić
7814710610
chore(ui): sync Figma resources ( #13088 )
...
**What**
- sync latest Figma icons and ui presets
2025-08-01 06:54:38 +00:00
Frane Polić
9fb5baa912
fix(core-flows): guest customer updates email to another guest account ( #13037 )
...
* fix(core-flows); guest customer updates email to another guest account
* wip: refactor test
* fix: refactor step, add testing
* fix: update test
* fix: string assertion in a test
2025-07-25 12:49:06 +02:00
Frane Polić
439c711845
fix(dashboard, product): product attributes update with a relation update ( #13019 )
...
* fix(dashboard, product): product attributes update with a relation update
* fix: rm log
* chore: refactor
2025-07-23 21:01:50 +02:00
Frane Polić
3fa1db9dea
fix(dashboard): allocation UI for orders with more than 20 reservation items ( #12989 )
2025-07-20 13:30:23 +00:00
Frane Polić
40625c82d6
fix(core-flows): properly delete variant inventory item ( #12958 )
...
* fix(core-flows): properly delete variant inventory item
* fix: rm unused code
2025-07-16 21:16:29 +02:00
Frane Polić
491b08e044
fix(dashboard): combobox multiitem clear ( #12939 )
...
* fix(dashboard): clearing multiitem combobox
* chore: changesets
2025-07-14 20:32:20 +02:00
Frane Polić
a28226af80
fix(core-flows): updating tax lines when draft order shipping is removed ( #12919 )
...
**What**
- don't call `updateOrderTaxLinesWorkflow` when a shipping method is removed from a draft order (tax lines will be cascade deleted with the method)
2025-07-14 13:35:44 +00:00
Frane Polić
1438b394ae
fix(dashboard): show TIP flag only for fixed promotions ( #12897 )
...
* fix(dashboard): show TIP flag only for fixed promotions
* fix: refactor changes
2025-07-08 16:01:03 +02:00
Frane Polić
9d61bb7e71
fix(dashboard): fix currency input locale formatting ( #12812 )
...
* fix: refund forms and format currency util
* fix: claim form
* fix: return form
* fix: exchange form
2025-06-25 09:23:49 +02:00
Frane Polić
52becfdb90
fix(dashboard,types): loyalty UI changes ( #12764 )
2025-06-18 20:38:36 +02:00
Frane Polić
7a8f639b38
fix(payment): add account holder methods to the manual provider ( #12751 )
2025-06-17 09:10:05 +02:00
Frane Polić
672871b733
fix(core-flows): cart complete order address creation ( #12493 )
...
* fix(core-flows): cart complete order address creation
* fix(order): cascade delete addresses
* fix: revert
2025-06-12 15:07:50 +02:00
Frane Polić and Oli Juhl
2621f00bb0
feat(promotion, dashboard, core-flows, cart, types, utils, medusa): tax inclusive promotions ( #12412 )
...
* feat: tax inclusive promotions
* feat: add a totals test case
* feat: add integration test
* chore: changeset
* fix: typo
* chore: refactor
* fix: tests
* fix: rest of buyget action tests
* fix: cart spec
* chore: expand integration test with item level totals
* feat: add a few more test cases
---------
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
2025-06-12 15:07:11 +02:00
Frane Polić
bd6d9777c5
fix(promotion, types): non discountable items check ( #12644 )
...
* fix(promotions): check if item is discountable
* fix: return earl yonly if non discountable
* fix: update test
* chore: add integration test
2025-06-12 10:23:06 +02:00
Frane Polić
9866baa852
feat(core-flows,js-sdk,medusa,types): draft order delete ( #12172 )
2025-05-28 14:37:00 +02:00
Frane Polić
c4dd290461
fix(core-flows): reservation management on order edit and draft order confirm ( #12546 )
2025-05-28 09:52:01 +02:00
Frane Polić
341a8bb7ee
fix(dashboard): combobox initial item cache ( #12522 )
2025-05-28 09:32:01 +02:00
Frane Polić
c5a6573e26
fix(product, utils): handle metadata key deletion on product update ( #12478 )
2025-05-21 21:32:12 +02:00
Frane Polić
3071d09a03
fix(core-flows): skip location check if inventory is not managed ( #12540 )
...
* fix: skip location check if inventory is not managed
* fix: rm todo
* chore: changeset
2025-05-21 15:37:43 +02:00
Frane Polić
b8ab053252
fix(dashboard): refund payment formatting ( #12476 )
...
* fix(dashboard): refund payment formatting
* fix: reduce SC pagination limit
2025-05-19 15:49:34 +02:00
Frane Polić
9f4d32b220
fix(core-flows): fulfilment cancelation with shared inventory kit item ( #12503 )
...
* fix(core-flows): fulfilment cancelation with shared inventory kit item
* fix: typos, check if iitem exists
* chore: typo
2025-05-16 10:50:10 +02:00
Frane Polić
39e5eadefc
fix(core-flows, dashboard): reservation recreation on fulfilment cancel + allocation button display ( #12447 )
...
**What**
- fix recreation of reservations on fulfilment cancel
- fix allocate items button display
---
CLOSES CMRC-1018
2025-05-12 17:09:23 +00:00
Frane Polić
32e0194772
fix(dashboard, medusa): validate provider for top level tax regions ( #12450 )
...
* fix(dashboard, medusa): validate provider for top level tax regions
* chore: changesets, message
* chore: add test case for province
* fix: remove comment
2025-05-12 18:04:48 +02:00
Frane Polić
5fe0e8250d
fix(core-flows): Refund and recreate payment session on cart complete failure ( #12263 )
2025-05-11 19:53:49 +02:00
Frane Polić
3fb4d5beb0
fix(dashboard): call route modal onClose only on route change ( #12383 )
2025-05-11 19:52:12 +02:00
Frane Polić
6aa1ebdee2
fix(dashboard): inventory kit combobox state ( #12371 )
...
* fix(dashboard): inventory kit combobox state
* chore: changeset
2025-05-11 18:45:08 +02:00
Frane Polić
47700899ed
fix(core-flows): use product title for line item title ( #12397 )
...
* fix(core-flows): use prduct title for line item title
* fix: module tests
* fix: http tests
* fix: display item subtitle instead of prod title as secondary text in line item
* fix: claim/exchange items
2025-05-11 17:05:46 +02:00
Frane Polić
e4d196e522
fix(dashboard): tax regions UI polish ( #12437 )
2025-05-11 16:06:11 +02:00
Frane Polić
2dd885ebc1
fix(medusa): check if tax module is installed when running tax migration script ( #12393 )
2025-05-07 13:01:20 +02:00
Frane Polić
0d8af119c5
feat(product): search variants by product properties ( #12391 )
2025-05-07 10:29:14 +00:00
Frane Polić
9cedeb182d
feat(dashboard, js-sdk, medusa, tax, types): custom tax providers ( #12297 )
...
* wip: setup loaders, add endpoints, module work, types, js sdk
* fix: tax module provider loader
* feat: select provider on region create, fix enpoint middleware registration
* feat: edit form
* fix: rename param
* chore: changeset
* fix: don't default to system provider
* fix: admin fixes, dispalt tax provider
* fix: some tests and types
* fix: remove provider from province regions in test
* fix: more tests, optional provider for sublevel regions, fix few types
* fix: OE test
* feat: edit tax region admin, update tax region core flow changes
* feat: migrate script
* fix: refactor
* chore: use query graph
* feat: provider section
2025-05-06 19:26:33 +02:00
Frane Polić
8985998756
feat(core-flows, utils): add OrderEdit events ( #12320 )
...
* feat(core-flows, utils): add OrderEdit events
* fix: typo
2025-04-30 17:44:39 +02:00
Frane Polić
4f6362b1cb
fix(design-system): filter/sorting menu error ( #12309 )
2025-04-29 12:13:12 +02:00
Frane Polić and Oli Juhl
d7a273ff2d
fix(core-flows): handle inventory kit items in mark-as-shipped/delivered flows ( #12269 )
...
* fix(core-flows): handle invetory kit items in mark-as-shipped and mark-as-delivered flows
* fix: typo
* chore: more assertion
* chore: fix comment
* Update packages/core/core-flows/src/order/workflows/create-shipment.ts
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
* fix: undo comment
---------
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
2025-04-26 19:38:00 +02:00
Frane Polić and Oli Juhl
ad74ba2ca4
fix(core-flows, link-modules): return fulfillment creation ( #12227 )
...
* fix: return fulfillment creation
* chore: changeset
* fix: link
* fix: cancel claim flow
* chore: test fulfillment creation as a part of return lifecycle test
* fix: exchanges cancle flow
---------
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
2025-04-22 14:33:46 +02:00
Frane Polić and Oli Juhl
f6b20a943e
fix(dashboard): properly register settings custom routes ( #12198 )
...
**What**
- custom setting routes were registered under `/settings/settings/custom-route` instead of `/settings/custom-route`
---
CLOSES SUP-1384
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
2025-04-16 18:11:36 +00:00
Frane Polić
9851598dae
fix(payment): properly delete refund ( #12193 )
...
**What**
- properly delete the refund record if refunding with the provider fails
---
CLOSES SUP-1398
2025-04-16 07:57:39 +00:00
Frane Polić
01542f6973
feat(core-flows, js-sdk, medusa): draft order shipping removal ( #12124 )
...
**What**
- allow removal of a shipping method
---
CLOSES CMRC-1013
2025-04-16 06:10:24 +00:00
Frane Polić
413a0da26c
fix(core-flows): draft order reservations ( #12115 )
...
* fix: draft order reservations
* feat: add test case
* fix: assert item ids
2025-04-13 17:40:16 +02:00
Frane Polić
9d0b6a136f
fix(dashboard): display null sku ( #12155 )
2025-04-11 13:30:32 +02:00
Frane Polić
95a8c7b57e
fix(dashboard): product type metadata form ( #12149 )
2025-04-11 09:14:32 +02:00
Frane Polić
f01e0868bd
fix(dashboard): product create discountable flag ( #12073 )
...
* fix(dashboard): product create discountable flag
* chore: changeset
2025-04-06 17:32:27 +02:00
Frane Polić
9bf1e52d25
fix(order): update add item unit price ( #12072 )
2025-04-04 12:47:00 +02:00
Frane Polić
a8513019db
fix(core-flows,dashboard): handling authorized payment collection on OE ( #11958 )
...
* wip: handling authorized payment collection on OE
* fix: update condition
* fix: condition for creation
* chore: remove commented code
* chore: changeset, refactor
* chore: typo, comments
* fix: add a test case
* fix: reorg workflows, partially captured
* fix: status enum type
2025-04-02 13:57:44 +02:00
Frane Polić and Oli Juhl
5f3a82f5c3
fix(core-flows): applying product type promotion ( #12051 )
...
* fix: applying porduct type promotion
* Create fair-terms-tell.md
---------
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
2025-04-02 09:35:25 +02:00
Frane Polić
95e89a39f3
feat(core-flows, types): try payment cancelation if cart complete fails in the webhook ( #11832 )
...
* fix: try compensating if cart complete fails, reorder process paymnet workflow steps
* fix: condition
* fix: feedback
* feat: changes to the compensation step
* fix: build
* fix: remove payment id as arg
* fix: when input
* chore: remove captures realtion, changeset
* fix: return lates payment object from authorize payment
2025-03-28 14:49:54 +01:00
Frane Polić and Oli Juhl
350b6b9a71
fix(dashboard): RMA allow shipping unset ( #12021 )
...
**What**
- allow unsetting shipping in RMA flows + bug cleanup around shipping flows in claims / exchanges
- additional fixes:
- product type create form
- product type delete
- delete confirmation messages
- fix a few inventory strings + material field
---
CLOSES CMRC-945
CLOSES CMRC-953
CLOSES CMRC-967
CLOSES CMRC-963
CLOSES CMRC-954
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
2025-03-28 09:25:44 +00:00
Frane Polić
29f6c2a8dd
fix(dashboard): return form pending diff ( #12007 )
...
**What**
- display est. difference in returns as for claims/exchanges
- display order pending difference instead of value computed on FE
---
CLOSES CMRC-949
2025-03-28 09:14:04 +00:00
Frane Polić
3145c5f20d
fix(dashboard): trim some product create inputs to prevent creation error ( #12004 )
...
* fix: trim some inputs to prevent creation error
* chore: changeset
2025-03-28 08:59:44 +01:00
Frane Polić
be6a651e2f
fix(dashboard): notification list scroll flickering ( #11911 )
...
* fix: flicekring of the notification list due to rerendering
* fix: revert page size
* fix: page size
* fix: reintroduce treshold
* fix: param
* fix: revert page size
2025-03-28 08:58:33 +01:00
Frane Polić
69bb775f28
fix(dashboard): refund form input ( #11993 )
...
**What**
- fix refund form input issues
2025-03-27 15:20:22 +00:00
Frane Polić
d0d2ea4f20
fix(order): caculate received total for pending difference ( #11919 )
...
**What**
- use the return received total to compute pending difference with return requested total
**Why**
- this would show incorrect outstanding amount when receiving a return and also, the outstanding amount after the return is received would be incorrect
2025-03-25 18:14:44 +00:00
Frane Polić and Oli Juhl
de8c034d1b
feat(core-flows, types): calculated shipping in RMA flows ( #11533 )
...
* wip: calculated SO pricing in RMA flows
* fix: types
* chore: small refactor
* feat: caluclated shipping in return flow
* fix: module integrations
* fix: array containing
* feat: refresh shipping on update item quantity
* rm: log
* rm: log2
* feat: update interface, remove flag
* fix: revert change on OE for now
* fix: import
* feat: refactor flwos, cleanup cacluation cotext data model, wip exchanges
* feat: refreshing inbound/outbound shipping on items change
* feat: refresh exchange shipping on return item add, test
* feat: refresh shipping on exchange/return item remove
* fix: check optional
* feat: test recalculation on quantity update
* feat: calculated shipping on claims
* fix: comment
* wip: address comments
* fix: more remote query, fix build
* refactor: claim refresh workflow
* fix: remove throw option
* fix: deconstruct param
---------
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
2025-03-24 07:07:47 +01:00
Frane Polić
8385a5e34d
feat(core-flows): revisit fulfillment flow reservations and support inventory kit ( #11790 )
...
* feat: fulfillment flow with reservations and inventory kit
* fix: account for custom line items
* chore: cleanup, changeset
* fix: revert action check
* fix: deduplicate, test item qunatities, compute line item quantity from fulfillment items
* fix:
* fix: improve types
* fix: optimize fetched fileds in cancel fulfillment workflow
* fix: add a test case
* chore: update type
2025-03-19 13:15:24 +01:00
Frane Polić
63330668ed
fix(dashboard): location injection zones ( #11845 )
...
FIXES SUP-1159
2025-03-18 08:33:07 +00:00
Frane Polić
3db146c56e
fix(dashboard): display inventory item sku ( #11856 )
...
CLOSES SUP-1171
2025-03-17 11:48:44 +00:00
Frane Polić
4c28efaadc
fix(dashboard): display minute instead of month ( #11731 )
...
**What**
- display minutes instead of months
- remove manual offsetting since the server returns ISO format and JS date converts it to local time
---
CLOSES SUP-1069
2025-03-10 11:07:52 +00:00
Frane Polić
bd4428c40e
fix(dashboard): allow creating fulfillment for items without shipping profile ( #11733 )
...
* fix: allow creating fulfillment of items without shipping profile
* fix: move quantity filtering
2025-03-09 13:48:41 +01:00
Frane Polić
70eaaa9196
fix(core-flows): fulfillment reservation check ( #11735 )
2025-03-09 13:47:10 +01:00
Frane Polić
e23f204b7c
fix(dashboard, core-flows, medusa): prevent creation of empty fulfillments ( #11664 )
2025-03-03 16:54:20 +00:00
Frane Polić
7465604ae5
fix(dashboard): variant inventory section ( #11669 )
...
**What**
- fix fetching data need to display the info properly
- display condition
---
CLOES SUP-996
2025-03-03 10:46:10 +00:00
Frane Polić
bdf9723239
fix(dashboard): filter outbound shipping options in RMA ( #11629 )
...
**What**
- filter out return shipping options for Claims/Exchanges
- fix the incorrect display of "missing inventory" warning
---
CLOSES CMRC-946
CLOSES CMRC-947
2025-02-28 14:55:35 +00:00
Frane Polić
c50487ccab
fix(core-flows): return created order return from workflow ( #11642 )
...
* fix: return created order return from workflow
* fix: type
* fix: middeware export
2025-02-28 10:15:13 +01:00
Frane Polić
4b7c6d7dd9
fix(dashboard): few admin bug fixes ( #11655 )
...
**What**
- OE id bug
- prevent canceling shipped/delivered fulfillment
---
CLOSES CMRC-935
CLOSES CMRC-938
2025-02-28 09:13:47 +00:00
Frane Polić
de0798dbed
fix(dashboard): display CG in PL configuration details ( #11653 )
...
CLOSES CMRC-966
2025-02-28 09:12:45 +00:00
Frane Polić
12cf24a0de
fix(medusa): deleting location level ( #11630 )
...
* fix: deleting inventory level
* refactor: use query
2025-02-27 14:07:33 +01:00
Frane Polić
090d15b1e4
fix(core-flows): unsafe access to a variant property ( #11588 )
...
**What**
- fix unsafe access `manage_inventory` flag if variant doesn't exist for the item
---
CLOSES https://github.com/medusajs/medusa/issues/11587
2025-02-27 07:58:47 +00:00
Frane Polić
0c530e90c5
feat(core-flows, types): add has missing inventory flag when listing shipping options ( #11493 )
...
**What**
- add `insufficient_inventory` flag when listing shipping options for a cart
- add `enabled_in_store` flag when creating/editing pickup options
2025-02-19 08:08:25 +00:00
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ć
5dc8a403ef
feat(dashboard): Pickup option changes ( #11306 )
...
**What**
- update the create and edit shipping option flows to support pickup (shipping) option
- modify "mark as delivered" for pickup case
---
CLOSES CMRC-906 CMRC-907
2025-02-14 14:14:58 +00:00
Frane Polić and Kasper Fabricius Kristensen
4e6372bfdf
fix(design-system): singleton prompt ( #11352 )
...
**What**
- add a flag to disable rendering multiple prompts on a page
**Why**
- pressing "r" when a prompt is already open would stack additional prompts
---
CLOSES SUP-802
Co-authored-by: Kasper Fabricius Kristensen <45367945+kasperkristensen@users.noreply.github.com >
2025-02-13 09:39:52 +00:00
Frane Polić
2726bb3759
fix(payment): update payment session data ( #11410 )
...
**What**
- pass `data` from provider on update payment session
---
CLOSES SUP-866
2025-02-13 08:04:33 +00:00
Frane Polić
bbef0da5dd
fix(core-flows, types): reservation of shared inventory item ( #11403 )
...
**What**
- if a cart contains variants that share inventory items, reservation of the item would fail also causing complete cart to fail
- include `completed_at` when compensating cart update
- account for multiple reservations of the same item when creating the locking key
---
CLOSES SUP-587
2025-02-13 08:03:53 +00:00
Frane Polić
ca486aa7ed
fix(dashboard): secret key display ( #11365 )
...
CLOSES CMRC-917
2025-02-11 15:08:46 +00:00
Frane Polić
17e9673769
fix(core-flows): variants update unsets prices ( #11349 )
...
* fix: update variant flow for prices
* fix: import add test
* fix: test name
2025-02-10 09:13:47 +01:00
Frane Polić
d58c056c53
fix:(dashboard) pending difference rounding on order details page ( #11336 )
...
**Why**
- if pending difference is lass then the rounding threshold for currency the page would show for example "Refund -0.00$"
**What**
- example: hide the refund button if the pending difference in USD is -0.004
- example: show refund button if pending difference on USD is -0.007
---
CLOSES SUP-811
CLOSES https://github.com/medusajs/medusa/issues/11331
2025-02-07 15:24:43 +00:00
Frane Polić
34e7fdafd2
fix(test): update flaky fulfillment test ( #11312 )
...
* fix: fulfillment test
* fix: missing option ids
2025-02-06 17:57:07 +01:00
Frane Polić
742babfe3f
fix(core-flows): shipping profile update ( #11322 )
...
**What**
- prevent unsetting shipping profile on product update
2025-02-05 14:37:43 +00: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ć
86b16b9049
fix(dashboard): semibold font ( #11182 )
...
FIXES CMRC-897
2025-01-27 17:29: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ć
d4cbc6218c
feat(medusa,product,types): product type & tag store missing endpoints ( #11057 )
...
* wip: tag endpoints
* feat: types, product types
* feat: tests
* fix: update product type schema
2025-01-26 14:16:49 +01:00
Frane Polić
6e5912612c
fix(core-flows, dashboard): handling fulfillment rules ( #11111 )
...
**What**
- fix storing "true" | "false" strings from admin
- use strings instead of booleans for context filtering
2025-01-23 16:32:25 +00:00
Frane Polić
123d2f45de
feat(dashboard): invite UI tweaks ( #10999 )
2025-01-18 10:50:24 -05:00
Frane Polić
c1385c7002
fix(core-flows): cart validate sales channel ( #11024 )
2025-01-18 10:48:58 -05:00
Frane Polić
911eefadbd
fix(dashboard): delete user messages ( #11004 )
...
CLOSES CMRC-760
2025-01-16 19:20:46 +00:00
Frane Polić
37aa804620
fix(dashboard): cancel order notifications ( #10858 )
...
* fix: cancel order notifications
* fix: label
2025-01-07 13:01:41 +01:00
Frane Polić
16b0672f8a
feat(core-flows,fulfillment, fulfillment-manual, types): make fulfillment typings more specific ( #10677 )
...
**What**
- attempt to add more specific type definitions around fulfillment provider APIs
---
CLOSES CMRC-814
CLOSES CMRC-816
CLOSES CMRC-817
2025-01-07 08:08:45 +00:00
Frane Polić
fc321e96ce
fix(core-flows): select stock locations for reservation from correct SC ( #10661 )
...
* fix: add stock location for reservations only if related to correct SC
* fix: update spec
* fix: wrong SC id get in OE flow
* fix: ensure test case has multiple SC and SLs
2024-12-20 09:25:19 +01:00
Frane Polić
1118e35924
feat(core-flows): pass fields variant details when creating fulfillment ( #10665 )
2024-12-19 16:39:04 +01:00
Frane Polić
3dba551ad2
fix(core-flows): data passed to to fulfillment provider context ( #10660 )
...
* fix: cart data passed to context, from location in validation
* refactor: extract common fields to a const
2024-12-18 21:23:06 +01:00
Frane Polić
c7008bb569
fix: order details status ( #10650 )
2024-12-18 12:56:18 +01:00
Frane Polić
bde4b82194
feat(core-flows,dashboard,js-sdk,medusa,types): support Fulfillment Options ( #10622 )
...
**What**
- add a list point for fetching fulfillment options for a provider
- add FO support on SO create & update on dashboard
- pass `cart` and `stockLocation` to `validateFufillmentData` context
---
CLOSES CMRC-789
CLOSES CMRC-790
2024-12-18 09:16:26 +00:00
Frane Polić
0c49470066
feat(core-flows): calculate SO price on cart ops ( #10563 )
...
**What**
- calculate the shipping option price when creating a shipping method
- calculate the shipping option price when refreshing cart
- add testing for calculated SO flow
- fix validation on calculated SO creation
- add manual fulfillment provider for testing
- add `from_location` to calculation context
---
RESOLVES CMRC-778
RESOLVES CMRC-602
RESOLVES SUP-136
2024-12-16 22:28:30 +00:00
Frane Polić
472e92e400
feat(medusa, core-flows, fulfillment): calculate SO price endpoint ( #10532 )
...
**What**
- endpoint + flow for fetching calculated price for a shipping option
---
CLOSES CMRC-777
2024-12-12 08:03:56 +00:00
Frane Polić
d8a92dbb2d
feat(core-flows, dashboard, fulfillment, fulfillment-manual, utils, types): create shipping options with calculated prices ( #10495 )
...
**What**
- support creating SO with calculated price
- support updating SO for both types of pricing
- update `validateShippingOptionPricesStep` to handle both SO price_types
- add the `validateShippingOptionsForPriceCalculation` method to `FulfillementModule`
- add `canCalculate` and `calculatePrice` to fulfillment provider service service / interface / manual provider
- disable SO pricing edit on Admin if SO price type is calculated
---
CLOSES CMRC-776
2024-12-11 08:38:44 +00:00
Frane Polić
340769595a
feat(admin, js-sdk, types): update order forms ( #10418 )
...
* feat: edit shipping, billing and email forms
* feat: timeline history, update change model, update tests
* fix: address comments
* fix: invalidation, translation schema, update label
* fix: old/new
2024-12-04 14:56:40 +01: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
Frane Polić
805fe4b1db
fix(order): archive order status update ( #10340 )
...
**What**
- array was passed as an id when updating order status upon archive
---
RESOLVES SUP-305
CLOSES https://github.com/medusajs/medusa/issues/10328
2024-11-28 16:51:02 +00:00
Frane Polić
2ed63b1534
fix(dashboard): adjust transfer SVG for theme ( #10307 )
...
**What**
- make order transfer SVG header work on light and dark theme
2024-11-27 12:07:07 +00:00