Commit Graph

8703 Commits

Author SHA1 Message Date
Carlos R. L. Rodrigues
356b2862d2 chore(core-flows): import zod (#13197) 2025-08-13 15:12:14 -03:00
Shahed Nasser
96f4ed90ad docs: integrate reo.dev (#13192) 2025-08-13 11:53:01 +03:00
William Bouchard
f1da73cb58 fix(types): remove order_id in apis that do not handle it (#13185)
* fix(types): remove order_id in apis that do not handle it

* changeset

---------

Co-authored-by: william bouchard <williambouchard@williams-MacBook-Pro.local>
2025-08-11 20:56:57 +02:00
Chirag Singh
c2ba01acd6 Update page.mdx (#13180)
Fixed a typo:  "percision" to "precision"
2025-08-11 06:47:36 +00:00
Stevche Radevski
2c1fe4cfe4 fix: Allow getting the token from the SDK client (#13164) 2025-08-08 08:42:44 +02:00
Riqwan Thamir
224eaedf5c fix(dashboard,promotion): percentage promotions + set currency code on percentage promotions (#13161) 2025-08-07 13:07:41 +02:00
Carlos R. L. Rodrigues
9725bff25d fix(index): logical operators (#13137) 2025-08-07 07:34:50 -03:00
Carlos R. L. Rodrigues
a52708769d chore(util): avoid promotion value precision limit (#13145) 2025-08-06 15:49:10 -03:00
Carlos R. L. Rodrigues
b1cba9fdeb fix(workflow-engine-inmemory): fix cron job schedule (#13151) 2025-08-06 11:14:44 -03:00
William Bouchard
b7083b9f0f fix(dashboard): variants disappearing when removing an option on product creation (#13150)
* fix(dashboard): variants disappearing when removing an option on product creation

* error border on option without values

---------

Co-authored-by: william bouchard <williambouchard@williams-MacBook-Pro.local>
2025-08-06 08:53:04 -04:00
William Bouchard
acf6bbc2ec chore(core-flows): throw error on invalid promo code (#13140)
* chore(core-flows): throw error on invalid promo code

* add changelog

* better error handling in test

---------

Co-authored-by: william bouchard <williambouchard@williams-MacBook-Pro.local>
Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com>
2025-08-05 09:01:41 -04:00
Oli Juhl
ee0b873f82 chore: Update CODEOWNERS 2025-08-05 13:21:52 +02:00
Mikkel Lindstrøm Hansen
93d7a93b28 Made in operator work as In insted of equal logic (#13078)
Changed the In operator to actually work like an In instead of being same logic as Equals. This means that in promotions you can add a rule to apply when a product is in a category or multiple different. Before the logic had to match all the products categories to apply, which doesnt really make sense when you have nested category structure on products. The logic also applies to tags where you can make a rule apply based on a tag before it also had to match all tags on a product to apply.

Issue:

https://github.com/medusajs/medusa/issues/12669

Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com>
2025-08-05 11:10:29 +00:00
Oli Juhl
02dd83f59a fix(pricing): Calculate prices with multiple rule values (#13079) 2025-08-05 13:04:55 +02:00
William Bouchard
8616248adc chore: add willbouch to teams.yml (#13141)
Co-authored-by: william bouchard <williambouchard@williams-MacBook-Pro.local>
2025-08-04 13:56:53 -04:00
Nicklas Gellner
0bb9a20c47 Update Integrations link in README
New link to www
2025-08-04 14:32:16 +02:00
Shahed Nasser
7c85ede384 docs: generate invoice tutorial (#13077)
* docs: generate invoice tutorial

* fix vale error

* add missing icon

* fix sidebar

* update date
2025-08-04 12:42:47 +03:00
Aldo Román
55d0879576 feat: Add MCP instructions for Claude Code (#13134)
Fixes #13135


Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>
2025-08-04 06:57:53 +00:00
Frane Polić
0452eba20b chore(dashboard): add missing US states (#13094)
* chore(dashboard): add missing US states

* fix: add missing territiories
2025-08-03 19:17:12 +02:00
scherddel
51d4751d95 fix(utils): Fix on precision for high quantities for items when promotion is applied (#13131)
* Fix on precision for high quantities for items when promotion is applied

* Fix on precision for high quantities for items when promotion is applied
2025-08-03 19:16:16 +02:00
Shahed Nasser
89886ba518 docs: general updates to documentation pages (#13128) 2025-08-01 18:59:46 +03:00
Shahed Nasser
522fc12d7a docs: change from detecting version to since tag (#13127)
* update everything from version to since

* update events

* regenerate oas
2025-08-01 18:22:42 +03:00
Shahed Nasser
57ad8fc755 chore: use since instead of version tag in TSDocs (#13126) 2025-08-01 17:52:52 +03:00
Shahed Nasser
f9ca2691be docs: document the fetchStream method of the JS SDK (#13125) 2025-08-01 17:47:26 +03:00
Shahed Nasser
6ec530b2a5 docs: add buffer example in workflows + tip for type error in admin global variables (#13124) 2025-08-01 17:15:47 +03:00
Shahed Nasser
dd9a644272 docs: added guide on sending invite user emails + updates to reset password guide (#13122)
* docs: added guide on sending invite user emails + updates to reset password guide

* fix vale error
2025-08-01 16:17:43 +03:00
scherddel
9766570827 fix(types,utils,promotion): Move from total to original_total to resolve edge case for adjustments calculation (#13106)
* Move from total to original_total to resolve edge case in adjustment calculation

* Added changeset

* Added test case for correction

---------

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2025-08-01 12:52:04 +02:00
Shahed Nasser
b37a87c355 docs: fix code block titles not showing in UI docs (#13119) 2025-08-01 13:30:46 +03:00
Shahed Nasser
714087ca5a docs: fix search not opening sometimes (#13118) 2025-08-01 12:29:44 +03:00
Shahed Nasser
b0d0e7b1a6 docs: updates to nested workflow docs (#13117) 2025-08-01 11:54:41 +03:00
Shahed Nasser
db60ec5a1a chore: add links to package.json (#13100) 2025-08-01 10:59:47 +03:00
Shahed Nasser
15692bfd3f docs: add more totals to retrieve cart and totals guides (#13110) 2025-08-01 10:51:31 +03:00
Shahed Nasser
db0eb0f035 chore: fix example in createProductsWorkflow TSDocs (#13112) 2025-08-01 10:50:51 +03:00
tehaulp
881c8a4969 feat: added pacific franc currency (#13086) 2025-08-01 09:32:50 +02:00
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
Shahed Nasser
7bf8ecc013 docs: update list of resources in module containers + conventions on loaders (#13107) 2025-07-31 18:14:39 +03:00
Shahed Nasser
fcb8036412 docs: add links to technical guides in user guides (#13108) 2025-07-31 18:14:29 +03:00
Shahed Nasser
54d9edc1ab docs: improve instructions to install Medusa UI in standalone projects (#13104) 2025-07-31 16:04:20 +03:00
Carlos R. L. Rodrigues
f6736d9661 fix(core-flows): refresh payment collection (#13103) 2025-07-31 09:06:20 -03:00
Shahed Nasser
a48063ec26 docs: add link to manage metadata section in OAS and API reference (#13102) 2025-07-31 14:42:14 +03:00
scherddel
1bdf602f1c This fixes the discount_ calculation logic and promotion tax inclusiveness calculation (#12960)
* This fixes the discount_ calculation logic

* This fixes the adjustment to be handled as a subtotal value in every calculation and applies the tax inclusive logic on the promotion value itself

* Added some testcases and revoked some changes to improve testing output

* Fixed a test case based on feedback

* Corrected promotion/admin test cases

* Corrected cart/store test case

* Improved cart/store test cases for more robust promotion testing considering tax inclusion flags

* Remove unnessary changes as adjustments now automatically are subtotals and therefore the tax inclusive flag does not need to be applied again

* Remove adjustments->is_tax_inclusive usage everywhere

* Migration script to remove is_tax_inclusive in cart line item adjustment

* Forgot to adjust one more testcase

* Corrections based on fPolic feedback

* Refactored PR to consider feedback from oliver

* Added more testcases for promotion in cart

---------

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2025-07-31 13:27:43 +02:00
Riqwan Thamir
75320e744f fix(promotion): check currency when computing actions for promotions (#13084)
* fix(promotion): check currency when computing actions for promotions

* chore: fix tests

* chore: fix more specs
2025-07-31 11:41:07 +02:00
Shahed Nasser
54a74b0215 docs: document JSON properties (#13099) 2025-07-31 12:22:32 +03:00
Shahed Nasser
1c1e1c6aa2 docs: improved workflows integration tests guide (#13090) 2025-07-30 17:25:46 +03:00
Shahed Nasser
11318eaa89 docs: document debugging workflows (#13087) 2025-07-30 14:41:15 +03:00
Benjapol Worakan
873679b180 Fix spelling error in documentation (#13061)
Fix spelling error in documentation
2025-07-30 07:01:35 +00:00
Shahed Nasser
5d79dc8c41 docs: handle recaptcha loading before submitting AI assistant queries (#13065) 2025-07-28 14:27:50 +03:00
Shahed Nasser
7a07319a69 docs: open AI assistant based on search query (#13063)
* docs: open AI assistant based on search query

* use URLSearchParams

* fix vale error
2025-07-28 12:59:09 +03:00
Shahed Nasser
ea9ed62ee0 docs: migration guide from v1 to v2 (#12597)
Closes DX-1637
2025-07-28 08:22:02 +00:00
Shahed Nasser
cd599e1f62 docs: general updates to documentation pages (#13055) 2025-07-28 10:52:22 +03:00