Commit Graph

56 Commits

Author SHA1 Message Date
Shahed Nasser
3fa19ae4f1 docs: updates and improvements to JS SDK guides (#12026) 2025-03-28 12:45:45 +02:00
Shahed Nasser
bf882b5aff docs: update storefront development guides to use JS SDK [2] (#12015) 2025-03-27 17:14:22 +02:00
Shahed Nasser
e950e2b2d2 docs: update storefront development guides to use JS SDK [1] (#11991)
* docs: update storefront development guides to use JS SDK [1]

* build and lint fixes

* fix links

* fix links
2025-03-26 16:20:21 +02:00
Shahed Nasser
2b2b65f5f7 docs: cache revalidation in next.js storefront + storefront totals (#11887)
* initial changes

* generated sidebar
2025-03-18 12:20:09 +02:00
Shahed Nasser
ac989a6ed1 moved configurations page 2025-03-11 10:59:29 +02:00
Shahed Nasser
5a5da0d6a1 remove main reference page 2025-03-10 17:34:45 +02:00
Shahed Nasser
11db301f9b added tools section 2025-03-10 14:41:02 +02:00
Shahed Nasser
d2c4323299 add storefront development sidebar 2025-03-10 14:20:29 +02:00
Shahed Nasser
5deb8eaf50 docs: support multiple sidebars in a project (#11768)
* changed to new sidebar across projects except resources

* finalize multi sidebar support

* clean up

* remove redundant property

* small changes

* fixes

* generate

* fix error

* fix initial open
2025-03-07 15:47:38 +02:00
Shahed Nasser
3616003145 docs: add sidebar sorting logic (#11751)
* docs: add sidebar sorting logic

* generate sidebar
2025-03-06 12:20:03 +02:00
Shahed Nasser
c29a709dd1 docs: changes for next release (#11708)
* docs: changes for next release

* small fixes

* fix lint error

* small fix
2025-03-04 15:23:50 +02:00
Shahed Nasser
95eef899f7 docs: add notes + missing links for user guide (#11621)
* docs: add notes + missing links for user guide

* fix build errors

* fixes
2025-02-26 15:28:18 +02:00
Shahed Nasser
b3604ef862 docs: added express checkout guide (#10810)
* initial draft

* docs: add express checkout guide

* fix lint errors

* small fixes

* add screenshot in summary

* add meta image
2025-02-12 14:10:37 +02:00
Shahed Nasser
5cb44d364d docs: general updates after 2.5.0 update (#11402) 2025-02-11 18:26:21 +02:00
Shahed Nasser
e0851b25ce docs: add storefront guide select customer address during checkout (#11288) 2025-02-03 19:15:46 +02:00
Ranjith kumar
b0cfb05bd1 docs: remove redundant body parameter in fetch customer (#10934) 2025-01-13 15:13:53 +02:00
Shahed Nasser
4250c292eb docs: fix authentication callback descriptions to include all query parameters (#10932) 2025-01-13 15:12:06 +02:00
Ranjith kumar
b938051c9b docs: update breaking changes for google auth storefront (#10924)
Medusa v2.2.0 has a breaking change where the `state` must also be passed to the auth callback.

This is not mentioned in the required actions for breaking changes in the release notes. I spent more than an hour trying to understand why the upgrade was breaking Google auth login even though I followed the breaking changes release notes and the docs.

Please update it in the release notes as well if possible - https://github.com/medusajs/medusa/releases/tag/v2.2.0

Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>
2025-01-13 08:43:16 +00:00
Shahed Nasser
f8c20e5ee4 docs: document registering user with existing email (#10859) 2025-01-07 12:39:16 +02:00
Shahed Nasser
4c0546a8e9 docs: update storefront development snippets for next.js 15 compatibility (#10843) 2025-01-07 09:02:18 +02:00
Shahed Nasser
0594f37d59 docs: fix highlights in checkout storefront guide (#10793) 2025-01-02 11:37:15 +02:00
Shahed Nasser
8e27af552f docs: fix selected variant in storefront guide (#10785) 2025-01-02 09:37:23 +02:00
Shahed Nasser
65d0a300ce docs: document how to calculate shipping prices in storefront (#10748) 2024-12-27 09:22:35 +02:00
Shahed Nasser
ebca8fed28 docs: revise commerce modules overview pages (#10738)
* revise API Key Module overview

* revise auth module

* support ref sidebar items

* remove examples

* revise cart module

* revise currency

* revise customer module

* revise fulfillment module

* revise inventory module

* revise order module

* revise payment

* revise pricing module

* revise product module

* revise promotion module

* revise region module

* revise sales channel module

* revise stock location module

* revise store module

* revise tax module

* revise user module

* lint content + fix snippets
2024-12-26 10:32:16 +02:00
Shahed Nasser
024c55d995 docs: add tags manually to doc pages (#10675) 2024-12-19 18:55:56 +02:00
Shahed Nasser
e41ab50f59 docs: added restock notification guide (#10413)
* docs: added restock notification guide

* changes

* lint fixes

* fixes

* more changes

* remove get email step

* add og image

* update sendRestockNotificationsWorkflow

* updates

* fix links
2024-12-10 16:50:40 +02:00
Shahed Nasser
096f1c2a9b docs: revise storefront development guide (#10522) 2024-12-10 12:33:52 +02:00
Shahed Nasser
263dbf7872 docs: update details on retrieving nested categories (#10317) 2024-11-27 18:52:33 +02:00
Shahed Nasser
ae1c607f4e docs: add details on updating a cart's customer (#10226)
Should be merged after releasing v2.0.5

Closes DX-1096
2024-11-25 11:56:35 +00:00
Shahed Nasser
ec1ab4db87 docs: add default value if PAK environment variable isn't set (#10185) 2024-11-20 19:06:08 +02:00
Shahed Nasser
3f4e6a168b docs: remove section on updating cart's customer (#10154)
* docs: add more clarification on updating a cart's customer

* remove section
2024-11-19 15:19:53 +02:00
Shahed Nasser
f5c580a661 docs: add missing prerequisite in stripe's storefront integration (#10097) 2024-11-18 09:52:00 +02:00
Shahed Nasser
c08df5ac44 docs: remove dev notices + fix AI assistant answer width (#9686)
* docs: remove dev notices + fix AI assistant answer width

* fix import

* more notes removal

* rc to latest
2024-10-23 09:52:52 +02:00
Shahed Nasser
f7932f11ed docs: fix details on setting / updating customer ID in cart (#9689) 2024-10-22 20:40:39 +03:00
Shahed Nasser
85865c18ff docs: document JS SDK installation (#9611)
- Add a page introducing JS SDK + how to install and use it (generally)
- Adjust admin tips on how to send requests
- Adjust storefront tips to mention JS SDK
- Add in the API reference intro how to install JS SDK
- Other related additions / changes

Closes DX-957
2024-10-18 12:47:40 +00:00
Shahed Nasser
0a37675f0e docs: add routing page (#9550)
- Add a new homepage to `book` project for the routing page
- Move all main doc pages to be under `/v2/learn` (and added redirects + fixed links across docs)
- Other: add admin components to resources dropdown + fixes to search on mobile.

Closes DX-955

Preview: https://docs-v2-git-docs-router-page-medusajs.vercel.app/v2
2024-10-18 08:24:34 +00:00
Shahed Nasser
b6df24463d docs: updates for breaking changes (#9558)
- Update modules registration
- Update `medusa-config.js` to `medusa-config.ts`
- Update the out directory in the admin deployment guide
- Update logger imports
- Other fixes

Note: will need to re-generate references afterwards

Closes #9548
2024-10-14 10:40:30 +00:00
Shahed Nasser
781d0ca624 docs: added docs for reset password (#9306)
- Added to docs on implementing auth flows using the module and API routes how to update a user's password
- Added guide on how to send a notification when a password token is generated
- Added a guide on implementing reset password flow in storefront
- Added OAS for the `/update` and `/reset-password` routes + generated specs for the API reference
2024-10-07 08:04:01 +00:00
Shahed Nasser
2e16949979 docs: update imports and package names across docs (#9375)
* docs: update imports and package names across docs
+ reference configs

* generate files

* fix import

* change preview to rc
2024-10-01 11:03:42 +02:00
Shahed Nasser
2f3d15de85 docs: fix attribute name in calculated price (#9215) 2024-09-20 17:22:35 +03:00
Shahed Nasser
58f06be44d docs: update docs across projects following publishable API key change in store routes (#9098)
* docs: update docs across projects following publishable API key change in store routes

* rename env variable

* move subscribe route out of store
2024-09-16 16:42:08 +03:00
Shahed Nasser
a5e8a55d63 docs: added storefront development guide on retrieving variant inventory details (#9032)
* docs: added storefront development guide on retrieving variant inventory details

* fix vale error
2024-09-09 10:02:59 +03:00
Shahed Nasser
3eb2387746 docs: fix pricing query params in storefront guide + modules restructure (#9021)
- Fix pricing query params previously using `customer_group_id` and `customer_id` as expected / accepted queries and update information around them
- Other: reorganize the introduction page of each module to show how to use it at the very beginning.
2024-09-09 06:43:43 +00:00
Shahed Nasser
a28c911c24 docs: update auth docs + add new storefront guides (#9020)
* docs: update auth docs + add new storefront guides

* lint content

* fix vale error

* add callback response schema

* Update www/apps/resources/app/commerce-modules/auth/auth-providers/github/page.mdx

Co-authored-by: Stevche Radevski <sradevski@live.com>

* Update www/apps/resources/app/commerce-modules/auth/auth-providers/github/page.mdx

Co-authored-by: Stevche Radevski <sradevski@live.com>

* Update www/apps/resources/app/commerce-modules/auth/authentication-route/page.mdx

Co-authored-by: Stevche Radevski <sradevski@live.com>

* address PR comments

* replace google -> github

* better explanation for refresh token

---------

Co-authored-by: Stevche Radevski <sradevski@live.com>
2024-09-06 15:26:10 +03:00
Shahed Nasser
0c4f4c8a11 docs: updates following authentication flow changes (#8706)
* docs: updates following authentication flow changes

* generate sidebar

* added open api specs

* fix up OAS

* changes to existing pages

* change sidebar items

* update marketplace recipe
2024-08-27 15:47:39 +03:00
Shahed Nasser
b36e2c3129 docs: update create payment collection route usage in store development (#8736) 2024-08-27 10:35:22 +02:00
Shahed Nasser
b23f0f8188 docs: change notes across docs based on redesign (#8662)
Change the prerequisites / soon / other notes based on latest redesign

Depends on #8661
2024-08-23 07:59:48 +00:00
Shahed Nasser
6f973d9f2b docs: added workflow hooks docs + changed workflow response (#8364)
* docs: added workflow hooks docs + changed workflow response

* Update page.mdx
2024-07-31 17:01:33 +03:00
Shahed Nasser
70d48a91b3 docs: added storefront guide on prices with taxes (#8326) 2024-07-30 12:52:21 +03:00
Shahed Nasser
e0c0a86264 docs: added tax-inclusive conceptual guide and updates to storefront guide (#8186)
* docs: added tax-inclusive conceptual guide and updates to storefront guide

* sentence fix

* currency_code -> country_code
2024-07-18 19:03:37 +02:00