Commit Graph

8098 Commits

Author SHA1 Message Date
Pedro Guzman
8804ca2f9c fix: allow backorder variants to be added to cart even if no locations (#12083)
* fix: allow backorder variants to be added to cart even if no locations

* document and unit test prepareConfirmInventoryInput
2025-04-09 19:15:42 +02:00
Carlos R. L. Rodrigues
f615ebb7e8 chore: retry util on tests (#12126) 2025-04-09 16:07:05 +00:00
Adrien de Peretti
cb26c224ea chore(pricing): improve calculate prices performances (#12120)
* chore(pricing): Try to improve performances

* chore(pricing): new indexes

* chore(pricing): new indexes

* fix orderr

* Create olive-horses-judge.md

* feedback
2025-04-09 13:21:33 +02:00
Adrien de Peretti
13e159d8ad fix(workflow-engine-*): Prevent passing shared context reference (#11873)
* fix(workflow-engine-*): Prevent passing shared context reference

* fix(workflow-engine-*): Prevent passing shared context reference

* prevent tests from hanging

* fix event handling

* add integration tests

* use interval for scheduled in tests

* skip tests for now

* Create silent-glasses-enjoy.md

* fix cancel

* changeset

* push multiple aliases

* test multiple field alias

* increase wait time to index on test

---------

Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com>
Co-authored-by: Carlos R. L. Rodrigues <rodrigolr@gmail.com>
2025-04-09 10:39:29 +02:00
Adrien de Peretti
2a18a75353 chore(framework): slightly improve maybe apply link filter middleware (#12113)
**What**
- Use the resource id filtering when possible instead of relying on programmatic intersection checks over potential hundreds thousands of resources from the link when in fact it is not necessary to fetch everything to check in memory but instead check in the db 
- Also fix normalizeDataForContext middlewares
2025-04-09 04:03:10 +00:00
Adrien de Peretti
74381addc3 chore(): Emit events in batch and index process event ids in batch (#12097)
**What**
First iteration to prevent events from overwhelming the systems.
- Group emitted event ids when possible instead of creating a message per id which leads to reduced amount of events to process massively in cases of import for example
- Update the index engine to process event data in batches of 100
- Update event handling by the index engine to be able to upsert by batch as well
- Fix index engine build config for intermediate listeners inferrence
2025-04-08 16:57:08 +00:00
Paolo Rossi
b05807bfc1 feat(inventory): Add quantity across locations translation and formatting (#11564)
Co-authored-by: Stevche Radevski <sradevski@live.com>
2025-04-08 15:31:18 +02:00
Shahed Nasser
78ee2e3063 docs: remove start-cluster command + update start options (#12116) 2025-04-08 15:47:10 +03:00
Shahed Nasser
9ac74eead4 feat(core-flows,types): export fetchShippingOptionForOrderWorkflow (#12103)
* feat(core-flows,types): export fetchShippingOptionForOrderWorkflow

* revert change

* change to tsdoc

* fix errors

---------

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2025-04-08 13:05:03 +03:00
Muhammad Abdullah Haider
65b5beb59c Fixed typo (#12107) 2025-04-07 16:47:59 +00:00
Shahed Nasser
6c6c3dec9f docs: added missing information on plugin migrations (#12108) 2025-04-07 18:12:25 +03:00
Shahed Nasser
83d29c2e79 chore(js-sdk, types): add TSDocs for plugin methods in JS SDK (#12106)
* chore(js-sdk, types): add TSDocs for plugin methods in JS SDK

* tsdocs for draft orders
2025-04-07 18:11:33 +03:00
Carlos R. L. Rodrigues
92c7baa561 fix(orchestration): handle multiple shortcuts with same name (#12066) 2025-04-07 11:59:28 -03:00
Shahed Nasser
cc71dc2620 docs: update bulk editor user guide + add redirect from old v1 next js (#12104)
* docs: update bulk editor user guide + add redirect from old v1 next js

* update page titles
2025-04-07 17:27:45 +03:00
Shahed Nasser
9ece840027 docs: fixes to content and UI (#12101) 2025-04-07 16:10:12 +03:00
Shahed Nasser
2be03d0d39 chore(types,utils): fixes to TSDocs for HTTP types and payment provider (#12102) 2025-04-07 16:08:39 +03:00
PauseB
1377eaadcd Added Korean translation (#12076) 2025-04-07 14:09:13 +02:00
Shahed Nasser
4780226145 chore(core-flows): added TSDocs for setPricingContext hooks (#12100) 2025-04-07 14:49:24 +03:00
Shahed Nasser
fde85888bd docs-util: handle workflows with intersection hook types (#12099) 2025-04-07 14:00:08 +03:00
SteelRazor47
5b5fea29c7 add missing "filters" IT translations (#12069) 2025-04-07 09:58:29 +02:00
Philipp Eckel
20c55f1e2c fix: fix German translation for 'captured' (#12008)
While 'gefangen' is a correct German word, using it here is not correct.

'Erhalten' is more like 'received'.
2025-04-07 09:57:09 +02:00
Vu Son
d2b29465ef Add Vietnamese Language (#11969)
Co-authored-by: sonvt <dev@titando.com>
2025-04-07 09:56:01 +02:00
Karl Hofmann
8d737ef9c2 Minor Translation Corrections (German / DE) 2025-04-07 09:38:37 +02:00
olivermrbl
386205d0f4 chore: Add missing changeset for #11803 2025-04-06 18:41:13 +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
Carlos R. L. Rodrigues
2270f29ec5 chore(link-modules): backward compatible links (#12062)
What:
 * Add `hasMany` for links that accepted that in the past. That way we don't block marketplaces to link 1 cart to multiple orders and carts with split payment.
2025-04-02 11:56:48 +00:00
Harminder Virk
d3e725a907 feat: add hasMany flag to enforce in app link uniqueness (#12039)
* feat: add createMultiple flag to enforce inApp link uniqueness

* changes

* mocks

* default

* many to many

---------

Co-authored-by: Carlos R. L. Rodrigues <rodrigolr@gmail.com>
2025-04-02 10:46:51 +02:00
Kasper Fabricius Kristensen
f441362f4a feat(medusa,core-flows,types,js-sdk): Draft Order workflows and API endpoints (#11805) 2025-04-02 10:23:33 +02:00
Frane Polić
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
Shahed Nasser
5a1f2db542 docs: added a routes summary section in API reference (#12035)
* docs: added routes summary

* added sorting
2025-03-28 19:29:57 +02:00
Harminder Virk
2f7eb0ee03 fix: validate module names to disallow unallowed characters (#12025) 2025-03-28 22:39:39 +05:30
Shahed Nasser
e998366aba chore(js-sdk): improve the TSDocs of auth methods in JS SDK (#12033) 2025-03-28 17:55:01 +02:00
Oli Juhl
79cfc1a69e fix(utils): Enable Redis locking by default in Cloud (#12017)
* fix(utils): Enable redis locking by default

* fix: tests

* Create popular-rules-shake.md
2025-03-28 16:23:02 +01:00
Shahed Nasser
9c90a39f1c docs: sort API reference sidebar items and sections (#12032) 2025-03-28 17:19:28 +02:00
Oli Juhl
acdcb11947 chore: Remove integration-tests from changeset 2025-03-28 15:54:29 +01: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
Kasper Fabricius Kristensen
3dba58785f fix(dashboard,medusa,types): allow searching for promotion rule options (#12028)
* fix: allow searching for promotion rule options

* fix: allow searching for promotion rule options

* add changeset

* cleanup
2025-03-28 14:45:05 +01:00
Kasper Fabricius Kristensen
6d8390a529 fix(dashboard): Allow empty subpaths for route extensions (#12030) 2025-03-28 14:42:51 +01:00
Shahed Nasser
da52501518 docs: small fix to abandoned cart guide (#12029) 2025-03-28 14:56:41 +02:00
Shahed Nasser
3fa19ae4f1 docs: updates and improvements to JS SDK guides (#12026) 2025-03-28 12:45:45 +02:00
Harminder Virk
b1b3b48474 feat: Set pricing context hook (#11891) 2025-03-28 15:17:52 +05:30
Frane Polić
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
Shahed Nasser
95230ef670 docs: migrate magento to medusa guide (#11418)
* initial

* initial draft

* finished

* small change to intro

* make card description shorter

* fix plugin name

* updates

* fixes

* generate llms

* updates
2025-03-28 09:12:53 +02:00
Shahed Nasser
82da3c97a5 docs: added algolia guide (#11971)
* initial

* finished changes

* small title change

* improve title

* add cover
2025-03-27 20:22:40 +02:00
Shahed Nasser
532780897b docs: added tutorial for abandoned cart (#11917)
* docs: added tutorial for abandoned cart

* small fixes

* add cover image
2025-03-27 19:59:29 +02:00