From 39a0077e84781355042e70d789521cff15939f4e Mon Sep 17 00:00:00 2001 From: Shahed Nasser Date: Thu, 20 Feb 2025 11:22:15 +0200 Subject: [PATCH] docs: many improvements to settings user guides (#11536) * docs: many improvements to settings user guides * fix build errors --- .../app/inventory/inventory/page.mdx | 2 +- www/apps/user-guide/app/inventory/page.mdx | 2 +- .../user-guide/app/products/create/page.mdx | 2 +- .../user-guide/app/products/variants/page.mdx | 4 +- .../locations-and-shipping/locations/page.mdx | 290 ++++++++++++++++++ .../settings/locations-and-shipping/page.mdx | 28 ++ .../shipping-profiles/page.mdx | 98 ++++++ .../app/settings/locations/page.mdx | 79 ----- www/apps/user-guide/app/settings/page.mdx | 8 +- .../app/settings/product-tags/page.mdx | 80 +++++ .../app/settings/product-types/page.mdx | 99 ++++++ .../app/settings/regions/countries/page.mdx | 37 --- .../app/settings/regions/manage/page.mdx | 83 ----- .../user-guide/app/settings/regions/page.mdx | 137 ++++++++- .../app/settings/regions/providers/page.mdx | 29 -- .../regions/shipping-options/page.mdx | 74 ----- .../app/settings/return-reasons/page.mdx | 28 +- .../settings/sales-channels/manage/page.mdx | 53 ---- .../app/settings/sales-channels/page.mdx | 121 +++++++- .../settings/sales-channels/products/page.mdx | 41 --- .../app/settings/tax-regions/page.mdx | 169 ++++++++++ .../app/settings/taxes/manage/page.mdx | 38 --- .../user-guide/app/settings/taxes/page.mdx | 38 --- .../app/settings/taxes/tax-rates/page.mdx | 105 ------- www/apps/user-guide/generated/edit-dates.mjs | 30 +- www/apps/user-guide/generated/sidebar.mjs | 27 +- www/apps/user-guide/sidebar.mjs | 20 +- 27 files changed, 1073 insertions(+), 649 deletions(-) create mode 100644 www/apps/user-guide/app/settings/locations-and-shipping/locations/page.mdx create mode 100644 www/apps/user-guide/app/settings/locations-and-shipping/page.mdx create mode 100644 www/apps/user-guide/app/settings/locations-and-shipping/shipping-profiles/page.mdx delete mode 100644 www/apps/user-guide/app/settings/locations/page.mdx create mode 100644 www/apps/user-guide/app/settings/product-tags/page.mdx create mode 100644 www/apps/user-guide/app/settings/product-types/page.mdx delete mode 100644 www/apps/user-guide/app/settings/regions/countries/page.mdx delete mode 100644 www/apps/user-guide/app/settings/regions/manage/page.mdx delete mode 100644 www/apps/user-guide/app/settings/regions/providers/page.mdx delete mode 100644 www/apps/user-guide/app/settings/regions/shipping-options/page.mdx delete mode 100644 www/apps/user-guide/app/settings/sales-channels/manage/page.mdx delete mode 100644 www/apps/user-guide/app/settings/sales-channels/products/page.mdx create mode 100644 www/apps/user-guide/app/settings/tax-regions/page.mdx delete mode 100644 www/apps/user-guide/app/settings/taxes/manage/page.mdx delete mode 100644 www/apps/user-guide/app/settings/taxes/page.mdx delete mode 100644 www/apps/user-guide/app/settings/taxes/tax-rates/page.mdx diff --git a/www/apps/user-guide/app/inventory/inventory/page.mdx b/www/apps/user-guide/app/inventory/inventory/page.mdx index 4e4f93df2609a..7e3db37c3e7c1 100644 --- a/www/apps/user-guide/app/inventory/inventory/page.mdx +++ b/www/apps/user-guide/app/inventory/inventory/page.mdx @@ -32,7 +32,7 @@ To create an inventory item: - Optionally add the inventory item's attributes, including width, length, height, weight, MID code, HS code, country of origin, and material. - Once you're done, click the Next button. 2. Availability step using the [Bulk Editor](../../tips/bulk-editor/page.mdx): - - If you have locations in your store, which you can create in [Settings](../../settings/locations/page.mdx), you can specify the inventory item's quantity in each location. + - If you have locations in your store, which you can create in [Settings](../../settings/locations-and-shipping/locations/page.mdx), you can specify the inventory item's quantity in each location. 4. Once you're done, click the Save button. ![Create Inventory Item Form](https://res.cloudinary.com/dza7lstvk/image/upload/v1739882517/User%20Guide/Screenshot_2025-02-18_at_2.39.03_PM_jsfp3d.png) diff --git a/www/apps/user-guide/app/inventory/page.mdx b/www/apps/user-guide/app/inventory/page.mdx index 7e6b894256b5e..c33ab6b2ea118 100644 --- a/www/apps/user-guide/app/inventory/page.mdx +++ b/www/apps/user-guide/app/inventory/page.mdx @@ -31,4 +31,4 @@ Find tips to use lists effectively in [this guide](../tips/lists/page.mdx). - [Manage Inventory](./inventory/page.mdx) - [Manage Reservations](./reservations/page.mdx) -You can also manage locations under [Settings](../settings/locations/page.mdx). \ No newline at end of file +You can also manage stock locations under [Settings](../settings/locations-and-shipping/locations/page.mdx). \ No newline at end of file diff --git a/www/apps/user-guide/app/products/create/page.mdx b/www/apps/user-guide/app/products/create/page.mdx index 2bde02d04f773..9e26194721bce 100644 --- a/www/apps/user-guide/app/products/create/page.mdx +++ b/www/apps/user-guide/app/products/create/page.mdx @@ -91,7 +91,7 @@ In the third "Variants" step, you can manage the product's variants you added in - Price columns that have the icon are tax-exclusive prices. Medusa will calculate taxes during checkout and add them to this price. - Price columns that have the icon are tax-inclusive prices. Medusa will calculate taxes during checkout as part of this price. -Tax-inclusive pricing is configured in the [currency's](../../settings/store/page.mdx) or [region's](../../settings/regions/page.mdx) settings. +Tax-inclusive pricing is configured in the [currency's](../../settings/store/page.mdx#edit-tax-inclusive-setting-for-currency) or [region's](../../settings/regions/page.mdx#tax-inclusive-pricing-for-regions) settings. diff --git a/www/apps/user-guide/app/products/variants/page.mdx b/www/apps/user-guide/app/products/variants/page.mdx index d00496a230b47..0cc47987bf3b6 100644 --- a/www/apps/user-guide/app/products/variants/page.mdx +++ b/www/apps/user-guide/app/products/variants/page.mdx @@ -58,7 +58,7 @@ You can create a variant to be multi-part or a bundle, as explained in [this gui - Price columns that have the icon are tax-exclusive prices. Medusa will calculate taxes during checkout and add them to this price. - Price columns that have the icon are tax-inclusive prices. Medusa will calculate taxes during checkout as part of this price. -Tax-inclusive pricing is configured in the [currency's](../../settings/store/page.mdx) or [region's](../../settings/regions/page.mdx) settings. +Tax-inclusive pricing is configured in the [currency's](../../settings/store/page.mdx#edit-tax-inclusive-setting-for-currency) or [region's](../../settings/regions/page.mdx#tax-inclusive-pricing-for-regions) settings. @@ -95,7 +95,7 @@ To edit the prices of product variants: - Price columns that have the icon are tax-exclusive prices. Medusa will calculate taxes during checkout and add them to this price. - Price columns that have the icon are tax-inclusive prices. Medusa will calculate taxes during checkout as part of this price. -Tax-inclusive pricing is configured in the [currency's](../../settings/store/page.mdx) or [region's](../../settings/regions/page.mdx) settings. +Tax-inclusive pricing is configured in the [currency's](../../settings/store/page.mdx#edit-tax-inclusive-setting-for-currency) or [region's](../../settings/regions/page.mdx#tax-inclusive-pricing-for-regions) settings. diff --git a/www/apps/user-guide/app/settings/locations-and-shipping/locations/page.mdx b/www/apps/user-guide/app/settings/locations-and-shipping/locations/page.mdx new file mode 100644 index 0000000000000..37b2fd3f18f08 --- /dev/null +++ b/www/apps/user-guide/app/settings/locations-and-shipping/locations/page.mdx @@ -0,0 +1,290 @@ +--- +sidebar_position: 7 +sidebar_label: "Locations" +--- + +import { EllipsisHorizontal, TaxExclusive, TaxInclusive } from "@medusajs/icons" + +export const metadata = { + title: `Manage Locations`, +} + +# {metadata.title} + +In this guide, you’ll learn how to manage the stock locations using the Medusa Admin. + +## What is a Stock Location? + +A location represents a physical stocking location, such as a warehouse. You can then manage [inventory item](../../../inventory/inventory/page.mdx) quantities in those locations. + +For each location, you can specify the sales channels it's associated with, the fulfillment providers available in that location, and the shipping options available from that location. + +Then, during checkout, a customer can only choose shipping options available from the location associated with the sales channel they're ordering from. After they place the order, the items are fulfilled from the stock location associated with the order's sales channel. + +--- + +## Create Location + +To create a stock location: + +1. Go to Settings → Locations & Shipping. +2. Click the Create button at the top right. +3. In the form that opens: + - Enter the location's name, such as "Main Warehouse". + - Enter the address details. It's only required to enter an address line and choose a country. +4. Once you're done, click the Save button. + +![Create location form](https://res.cloudinary.com/dza7lstvk/image/upload/v1739981066/User%20Guide/Screenshot_2025-02-19_at_6.04.12_PM_spbndl.png) + +--- + +## View Location Details + +To view the details of a location: + +1. Go to Settings → Locations. +2. Click on "View details" at the top right of the location's section. + +This opens the location's details page where you can also manage the location. + +![Locations details page](https://res.cloudinary.com/dza7lstvk/image/upload/v1739981293/User%20Guide/Screenshot_2025-02-19_at_6.06.01_PM_ps7s97.png) + +--- + +## Edit Location + +To edit a stock location: + +1. Open the location's details page. +2. Click the icon at the top right of the first section. +3. Choose Edit from the dropdown. +4. In the side window that opens, you can edit the location's name and address details. +5. Once you're done, click the Save button. + +![Edit location form](https://res.cloudinary.com/dza7lstvk/image/upload/v1739981386/User%20Guide/Screenshot_2025-02-19_at_6.09.25_PM_yd6zta.png) + +--- + +## Create Shipping Options + +A location can have shipping options for the pickup and shipping modes. You can manage these options from the location's details page. + +Shipping options are organized by service zones in each shipping mode. A service zone is a geographical area where you can specify the shipping options available. For example, you can create a service zone for the United States, and specify the shipping options available in the US. + +So, to create a shipping option for either pick-up or shipping, you need to enable the pick-up or shipping mode, create a service zone for that mode, and create the shipping option within that zone. + +### 1. Enable Shipping Mode + +By default, pick-up and shipping are disabled in a location. To enable either: + +1. Go to the location's details page. +2. Click the icon at the top right of the "Pickup" or "Shipping" section. +3. Choose Enable from the dropdown. + +You can also disable the shipping mode by following the same steps. + +### 2. Create Service Zone + +To ceate a service zone for pick-up or shipping: + +1. Go to the location's details page. +2. Click the icon at the top right of the "Pickup" or "Shipping" section. +3. Choose "Create service zone" from the dropdown. +4. In the form that opens: + - In the Name field, enter the name of the service zone. For example, "United States". + - Under the Areas section, you'll choose the countries that are covered by this service zone: + - Click the "Manage areas" button. + - Check the countries to add to the service zone. + - Click the Save button. +5. Once you're done, click the Save button. + +![Create service zone form](https://res.cloudinary.com/dza7lstvk/image/upload/v1739982156/User%20Guide/Screenshot_2025-02-19_at_6.22.17_PM_ajd36h.png) + +Learn how you can further manage this service zone in the [Manage Service Zones section](#manage-service-zones). + +### 3. Create Shipping Options + +You can now add shipping options to the service zone you created. You can either add a standard shipping option that's used during checkout, or a return shipping option, which is only used to return items from the customer. + +To create a shipping option: + +1. Go to the location's details page. +2. In the "Pickup" or "Shipping" section, find the service zone you want to add the shipping option to. +3. Click the "Create option" at the right of either "Shipping options" or "Return options", based on the type of shipping option you're creating. +4. In the form that opens: + - For the "Price type", chose **Fixed** if you want to apply fixed pricing for the shipping option, or **Calculated** if the price should be calculated dynamically during checkout. Calculated prices are useful if you're using a third-party fulfillment provider that calculates prices dynamically. + - If you chose Fixed, you'll set the price in the next step of the form. + - If you choose Calculated and the fulfillment provider you choose doesn't support calculated prices, the shipping option creation will fail. + - In the Name field, enter a name for the shipping option. Customers will see this option during checkout. + - In the Shipping Profile field, choose the shipping profile that this option can be used for. Only products belonging to this shipping profile can be shipped with this shipping option. + - In the Fulfillment Provider field, choose the fulfillment provider that will handle shipping orders using this option. + - If you don't find the fulfillment provider you're looking for, make sure it's [added to the location](#manage-fulfillment-providers). + - In the Fulfillment Option field, choose a fulfillment option from the fulfillment provider. For example, UPS may provide express or standard fulfillment options. + - If you're unsure about which fulfillment option to choose, contact your technical team for assistance. + - If you don't want this shipping option to be used by customers during checkout, disable the "Enable in store" toggle. This is useful if you're creating a shipping option that's only used internally. + +![Create shipping option form step 1](https://res.cloudinary.com/dza7lstvk/image/upload/v1739982940/User%20Guide/Screenshot_2025-02-19_at_6.30.28_PM_cteij2.png) + +If you chose a "Calculated" price type, you can click the "Save" button to create the shipping option. Otherwise click Continue to proceed to the Prices step. + +In the Prices step, use the [Bulk Editor](../../../tips/bulk-editor/page.mdx) to enter the shipping option's prices for every currency and region in your store. Once you're done, click the Save button. + +Learn how you can further manage the shipping option in the [Manage Shipping Options section](#manage-shipping-options). + + + +- Price columns that have the icon are tax-exclusive prices. Medusa will calculate taxes during checkout and add them to this price. +- Price columns that have the icon are tax-inclusive prices. Medusa will calculate taxes during checkout as part of this price. + +Tax-inclusive pricing is configured in the [currency's](../../store/page.mdx#edit-tax-inclusive-setting-for-currency) or [region's](../../regions/page.mdx#tax-inclusive-pricing-for-regions) settings. + + + +![Create shipping option form step 2](https://res.cloudinary.com/dza7lstvk/image/upload/v1739983344/User%20Guide/Screenshot_2025-02-19_at_6.42.12_PM_u3dk2g.png) + +--- + +## Manage Service Zones + +You can manage service zones in pick-up or shipping mode by [creating](#2-create-service-zone), editing, or deleting them. + +### Edit Service Zone Details + +To edit a service zone in a location: + +1. Go to the location's details page. +2. In the "Pickup" or "Shipping" sections, find the service zone and click on the icon at its right. +3. Choose Edit from the dropdown. +4. In the side window that opens, you can edit the service zone's name. +5. Once you're done, click the Save button. + +![Edit service zone form](https://res.cloudinary.com/dza7lstvk/image/upload/v1739983657/User%20Guide/Screenshot_2025-02-19_at_6.47.22_PM_xsktmj.png) + +### Manage Service Zone Areas + +To manage the areas in a service zone: + +1. Go to the location's details page. +2. In the "Pickup" or "Shipping" sections, find the service zone and click on the icon at its right. +3. Choose "Manage areas" from the dropdown. +4. In the form that opens, manage the areas in the service zone: + - Click the "Manage areas" button. + - Check the countries to add to the service zone, and uncheck the countries to remove from the service zone. + - Click the Save button. +5. Once you're done, click the Save button. + +![Manage service zone areas](https://res.cloudinary.com/dza7lstvk/image/upload/v1739983833/User%20Guide/Screenshot_2025-02-19_at_6.49.50_PM_zoud5i.png) + +### Delete Service Zone + + + +Deleting a service zone is irreversible. It will delete all shipping options in the service zone. + + + +To delete a service zone: + +1. Go to the location's details page. +2. In the "Pickup" or "Shipping" sections, find the service zone and click on the icon at its right. +3. Choose Delete from the dropdown. +4. Confirm deleting the service zone by clicking the Delete button in the pop-up. + +--- + +## Manage Shipping Options + +You can manage shipping options in pick-up and shipping modes by [creating](#create-shipping-options), editing, or deleting them. + +### Edit Shipping Option Details + +To edit a shipping option's details: + +1. Go to the location's details page. +2. In the "Pickup" or "Shipping" sections, find the shipping option and click on the icon at its right. +3. Choose "Edit option" from the dropdown. +4. In the side window that opens, you can edit the shipping option's price type, name, shipping profile, and whether it's enabled in store for customers to use. +5. Once you're done, click the Save button. + +![Edit shipping option details form](https://res.cloudinary.com/dza7lstvk/image/upload/v1739984284/User%20Guide/Screenshot_2025-02-19_at_6.57.23_PM_k9z5wq.png) + +### Edit Shipping Option Prices + +To edit the prices of shipping options whose price type is Fixed: + +1. Go to the location's details page. +2. In the "Pickup" or "Shipping" sections, find the shipping option and click on the icon at its right. +3. Choose "Edit prices" from the dropdown. +4. In the [Bulk Editor](../../../tips/bulk-editor/page.mdx) that opens, you can edit the shipping option's price for every currency and region in your store. +5. Once you're done, click the Save button. + + + +- Price columns that have the icon are tax-exclusive prices. Medusa will calculate taxes during checkout and add them to this price. +- Price columns that have the icon are tax-inclusive prices. Medusa will calculate taxes during checkout as part of this price. + +Tax-inclusive pricing is configured in the [currency's](../../store/page.mdx#edit-tax-inclusive-setting-for-currency) or [region's](../../regions/page.mdx#tax-inclusive-pricing-for-regions) settings. + + + +![Edit shipping option prices form](https://res.cloudinary.com/dza7lstvk/image/upload/v1739984484/User%20Guide/Screenshot_2025-02-19_at_7.00.25_PM_a0dsoh.png) + +### Delete Shipping Option + + + +Deleting a shipping option is irreversible. + + + +To delete a shipping option: + +1. Go to the location's details page. +2. In the "Pickup" or "Shipping" sections, find the shipping option and click on the icon at its right. +3. Choose Delete from the dropdown. +4. Confirm deleting the shipping option by entering its name in the pop-up and clicking the "Delete" button. + +--- + +## Change Associated Sales Channels + +To change the sales channels associated with a location: + +1. Go to the location's details page. +2. Click the icon at the top right of the "Sales Channels" section. +3. Choose Edit from the dropdown. +4. In the list that opens, you can select the sales channels to associate with the location, or unselect the ones you want to remove. +5. Once you're done, click the Save button. + +![Change associated sales channels](https://res.cloudinary.com/dza7lstvk/image/upload/v1739981529/User%20Guide/Screenshot_2025-02-19_at_6.11.53_PM_lvlolu.png) + +--- + +## Manage Fulfillment Providers + +To manage the fulfillment providers available in a location: + +1. Go to the location's details page. +2. Click the icon at the top right of the "Fulfillment Providers" section. +3. Choose Edit from the dropdown. +4. In the list that opens, you can select the fulfillment providers to associate with the location, or unselect the ones you want to remove. +5. Once you're done, click the Save button. + +![Manage fulfillment providers](https://res.cloudinary.com/dza7lstvk/image/upload/v1739981633/User%20Guide/Screenshot_2025-02-19_at_6.13.31_PM_wpdsfk.png) + +--- + +## Delete Location + + + +Deleting a location is irreversible and will delete its service zones and shipping options. + + + +To delete a location: + +1. Open the location's details page. +2. Click the icon at the top right of the first section. +3. Choose Delete from the dropdown. +4. Confirm deleting the location by entering its name and clicking the Delete button. diff --git a/www/apps/user-guide/app/settings/locations-and-shipping/page.mdx b/www/apps/user-guide/app/settings/locations-and-shipping/page.mdx new file mode 100644 index 0000000000000..c9377520f61cd --- /dev/null +++ b/www/apps/user-guide/app/settings/locations-and-shipping/page.mdx @@ -0,0 +1,28 @@ +import { EllipsisHorizontal } from "@medusajs/icons" + +export const metadata = { + title: `Locations & Shipping Overview`, +} + +# {metadata.title} + +In the Locations & Shipping settings, you can manage stock locations and their shipping options, and other shipping-related configurations, such as shipping profiles. + +A stock location: + +- Is associated with sales channels. This is useful to fulfill orders from the location associated with the sales channel that the order was placed on. +- Has fulfillment providers that can be used in that location. For example, you can use UPS in the United States and DHL in Europe. +- Has shipping and pick up modes that you can add shipping options to. These are the shipping options used to fulfill items from this stock location. + +A shipping profile groups similar products that require a different way of fulfillment. For example, fragile products are fulfilled differently than normal products. You can then provide shipping options specific for products that belong to the Fragile shipping profile. + +To view location and shipping settings, go to Settings → Locations & Shipping. + +![Location & shipping settings](https://res.cloudinary.com/dza7lstvk/image/upload/v1739980281/User%20Guide/Screenshot_2025-02-19_at_5.51.00_PM_yiczmt.png) + +--- + +## Manage Location & Shipping Settings + +- [Manage Locations](./locations/page.mdx) +- [Manage Shipping Profiles](./shipping-profiles/page.mdx) diff --git a/www/apps/user-guide/app/settings/locations-and-shipping/shipping-profiles/page.mdx b/www/apps/user-guide/app/settings/locations-and-shipping/shipping-profiles/page.mdx new file mode 100644 index 0000000000000..97a7c38727310 --- /dev/null +++ b/www/apps/user-guide/app/settings/locations-and-shipping/shipping-profiles/page.mdx @@ -0,0 +1,98 @@ +import { EllipsisHorizontal, ArrowUpRightOnBox, EllipsisVertical } from "@medusajs/icons" + +export const metadata = { + title: `Manage Shipping Profiles`, +} + +# {metadata.title} + +In this guide, you’ll learn what shipping profiles are and how to manage them in the Medusa Admin. + +## What is a Shipping Profile? + +A shipping profile groups products with similar shipping requirements, allowing you to cater shipping options specifically for those products. + +For example, if your store has fragile items that are shipped differently from other products, you can create a "Fragile" shipping profile and associate it with the fragile products. Then, you can [create shipping options](../locations/page.mdx#create-shipping-options) for fragile products, and options for other products. + +--- + +## View Shipping Profiles + +To view shipping profiles in your store: + +1. Go to Settings → Location & Shipping. +2. In the Shipping Configuration section, click on "Shipping Profiles". + +Here, you can see a list of all the shipping profiles you have set up in your store. You can also search, filter, and sort the shipping profiles to find the one you are looking for. + +![Shipping profiles list](https://res.cloudinary.com/dza7lstvk/image/upload/v1739985031/User%20Guide/Screenshot_2025-02-19_at_7.09.44_PM_cq0cwe.png) + +--- + +## Create Shipping Profile + +To create a shipping profile: + +1. Go to Settings → Location & Shipping -> Shipping Profiles. +2. Click the Create button at the top right. +3. In the form that opens: + - In the Name field, enter a name for the shipping profile. For example, "Fragile". + - In the Type field, enter the type of products that belong to the shipping profile. For example, "fragile" or "heavy". +4. Once you're done, click the Save button. + +![Create shipping profile form](https://res.cloudinary.com/dza7lstvk/image/upload/v1739985215/User%20Guide/Screenshot_2025-02-19_at_7.13.21_PM_wjp2tm.png) + +--- + +## View Shipping Profile Details + +To view the details of a shipping profile: + +1. Go to Settings → Location & Shipping -> Shipping Profiles. +2. Click on a shipping profile from the list. + +This opens the shipping profile's details page where you can also manage the shipping profile. + +![Shipping profile details](https://res.cloudinary.com/dza7lstvk/image/upload/v1739985297/User%20Guide/Screenshot_2025-02-19_at_7.14.33_PM_g7egem.png) + +--- + +## Manage Products of Shipping Profile + +You can manage the shipping profile of a product in the [product's details page](../../../products/edit/page.mdx#edit-products-shipping-profile). + +--- + +## Manage Shipping Profile Metadata + +Metadata is custom data that can be associated with the shipping profile in key-value pairs. This is usually used by developers for custom integrations or to store additional information about the shipping profile. + +To edit the shipping profile's metadata: + +1. Click the icon at the right of the "Metadata" section. +2. In the side window that opens: + - Manage the key-value pairs in the table. + - To add a new row of key-value pairs before or after a row: + - Hover over the row and click the icon at its right. + - Choose "Insert row above" or "Insert row below" from the dropdown. + - To delete a row of key-value pairs: + - Hover over the row and click the icon at its right. + - Choose "Delete row" from the dropdown. +3. Once you're done, click the Save button. + +--- + +## Delete Shipping Profile + + + +Deleting a shipping profile is irreversible. + + + +To delete a shipping profile: + +1. Go to the shipping profile's details page. +2. Click the icon at the top right of the first section. +3. Choose Delete from the dropdown. +4. Confirm the deletion by entering the shipping profile's name in the pop-up and clicking the Delete button. diff --git a/www/apps/user-guide/app/settings/locations/page.mdx b/www/apps/user-guide/app/settings/locations/page.mdx deleted file mode 100644 index ee350afc9fb2d..0000000000000 --- a/www/apps/user-guide/app/settings/locations/page.mdx +++ /dev/null @@ -1,79 +0,0 @@ ---- -sidebar_position: 7 -sidebar_label: "Locations" ---- - -import { EllipsisHorizontal } from "@medusajs/icons" - -export const metadata = { - title: `Manage Locations`, -} - -# {metadata.title} - -In this document, you’ll learn how to manage the locations using the Medusa Admin. - -## Overview - -A location represents a physical stocking location, such as a warehouse. It's associated with a sales channel. - -When fulfilling an order, you can select the location to fulfill the items from. Similarly, when requesting or handling a return, you can select the location to return the item to. This automatically increments or decrements the quantity as necessary. - -An [inventory item's](../../inventory/page.mdx) quantity is set per location. - ---- - -## Create a Location - -{/* TODO check info for correctness */} - -To create a location: - -1. Go to Settings → Locations. -2. Click the Add Location button. -3. In the form that opens: - 1. Enter the location's name and address details. - 2. To associate the location with one or more sales channel: - 1. Enable the Sales Channels field. - 2. Check the sales channels that the location is associated with. - 3. Under the Metadata section, you can add additional data as key-value pairs. -4. Once you're done, click the "Add location" button. - ---- - -## Edit a Location - -To edit a location: - -1. Go to Settings → Locations. -2. Click on the location to edit. -3. Choose Edit from the dropdown. -4. In the drawer that opens, edit the location's details. -5. Once you're done, click the Save button. - ---- - -## Change Associated Sales Channel - -{/* TODO check info for correctness */} - -1. Go to Settings → Locations. -2. Click on the location to edit. -3. Under the Sales Channels section: - 1. To add a sales channel: - 1. Click the "Add sales channels" button at the top right. - 2. Check the sales channels you want to associate with the location. - 3. Once you're done, click the Save button. - 2. To delete a sales channel: - 1. Find in the list the sales channel to delete and click the icon at its right. - 2. Choose Delete from the dropdown. - 3. Confirm deleting the sales channel by clicking the Delete button. - ---- - -## Delete a Location - -1. Go to Settings → Locations. -2. Find the location to edit and click the icon at its right. -3. Choose Delete from the dropdown. -4. Confirm deleting the location by entering its name and clicking the Delete button in the pop-up. diff --git a/www/apps/user-guide/app/settings/page.mdx b/www/apps/user-guide/app/settings/page.mdx index 4a67ae87a69af..4fed6e74a2ada 100644 --- a/www/apps/user-guide/app/settings/page.mdx +++ b/www/apps/user-guide/app/settings/page.mdx @@ -25,12 +25,12 @@ You can also go back to the main sidebar by clicking the icon at the top right of the first section. +3. Choose Edit from the dropdown. +4. In the side window that opens, you can edit the product tag's value. +5. Once you're done, click the Save button. + +![Edit product tag form](https://res.cloudinary.com/dza7lstvk/image/upload/v1739979916/User%20Guide/Screenshot_2025-02-19_at_5.45.04_PM_cso1mj.png) + +--- + +## Manage Products in Tag + +You can manage the tag of a product in the [product's details page](../../products/edit/page.mdx#manage-product-organization). + +--- + +## Delete Product Tag + + + +Deleting a product tag is irreversible. + + + +To delete a product tag: + +1. Go to the product tag's details page. +2. Click the icon at the top right of the first section. +3. Choose Delete from the dropdown. +4. Confirm the deletion by clicking the Delete button in the pop-up. diff --git a/www/apps/user-guide/app/settings/product-types/page.mdx b/www/apps/user-guide/app/settings/product-types/page.mdx new file mode 100644 index 0000000000000..c5212655b1917 --- /dev/null +++ b/www/apps/user-guide/app/settings/product-types/page.mdx @@ -0,0 +1,99 @@ +import { EllipsisHorizontal, ArrowUpRightOnBox, EllipsisVertical } from "@medusajs/icons" + +export const metadata = { + title: `Manage Product Types`, +} + +# {metadata.title} + +In this guide, you’ll learn how to manage product types in the Medusa Admin. + +## View Product Types + +Product types are useful to group products by a general type, such as "Physical" and "Digital" product types. + +To view product types in your store, go to Settings → Product Types. Here, you can see a list of all the product types you have set up in your store. You can also search, filter, and sort the product types to find the one you are looking for. + +![Product types list](https://res.cloudinary.com/dza7lstvk/image/upload/v1739978497/User%20Guide/Screenshot_2025-02-19_at_5.21.04_PM_dcux4c.png) + +--- + +## Create Product Type + +To create a product type: + +1. Go to Settings → Product Types. +2. Click the Create button at the top right. +3. In the form that opens, enter a value for the product type in the Value field. For example, "Digital". +4. Once you're done, click the Create button. + +![Create product type form](https://res.cloudinary.com/dza7lstvk/image/upload/v1739978980/User%20Guide/Screenshot_2025-02-19_at_5.29.25_PM_k96euy.png) + +--- + +## View Product Type Details + +To view the details of a product type: + +1. Go to Settings → Product Types. +2. Click on a product type from the list. + +This opens the product type's details page where you can also manage the product type. + +![Product type details](https://res.cloudinary.com/dza7lstvk/image/upload/v1739979095/User%20Guide/Screenshot_2025-02-19_at_5.30.49_PM_wr7mro.png) + +--- + +## Edit Product Type Details + +To edit the details of a product type: + +1. Go to the product type's details page. +2. Click the icon at the top right of the first section. +3. Choose Edit from the dropdown. +4. In the side window that opens, you can edit the product type's value. +5. Once you're done, click the Save button. + +![Edit product type form](https://res.cloudinary.com/dza7lstvk/image/upload/v1739979188/User%20Guide/Screenshot_2025-02-19_at_5.32.46_PM_hsdluu.png) + +--- + +## Manage Products in Type + +You can manage the type of a product in the [product's details page](../../products/edit/page.mdx#manage-product-organization). + +--- + +## Manage Product Type Metadata + +Metadata is custom data that can be associated with the product type in key-value pairs. This is usually used by developers for custom integrations or to store additional information about the product type. + +To edit the product type's metadata: + +1. Click the icon at the right of the "Metadata" section. +2. In the side window that opens: + - Manage the key-value pairs in the table. + - To add a new row of key-value pairs before or after a row: + - Hover over the row and click the icon at its right. + - Choose "Insert row above" or "Insert row below" from the dropdown. + - To delete a row of key-value pairs: + - Hover over the row and click the icon at its right. + - Choose "Delete row" from the dropdown. +3. Once you're done, click the Save button. + +--- + +## Delete Product Type + + + +Deleting a product type is irreversible. + + + +To delete a product type: + +1. Go to the product type's details page. +2. Click the icon at the top right of the first section. +3. Choose Delete from the dropdown. +4. Confirm the deletion by clicking the Delete button in the pop-up. diff --git a/www/apps/user-guide/app/settings/regions/countries/page.mdx b/www/apps/user-guide/app/settings/regions/countries/page.mdx deleted file mode 100644 index 6189aaf2e2b09..0000000000000 --- a/www/apps/user-guide/app/settings/regions/countries/page.mdx +++ /dev/null @@ -1,37 +0,0 @@ ---- -sidebar_position: 2 -sidebar_label: "Manage Countries" ---- - -import { EllipsisHorizontal } from "@medusajs/icons" - -export const metadata = { - title: `Manage Countries in a Region`, -} - -# {metadata.title} - -In this document, you'll learn how to manage countries in a region. - -## Add Countries - -To add a country to a region: - -1. Go to Settings → Regions. -2. Click on the region you want to edit. -3. Under the Countries section, click the icon at the top right. -4. Choose "Add countries" from the dropdown. -5. In the list that shows, check the checkboxes next to the countries you want to add. -6. Once you're done, click the Save button. - ---- - -## Remove Countries - -To remove countries from a region: - -1. Go to Settings → Regions. -2. Click on the region you want to edit. -3. Under the Countries section, check the checkbox next to the countries you want to remove. -4. Once you're done, press R. -5. Confirm removing the country by typing "Remove" in the field and clicking the Remove button in the pop-up. \ No newline at end of file diff --git a/www/apps/user-guide/app/settings/regions/manage/page.mdx b/www/apps/user-guide/app/settings/regions/manage/page.mdx deleted file mode 100644 index 1d626818b8662..0000000000000 --- a/www/apps/user-guide/app/settings/regions/manage/page.mdx +++ /dev/null @@ -1,83 +0,0 @@ ---- -sidebar_position: 1 ---- - -import { EllipsisHorizontal } from "@medusajs/icons" - -export const metadata = { - title: `Manage Regions`, -} - -# {metadata.title} - -In this document, you’ll learn how to view and manage regions in your Medusa Admin. - -## View Regions - -To view your regions, go to Settings → Regions. You'll find a list of available regions in your store. - ---- - -## Create a Region - -To create a region: - -1. Go to Settings → Regions. -2. Click the Create button. -3. In the form that opens: - 1. Enter the region's name in the Name field. - 2. Choose the region's currency in the Currency field. If you can't find a currency, make sure to [add it to the store first](../../store/page.mdx#add-currencies). - 3. Enter the tax rate and, optionally, the tax code of the region. - 4. Enable the "Tax inclusive pricing" field to specify that all prices of that region include taxes. - 5. To add countries to the region: - 1. Click the "Add countries" button. - 2. In the list shown, check the checkbox next to the countries to add. - 3. Once you're done, click the Save button. - 6. Under the Providers section, select the available payment and fulfillment providers in the region. -4. Once you’re done, click on the Save button. - ---- - -## Edit a Region - -To edit a region's details: - -1. Go to Settings → Regions. -2. Click on the region you want to edit. -3. Click the icon at the top right of the first section. -4. Choose Edit from the dropdown. -5. In the drawer that opens, edit the region's details. -6. Once done, click the Save button. - ---- - -## Edit Region's Tax Settings - -When you create a region, taxes settings are created for that region as well. - -To view and edit a region's tax settings: - -1. Go to Settings → Regions. -2. Click on the region you want to edit. -3. Click the icon at the top right of the first section. -4. Choose "Tax settings" from the dropdown. - -This opens the taxes page of the region. Learn more about managing taxes in [this guide](../../taxes/manage/page.mdx). - ---- - -## Delete a Region - - - -Deleting a region is irreversible. - - - -To delete a region: - -1. Go to Settings → Regions. -2. Click on the region you want to delete. -3. Click the icon at the top right of the first section. -4. Choose Delete from the dropdown. -5. Confirm deleting the region by entering its name and clicking the Delete button in the pop-up. diff --git a/www/apps/user-guide/app/settings/regions/page.mdx b/www/apps/user-guide/app/settings/regions/page.mdx index 55e6c7aff8e9c..b7a550b1f8d83 100644 --- a/www/apps/user-guide/app/settings/regions/page.mdx +++ b/www/apps/user-guide/app/settings/regions/page.mdx @@ -2,40 +2,147 @@ sidebar_position: 4 --- +import { EllipsisHorizontal, ArrowUpRightOnBox, EllipsisVertical } from "@medusajs/icons" + export const metadata = { - title: `Regions`, + title: `Manage Regions`, } # {metadata.title} -In this document, you’ll get an overview of regions and learn about their importance in your commerce store. +In this guide, you’ll learn what regions are and how to manage them. + +## What is a Region? + +A Region represents different countries or areas that your commerce store serves customers in. A region can have multiple countries with the same settings, but a region can also be specific to a single country with its own settings. + +Each region has its own settings, such as currencies, payment providers, and fulfillment providers. You can set up regions to manage different aspects of your store based on the location of your customers. + +### Tax-Inclusive Pricing for Regions + +A region has a tax-inclusive pricing setting that determines how taxes are added to prices for the region. During checkout, after Medusa calculates the tax of a product or shipping, it will either: + +- Add the tax to the product's price (tax-exclusive pricing). +- Include the tax in the product's price (tax-inclusive pricing). + +You can manage this setting during region creation or update. + +--- + +## View Regions + +To view regions in your store, go to Settings → Regions. Here, you can see a list of all the regions you have set up in your store. You can also search, filter, and sort the regions to find the one you are looking for. + +![Regions list](https://res.cloudinary.com/dza7lstvk/image/upload/v1739965984/User%20Guide/Screenshot_2025-02-19_at_1.52.50_PM_xpbkm9.png) + +--- + +## Create Region + +To create a region: + +1. Go to Settings → Regions. +2. Click the Create button at the top right. +3. In the form that opens: + - In the Name field, enter a name for the region. For example, "Europe". + - In the Currency field, select the region's currency. A region can only have one currency. + - If you don't want taxes to be calculated automatically during checkout, you can disable the "Automatic Taxes" toggle. This input is mostly useful for developers and should be administered by your technical team. + - If you want to enable [tax-inclusive pricing](#tax-inclusive-pricing-for-regions), toggle the "Tax inclusive pricing" setting. + - Under the Countries section, you can add the countries that are part of the region. To add countries: + - Click the "Add countries" button. + - Check the countries to add to the region. + - Click the Save button. + - In the Payment Providers field, choose the payment providers that customers in this region can use to pay for their orders. +4. Once you're done, click the Save button. + +![Create region form](https://res.cloudinary.com/dza7lstvk/image/upload/v1739968503/User%20Guide/Screenshot_2025-02-19_at_2.34.34_PM_dpciri.png) + +--- + +## View Region Details + +To view the details of a region: + +1. Go to Settings → Regions. +2. Click on the region you want to view. + +This opens the region's details page where you can also manage the region. -## Overview +![Region details](https://res.cloudinary.com/dza7lstvk/image/upload/v1739968596/User%20Guide/Screenshot_2025-02-19_at_2.36.23_PM_ny7bip.png) -Regions are essential to your commerce store. You use regions to specify available currencies, payment providers, fulfillment providers, tax rates, and more for different regions. +--- + +## Edit Region Details + +To edit a region's details: -Regions represent different countries that your commerce store serves customers in. A region can have multiple countries with the same settings, but a region can also be specific to a single country with its own settings. +1. Go to the region's details page. +2. Click the icon at the top right of the first section. +3. Choose Edit from the dropdown. +4. In the side window that opens, you can edit the region's name, currency, payment providers, and settings for automatic taxes and [tax-inclusive pricing](#tax-inclusive-pricing-for-regions). +5. Once you're done, click the Save button. + +![Edit region details form](https://res.cloudinary.com/dza7lstvk/image/upload/v1739968747/User%20Guide/Screenshot_2025-02-19_at_2.38.54_PM_cqali9.png) --- -## Currencies in Regions +## Manage Region's Countries + +You can manage a region's countries to add or remove them from the region. -Each region uses one currency, and you can set prices across your store for each region. +### Add Countries to Region -For example, when you create a product variant, you set the price of that variant for each currency and region in your store. +To add countries to a region: + +1. Go to the region's details page. +2. Click the icon at the top right of the "Countries" section. +3. Choose "Add countries" from the dropdown. +4. In the list that opens, check the countries you want to add to the region. +5. Once you're done, click the Add button. + +### Remove Countries from Region + +To remove countries from a region: + +1. Go to the region's details page. +2. Under the "Countries" section, check the countries you want to remove from the region. +3. Press R or click the Remove button at the bottom center of the page. +4. Confirm removing the country by typing "Remove" in the pop-up and clicking the Remove button. + +![Remove countries from region](https://res.cloudinary.com/dza7lstvk/image/upload/v1739968984/User%20Guide/Screenshot_2025-02-19_at_2.42.51_PM_ol6mvj.png) --- -## How Customers Use Regions +## Manage Region Metadata -When a customer browses your storefront, they choose the region based on their location. Then, the prices, shipping providers, payment providers, and taxes available and applied are based on the chosen region. +Metadata is custom data that can be associated with the region in key-value pairs. This is usually used by developers for custom integrations or to store additional information about the region. -For example, if you have Stripe enabled as a payment provider in a region created for the United States, but have it disabled in a region created for European countries, only customers in the United States region can use Stripe for payment on checkout. +To edit the region's metadata: + +1. Click the icon at the right of the "Metadata" section. +2. In the side window that opens: + - Manage the key-value pairs in the table. + - To add a new row of key-value pairs before or after a row: + - Hover over the row and click the icon at its right. + - Choose "Insert row above" or "Insert row below" from the dropdown. + - To delete a row of key-value pairs: + - Hover over the row and click the icon at its right. + - Choose "Delete row" from the dropdown. +3. Once you're done, click the Save button. --- -## Learn More About Regions +## Delete Region + + + +Deleting a region is irreversible. + + + +To delete a region from your store: -- [Manage Regions](./manage/page.mdx) -- [Manage Payment and Fulfillment Providers](./providers/page.mdx) -- [Manage Shipping Options in a Region](./shipping-options/page.mdx) +1. Go to the region's details page. +2. Click the icon at the top right of the first section. +3. Choose Delete from the dropdown. +4. Confirm deleting the region by typing the region's name in the pop-up and clicking the Delete button. diff --git a/www/apps/user-guide/app/settings/regions/providers/page.mdx b/www/apps/user-guide/app/settings/regions/providers/page.mdx deleted file mode 100644 index 23bfa142e3c2a..0000000000000 --- a/www/apps/user-guide/app/settings/regions/providers/page.mdx +++ /dev/null @@ -1,29 +0,0 @@ ---- -sidebar_position: 3 -sidebar_label: Manage Providers ---- - -import { EllipsisHorizontal } from "@medusajs/icons" - -export const metadata = { - title: `Manage Payment and Fulfillment Providers in a Region`, -} - -# {metadata.title} - -In this document, you’ll learn how to manage a region’s payment and fulfillment providers in your Medusa Admin. - - - -Before customers can use your payment or fulfillment provider, you must add that provider to one or more region. - - - -To add or remove a payment or fulfillment provider in a region: - -1. Go to Settings → Regions. -2. Click on the region you want to edit. -4. Click the icon at the top right of the first section. -4. Choose Edit from the dropdown. -5. In the drawer that opens and under the Providers section, change the payment and fulfillment providers of the region. -6. Once you're done, click the Save button. diff --git a/www/apps/user-guide/app/settings/regions/shipping-options/page.mdx b/www/apps/user-guide/app/settings/regions/shipping-options/page.mdx deleted file mode 100644 index 9a60684f7a5d9..0000000000000 --- a/www/apps/user-guide/app/settings/regions/shipping-options/page.mdx +++ /dev/null @@ -1,74 +0,0 @@ ---- -sidebar_position: 4 -sidebar_label: Manage Shipping Options ---- - -import { EllipsisHorizontal } from "@medusajs/icons" - -export const metadata = { - title: `Manage Shipping Options in a Region`, -} - -# {metadata.title} - -In this document, you’ll learn how to manage a region’s shipping options in your Medusa Admin. - -## What is a Shipping Option? - -A shipping option has two types: - -- **Outbound**: these options are used in customers' orders. During checkout, a customer chooses one of these shipping options to receive their order. These shipping options are used when you create draft orders as well. -- **Return**: these options are used when the customer returns an item, whether the return is requested by the customer or the admin user. - ---- - -## Create a Shipping Option - -To create a shipping option in a region: - -1. Go to Settings → Regions. -2. Under the Shipping Options section, click the icon at the top right of the section. -3. Choose Create from the dropdown. -4. In the form that opens: - 1. Under the Type section, choose the shipping option's type. - 2. To only show and use the shipping option in the admin dashboard, enable the "Admin only" field. - 3. To specify that the shipping option's price is tax-inclusive, enable the "Tax inclusive pricing" field. - 4. Specify the shipping option's name in the Name field. This name is shown to customers if "Admin only" is disabled. - 5. For the Price Type field, specify the shipping option's price type: - - **Flat rate**: The shipping option has a fixed price. In this case, you must enter the shipping option's price in the Price field. - - **Calculated**: The shipping option's price is calculated, meaning that the amount is shown while placing the order or creating the return. - 6. For the Shipping Profile field, specify the profile of the items that this shipping option can be used with: - - For gift cards, choose Gift Card Profile. - - For all other products, choose Default Shipping Profile. - 7. For the Fulfillment Provider field, choose the region's fulfillment provider used to handle the fulfillment and shipping when this shipping option is used. If you can't find a fulfillment provider, make sure to [add it to the region first](../providers/page.mdx). - 8. Under the Requirements section, you can specify a minimum and maximum cart subtotal amount. When specified, the shipping option can only be used when this condition is met. -5. Once you're done, click the Save button. - ---- - -## Edit a Shipping Option - -To edit a shipping option in a region: - -1. Go to Settings → Regions. -2. Under the Shipping Options section, find the shipping option to edit and click the at its right. -3. Choose Edit from the dropdown. -4. In the drawer, edit any of the shipping option's details. -5. Once you're done, click the Save button. - ---- - -## Delete a Shipping Option - - - -Deleting a shipping option is irreversible. - - - -To delete a shipping option in a region: - -1. Go to Settings → Regions. -2. Under the Shipping Options section, find the shipping option to delete and click the at its right. -3. Choose Delete from the dropdown. -4. Confirm deleting the shipping option by clicking the Delete button in the pop-up. diff --git a/www/apps/user-guide/app/settings/return-reasons/page.mdx b/www/apps/user-guide/app/settings/return-reasons/page.mdx index 71bd7681e129c..a23ab3e64075a 100644 --- a/www/apps/user-guide/app/settings/return-reasons/page.mdx +++ b/www/apps/user-guide/app/settings/return-reasons/page.mdx @@ -11,13 +11,21 @@ export const metadata = { # {metadata.title} -In this document, you’ll learn how to add, edit, and remove return reasons. +In this guide, you’ll learn what return reasons are and how to manage them. ## What's a Return Reason? -A return reason is used when requesting a return or creating an exchange or claim. It's used to specify why an item is being returned. +A return reason is useful when returning an item in an order. It's used to specify why an item is being returned. For example, a customer might return an item because it's damaged, the wrong size, or they changed their mind. -So, before you can handle returns, exchanges, and claims, you must create at least one return reason. +To specify the return reason when creating a return, exchange, or claim, you can choose from a list of return reasons that you've set up in your settings. + +--- + +## View Return Reasons + +To view return reasons in your store, go to Settings → Return Reasons. Here, you can see a list of all the return reasons you have set up in your store. You can also search, filter, and sort the return reasons to find the one you are looking for. + +![Return reasons list](https://res.cloudinary.com/dza7lstvk/image/upload/v1739975898/User%20Guide/Screenshot_2025-02-19_at_4.38.01_PM_pnubty.png) --- @@ -27,12 +35,14 @@ To create a return reason: 1. Go to Settings → Return Reasons. 2. Click the Create button at the top right. -3. In the new form that opens, enter the reason's details: - - The Label is used when showing the return reason to the customer or admin users. - - The Value is used as a unique identifier internally. +3. In the form that opens: + - Enter in the Value field a unique identifier for the reason that's used internally. It's recommended to use only lowercase letters and underscores (`_`). For example, "damaged" or "wrong_size". + - Enter in the Label field what is shown to customers or admin users. - You can optionally enter a description of the return reason in the Description field. 4. Once done, click the Save button. +![Create return reason form](https://res.cloudinary.com/dza7lstvk/image/upload/v1739976122/User%20Guide/Screenshot_2025-02-19_at_4.41.51_PM_xgf4fu.png) + --- ## Edit a Return Reason @@ -42,14 +52,16 @@ To edit a return reason: 1. Go to Settings → Return Reasons. 2. Find the return reason to edit and click the icon at its right. 3. Choose Edit from the dropdown. -4. In the drawer that opens, edit the return reason's details. +4. In the side window that opens, you can edit the return reason's value, label, and description. 5. Once you're done, click the Save button. +![Edit return reason form](https://res.cloudinary.com/dza7lstvk/image/upload/v1739976284/User%20Guide/Screenshot_2025-02-19_at_4.43.14_PM_ajcxpf.png) + --- ## Delete a Return Reason - + Deleting a return reason is irreversible. diff --git a/www/apps/user-guide/app/settings/sales-channels/manage/page.mdx b/www/apps/user-guide/app/settings/sales-channels/manage/page.mdx deleted file mode 100644 index e1391e001a2c7..0000000000000 --- a/www/apps/user-guide/app/settings/sales-channels/manage/page.mdx +++ /dev/null @@ -1,53 +0,0 @@ ---- -sidebar_position: 1 ---- - -import { EllipsisHorizontal } from "@medusajs/icons" - -export const metadata = { - title: `Manage Sales Channels`, -} - -# {metadata.title} - -In this document, you’ll learn how to manage sales channels in your Medusa Admin. - -## Create a Sales Channel - -To create a sales channel: - -1. Go to Settings → Sales Channels. -2. Click the Create button. -3. In the form that opens, enter the sales channel's details. -4. Once you're done, click the Save button. - ---- - -## Edit a Sales Channel - -To edit a sales channel: - -1. Go to Settings → Sales Channels. -2. Find the sales channel in the list and click on it. -3. Click the icon at the top right of the first section. -4. Choose Edit from the dropdown. -5. In the drawer that opens, edit the sales channel's details. -6. Once you're done, click the Save button. - ---- - -## Delete a Sales Channel - - - -Deleting a sales channel is irreversible. - - - -To delete a sales channel: - -1. Go to Settings → Sales Channels. -2. Find the sales channel in the list and click on it. -3. Click the icon at the top right of the first section. -4. Choose Delete from the dropdown. -5. Confirm deleting the sales channel by entering its name in the field and clicking the Delete button in the pop-up. diff --git a/www/apps/user-guide/app/settings/sales-channels/page.mdx b/www/apps/user-guide/app/settings/sales-channels/page.mdx index 2417bc6f646e6..17aaad99ad6e9 100644 --- a/www/apps/user-guide/app/settings/sales-channels/page.mdx +++ b/www/apps/user-guide/app/settings/sales-channels/page.mdx @@ -2,41 +2,134 @@ sidebar_position: 8 --- +import { EllipsisHorizontal } from "@medusajs/icons" + export const metadata = { - title: `Sales Channels`, + title: `Manage Sales Channels`, } # {metadata.title} -In this document, you’ll get an overview of sales channels in Medusa. +In this guide, you’ll learn what sales channels are and how to manage them in the Medusa Admin. ## What is a Sales Channel? A sales channel is a channel that you sell your products through. For example, you can have a sales channel for the web storefront, another for the mobile app, and another for selling across social media platforms. -By default, there’s a default sales channel in a Medusa store. You can add multiple sales channels. +You can set a default sales channel in your [store settings](../store/page.mdx) that is used when no sales channel is specified. This is also useful if you're not selling through multiple channels. + +### How Sales Channels Work + +Sales channels are associated with other data and settings in your commerce store: + +- You can choose which products are available in a sales channel. This is useful when you provide different products for different types of channels. For example, you can have a B2B sales channel and only make B2B products available in it. +- When a customer places an order from a sales channel, the order is associated with it. This is useful if you're processing orders differently for each sales channel. For example, orders placed through an offline store are processed differently than through an online storefront. +- Stock locations and shipping options are also associated with sales channels. So, when a customer places an order, the items are fulfilled from the stock location associated with the order's sales channel. + + + +{/* TODO add link */} + +Developers can use [Publishable API Keys](#) to easily associate a storefront or client with a sales channel. + + + +--- + +## View Sales Channels + +To view sales channels in your store, go to Settings → Sales Channels. Here, you can see a list of all the sales channels you have set up in your store. You can also search, filter, and sort the sales channels to find the one you are looking for. + +![Sales channels list](https://res.cloudinary.com/dza7lstvk/image/upload/v1739977340/User%20Guide/Screenshot_2025-02-19_at_5.02.07_PM_pmw1v0.png) + +--- + +## Create Sales Channel + +To create a sales channel: + +1. Go to Settings → Sales Channels. +2. Click the Create button at the top right. +3. In the form that opens: + - In the Name field, enter a name for the sales channel. For example, "Web Storefront". + - In the Description field, enter a description of the sales channel. + - If you don't want to enable the sales channel immediately, disable the "Enabled" toggle. +4. Once you're done, click the Save button. + +![Create sales channel form](https://res.cloudinary.com/dza7lstvk/image/upload/v1739977547/User%20Guide/Screenshot_2025-02-19_at_5.05.33_PM_tv88rz.png) + +--- + +## View Sales Channel Details + +To view the details of a sales channel: + +1. Go to Settings → Sales Channels. +2. Click on a sales channel from the list. + +This opens the sales channel's details page where you can also manage the sales channel. + +![Sales channel details](https://res.cloudinary.com/dza7lstvk/image/upload/v1739977621/User%20Guide/Screenshot_2025-02-19_at_5.06.47_PM_ma6abe.png) + +### Sales Channel Status + +The status of a sales channel is shown at the top right of the first section in the details page. The status can be either "Enabled" or "Disabled". You can change the status by [editing the sales channel details](#edit-sales-channel-details). --- -## How Sales Channels Work +## Edit Sales Channel Details -Sales channels are associated with data and settings in your commerce store: +To edit the details of a sales channel: -- You can choose which products are available in a sales channel. -- When a customer places an order from a sales channel, the order is associated with it. -- Locations used with inventory are also associated with sales channels. +1. Go to the sales channel's details page. +2. Click the icon at the top right of the first section. +3. Choose Edit from the dropdown. +4. In the side window that opens, you can edit the sales channel's name, description, and whether it's enabled. +5. Once you're done, click the Save button. + +![Edit sales channel form](https://res.cloudinary.com/dza7lstvk/image/upload/v1739977718/User%20Guide/Screenshot_2025-02-19_at_5.08.25_PM_akoryr.png) --- -## Sales Channels Settings Overview +## Manage Products in Sales Channel + +You can manage the products available in a sales channel from the sales channel's details page. -To view the available sales channels and settings, go to Settings → Sales channels. +### Add Products to Sales Channel -The sales channels settings page shows available sales channels and allows you to manage sales channels. +To add products to a sales channel: + +1. Go to the sales channel's details page. +2. Click the "Add" button in the "Products" section. +3. In the list that opens, check the products you want to add to the sales channel. +4. Click the Save button. + +![Add products to sales channel](https://res.cloudinary.com/dza7lstvk/image/upload/v1739978037/User%20Guide/Screenshot_2025-02-19_at_5.13.37_PM_maqev3.png) + +### Remove Products from Sales Channel + +To remove products from a sales channel: + +1. Go to the sales channel's details page. +2. Under the "Products" section, check the products you want to remove from the sales channel. +3. Press R or click the Remove button at the bottom center of the page. +4. Confirm removing the product by clicking the Delete button in the pop-up. + +![Remove products from sales channel](https://res.cloudinary.com/dza7lstvk/image/upload/v1739978128/User%20Guide/Screenshot_2025-02-19_at_5.15.14_PM_vgpur9.png) --- -## Learn More About Sales Channels +## Delete Sales Channel + + + +Deleting a sales channel is irreversible. + + + +To delete a sales channel: -- [Manage Sales Channels](./manage/page.mdx) -- [Manage Products in Sales Channels](./products/page.mdx) +1. Go to the sales channel's details page. +2. Click the icon at the top right of the first section. +3. Choose Delete from the dropdown. +4. Confirm deleting the sales channel by entering the sales channel's name and clicking the "Delete" button in the pop-up. \ No newline at end of file diff --git a/www/apps/user-guide/app/settings/sales-channels/products/page.mdx b/www/apps/user-guide/app/settings/sales-channels/products/page.mdx deleted file mode 100644 index 6a0816a981660..0000000000000 --- a/www/apps/user-guide/app/settings/sales-channels/products/page.mdx +++ /dev/null @@ -1,41 +0,0 @@ ---- -sidebar_position: 2 -sidebar_label: Manage Products ---- - -import { EllipsisHorizontal } from "@medusajs/icons" - -export const metadata = { - title: `Manage Products in Sales Channels`, -} - -# {metadata.title} - -In this document, you’ll learn how to manage products in Sales Channels. - - - -This guide covers managing products from the Sales Channels page. It’s also possible to manage the Sales Channels of products in the Products page. - - - -## Add Products to Sales Channels - -To add products to a sales channel: - -1. Go to Settings → Sales Channels -2. Find the sales channel in the list and click on it. -3. Under the Products section, click the Add button at the top right. -4. In the list of products shown, check the checkboxes next to the products to add. -5. Once you're done, click the Save button. - ---- - -## Remove Product from Sales Channel - -To remove a product from a sales channel: - -1. Go to Settings → Sales Channels -2. Find the sales channel in the list and click on it. -3. Under the Products section, find the product to remove and click on the icon to its right. -4. Choose Remove from the dropdown. diff --git a/www/apps/user-guide/app/settings/tax-regions/page.mdx b/www/apps/user-guide/app/settings/tax-regions/page.mdx new file mode 100644 index 0000000000000..723f2f63c0558 --- /dev/null +++ b/www/apps/user-guide/app/settings/tax-regions/page.mdx @@ -0,0 +1,169 @@ +--- +sidebar_position: 6 +--- + +import { EllipsisHorizontal } from "@medusajs/icons" + +export const metadata = { + title: `Tax Regions`, +} + +# {metadata.title} + +In this guide, you'll learn what tax regions are and how to manage them. + +## What is a Tax Region? + +A Tax Region represents a geographical area where you have to apply specific tax rates. For example, if you operate in the United States and Canada, you might have different tax rates for each country, and even in different states or provinces of each country. + +In this case, you can create a tax region for each country you operate in and set up [sublevel tax regions](#sublevel-tax-regions) for each state or province in the country. + +Each tax region has its own tax rate, and you can override the default tax rate in a region for specific products or product types. + +--- + +## View Tax Regions + +To view tax regions in your store, go to Settings → Tax Regions. Here, you can see a list of all the tax regions you have set up in your store. You can also search, filter, and sort the tax regions to find the one you are looking for. + +![Tax regions list](https://res.cloudinary.com/dza7lstvk/image/upload/v1739970754/User%20Guide/Screenshot_2025-02-19_at_3.12.16_PM_iy8kvy.png) + +--- + +## Create Tax Region + +To create a tax region: + +1. Go to Settings → Tax Regions. +2. Click the Create button at the top right. +3. In the form that opens: + - In the Country field, select the country that this tax region applies to. + - Under the "Default tax rate" section, you can optionally enter a name, tax rate, and tax code in their respective fields. +4. Once you're done, click the Save button. + +![Create tax region form](https://res.cloudinary.com/dza7lstvk/image/upload/v1739971037/User%20Guide/Screenshot_2025-02-19_at_3.17.05_PM_vc0uqk.png) + +--- + +## View Tax Region Details + +To view the details of a tax region: + +1. Go to Settings → Tax Regions. +2. Click on a tax region from the list. + +This opens the tax region's details page where you can also manage the tax region. + +![Tax region details](https://res.cloudinary.com/dza7lstvk/image/upload/v1739970845/User%20Guide/Screenshot_2025-02-19_at_3.13.51_PM_fjoyyu.png) + +--- + +## Edit Default Tax Rate + +To edit the default tax rate of the region: + +1. Go to the region's details page. +2. In the first section, you'll find details of the default tax rate, including its tax rate and code. Click on the icon at its right. + +![The icon to click on](https://res.cloudinary.com/dza7lstvk/image/upload/v1739974452/User%20Guide/Screenshot_2025-02-19_at_4.13.51_PM_zclvnp.png) + +3. Choose Edit from the dropdown. +4. In the side window that opens, you can edit the tax rate's name, code, and rate to charge. +5. Once you're done, click the Save button. + +![Edit default tax rate form](https://res.cloudinary.com/dza7lstvk/image/upload/v1739974553/User%20Guide/Screenshot_2025-02-19_at_4.15.34_PM_hxsgup.png) + +--- + +## Manage Tax Rate Overrides + +You can override the default tax rate of a region for specific products or product types. This is useful when you have different tax rates for certain products or product types in a region. + +You can override tax rates for tax regions and [sublevel tax regions](#sublevel-tax-regions). + +### Create Tax Rate Override + +To create a tax rate override for a product or product type in a tax region: + +1. Go to the region's details page. +2. In the "Overrides" section, click the Create button. +3. In the form that opens: + - Enter the tax override's name, rate, and code in their respective fields. + - If the override should be combined with the default tax rate, enable the "Combinable" toggle. + - Under the "Targets" section, you can select which products or product types this override applies to. You can add a target by clicking "Add target". For each target: + - Choose the target type (Product or Product Type). + - Choose the product or product types that the override applies to, based on the target type you chose. +4. Once you're done, click the Save button. + +![Create tax rate override form](https://res.cloudinary.com/dza7lstvk/image/upload/v1739974979/User%20Guide/Screenshot_2025-02-19_at_4.22.43_PM_jup0sn.png) + +### Edit Tax Rate Override + +To edit a tax rate override: + +1. Go to the region's details page. +2. In the "Overrides" section, click the icon at the right of the override you want to edit. +3. Choose Edit from the dropdown. +4. In the side window that opens, you can edit the override's name, rate, code, and whether the tax rate should be combined with the default rate. You can also edit the targets of the override. +5. Once you're done, click the Save button. + +![Edit tax rate override form](https://res.cloudinary.com/dza7lstvk/image/upload/v1739975201/User%20Guide/Screenshot_2025-02-19_at_4.26.22_PM_y4deom.png) + +### Delete Tax Rate Override + + + +Deleting a tax rate override is irreversible. + + + +To delete a tax rate override: + +1. Go to the region's details page. +2. In the "Overrides" section, click the icon at the right of the override you want to delete. +3. Choose Delete from the dropdown. +4. Confirm deleting the override by clicking the Delete button in the pop-up. + +--- + +## Sublevel Tax Regions + +Tax regions for some countries like the United States have a States, Province, or Cantons section in the tax region details page. Here, you can add sublevel regions for the country. + +![Sublevel regions section](https://res.cloudinary.com/dza7lstvk/image/upload/v1739975474/User%20Guide/Screenshot_2025-02-19_at_4.30.57_PM_ogjlp2.png) + +You can also enable it for other countries that don't show this section by default. For those countries, you'll find a note at the top of the page where you can enable the sublevel regions. + +![Enable sublevel regions alert](https://res.cloudinary.com/dza7lstvk/image/upload/v1739971332/User%20Guide/Screenshot_2025-02-19_at_3.21.51_PM_mbm8lr.png) + +After enabling this setting, you'll find a "Sublevels" section in the tax region details page where you can add sublevel regions. + +### Create Sublevel Tax Region + +To create a sublevel tax region in a tax region: + +1. Go to the tax region's details page. +2. In the "Sublevels" section or its equivalent (such as States, Province, or Cantons), click the "Create" button. +3. In the form that opens: + - If the country supports a sublevel by default, you'll find an input to select a state, province, or canton. + - If the country doesn't support a sublevel by default, you'll find an input to enter the ISO 3166-2 code of the sublevel. + - Under the "Default tax rate" section, you can optionally enter a name, tax rate, and tax code in their respective fields. + - If the tax region's rates should be combined with the parent's rates, enable the "Combinable" toggle. +4. Once you're done, click the Save button. + +![Create sublevel region form](https://res.cloudinary.com/dza7lstvk/image/upload/v1739971762/User%20Guide/Screenshot_2025-02-19_at_3.29.09_PM_cpwi4e.png) + +### View Sublevel Tax Region Details + +To view the details of a sublevel tax region: + +1. Go to the tax region's details page. +2. Under the "Sublevels" section or its equivalent, click on a sublevel tax region. + +This opens the sublevel tax region's details page where you can also manage the sublevel tax region. + +![Sublevel tax region details page](https://res.cloudinary.com/dza7lstvk/image/upload/v1739974129/User%20Guide/Screenshot_2025-02-19_at_4.08.33_PM_i2v219.png) + +### Manage Sublevel Tax Region's Rates + +You can manage the sublevel tax region's [default](#edit-default-tax-rate) and [override](#manage-tax-rate-overrides) rates the same way you manage the parent tax region's rates. diff --git a/www/apps/user-guide/app/settings/taxes/manage/page.mdx b/www/apps/user-guide/app/settings/taxes/manage/page.mdx deleted file mode 100644 index b5f4274c69429..0000000000000 --- a/www/apps/user-guide/app/settings/taxes/manage/page.mdx +++ /dev/null @@ -1,38 +0,0 @@ ---- -sidebar_position: 1 ---- - -import { EllipsisHorizontal } from "@medusajs/icons" - -export const metadata = { - title: `Manage Taxes`, -} - -# {metadata.title} - -In this document, you’ll learn how to view and manage taxes in your Medusa Admin. - -## View Taxes - -To view taxes, go to Settings → Taxes. - -In the Taxes page, you'll find a list of regions. If you click on a region, you'll find its tax settings and rates. - ---- - -## Edit a Region’s Tax Settings - -To edit a region’s tax settings: - -1. Go to Settings → Taxes. -2. Click on the region to edit its tax settings. -3. Click the icon at the top right of the first section. -4. Choose Edit from the dropdown. -5. In the drawer that opens, edit the tax settings: - - In the Tax Provider field, you can change the system tax provider to a custom one. - - In the "Default tax rate" field, you can change the default tax rate of the region. - - In the "Default tax code" field, you can change the default tax code of the region. - - By default, taxes are created automatically during checkout. However, in some cases you may choose to disable this behavior if you don't want many requests sent to a custom third-party service. In that case, you can disable the "Calculate taxes automatically" field, but beware that you or your developer has to implement the tax calculation functionality during checkout manually. - - By default, taxes aren't applied on gift cards during checkout. To enable applying them on gift cards, enable the "Apply taxes on gift cards" field. - - You can change whether a region's prices are tax-inclusive by toggling the "Tax inclusive pricing" field. -6. Once you're done, click the Save button. diff --git a/www/apps/user-guide/app/settings/taxes/page.mdx b/www/apps/user-guide/app/settings/taxes/page.mdx deleted file mode 100644 index ccdcfec03ceff..0000000000000 --- a/www/apps/user-guide/app/settings/taxes/page.mdx +++ /dev/null @@ -1,38 +0,0 @@ ---- -sidebar_position: 6 ---- - -export const metadata = { - title: `Taxes`, -} - -# {metadata.title} - -In this document, you’ll get an overview of taxes in Medusa and learn about their importance. - -## Overview - -Taxes in Medusas are directly associated with [Regions](../regions/page.mdx). As regions and countries often have different tax rates and rules, Medusa supports specifying the tax rate for each region. - -Taxes are calculated for products and shipping methods on checkout. Medusa provides a default tax provider to calculate the taxes, and merchants and developers can also integrate custom tax providers for advanced taxes calculation. - ---- - -## How are Taxes Created? - -When you create a region, its taxes settings are created as well. - -If you specify the tax rate during the region's creation, a default tax rate is created that's applied on all products and shipping options. - ---- - -## Override Tax Rates - -You can create tax rates to override the default tax rate. Tax rates can be condition to products, product types, and shipping options. - ---- - -## Learn More About Taxes - -- [Manage Taxes](./manage/page.mdx) -- [Manage Tax Rates](./tax-rates/page.mdx) diff --git a/www/apps/user-guide/app/settings/taxes/tax-rates/page.mdx b/www/apps/user-guide/app/settings/taxes/tax-rates/page.mdx deleted file mode 100644 index b1e2cc91ff0d7..0000000000000 --- a/www/apps/user-guide/app/settings/taxes/tax-rates/page.mdx +++ /dev/null @@ -1,105 +0,0 @@ ---- -sidebar_position: 2 ---- - -import { EllipsisHorizontal, XMark } from "@medusajs/icons" - -export const metadata = { - title: `Manage Tax Rates`, -} - -# {metadata.title} - -In this document, you’ll learn how to manage tax rates in your Medusa Admin. - -## Create a Tax Rate - -To create a tax rate: - -1. Go to Settings → Taxes. -2. Click on the region to create a tax rate in. -3. Under the Tax Rates section, click the icon at the top right. -4. Choose Create from the dropdown. -5. In the form that opens: - 1. Enter the name, rate, and code of the tax rate in their respective fields. - 2. If the tax rate overrides product taxes: - 1. Enable the "Product overrides" field. - 2. Click the "Add product overrides" button. - 3. From the list of shown products, check the checkbox next to the product to add. - 4. Once you're done, click the Save button at the bottom. - 3. If the tax rate overrides product type taxes: - 1. Enable the "Product type overrides" field. - 2. Click the "Add product type overrides" button. - 3. From the list of shown product types, check the checkbox next to the type to add. - 4. Once you're done, click the Save button at the bottom. - 4. If the tax rate overrides shipping option taxes: - 1. Enable the "Shipping option overrides" field. - 2. Click the "Add shipping option overrides" button. - 3. From the list of shown shipping options, check the checkbox next to the type to add. - 4. Once you're done, click the Save button at the bottom. -6. Once you're done, click the Save button. - ---- - -## Edit Tax Rates - -To edit a tax rate: - -1. Go to Settings → Taxes. -2. Click on the region to edits its tax rate. -3. Find the tax rate in the list under the Tax Rates section and click the icon at its right. -4. Choose "Edit rate" from the dropdown. -5. In the drawer that opens, edit the tax rate's details. -6. Once done, click the Save button. - ---- - -## Edit Tax Rate Overrides - -To edit the overrides of a tax rate: - -1. Go to Settings → Taxes. -2. Click on the region to edits its tax rate. -3. Find the tax rate in the list under the Tax Rates section and click the icon at its right. -4. Choose "Edit overrides" from the dropdown. -5. In the form that opens: - 1. To change the product overrides - 1. Enable the "Product overrides" field if it's not enabled. - 2. To add products: - 1. Click the "Add product overrides" button. - 2. From the list of shown products, check the checkbox next to the product to add. - 3. Once you're done, click the Save button at the bottom. - 3. To remove a product, click the icon next to the product. - 2. To change the product type overrides - 1. Enable the "Product type overrides" field if it's not enabled. - 2. To add products: - 1. Click the "Add product type overrides" button. - 2. From the list of shown product types, check the checkbox next to the type to add. - 3. Once you're done, click the Save button at the bottom. - 3. To remove a product type, click the icon next to the product. - 3. To change the shipping option overrides - 1. Enable the "Shipping option overrides" field if it's not enabled. - 2. To add shipping options: - 1. Click the "Add shipping option overrides" button. - 2. From the list of shown shipping options, check the checkbox next to the shipping option to add. - 3. Once you're done, click the Save button at the bottom. - 3. To remove a shipping option, click the icon next to the shipping option. -6. Once you're done, click the Save button. - ---- - -## Delete a Tax Rate - - - -Deleting a tax rate is irreversible. - - - -To delete a tax rate: - -1. Go to Settings → Taxes. -2. Click on the region to delete its tax rate. -3. Find the tax rate in the list under the Tax Rates section and click the icon at its right. -4. Choose Delete from the dropdown. -5. Confirm deleting the tax rate by clicking the Delete button. diff --git a/www/apps/user-guide/generated/edit-dates.mjs b/www/apps/user-guide/generated/edit-dates.mjs index 0614334fc3c5e..1cedef213222d 100644 --- a/www/apps/user-guide/generated/edit-dates.mjs +++ b/www/apps/user-guide/generated/edit-dates.mjs @@ -2,41 +2,31 @@ export const generatedEditDates = { "app/tips/languages/page.mdx": "2025-02-14T14:16:04.867Z", "app/tips/bulk-editor/page.mdx": "2025-02-14T14:16:04.867Z", "app/tips/lists/page.mdx": "2025-02-14T14:16:04.867Z", - "app/settings/sales-channels/page.mdx": "2024-05-03T17:36:38+03:00", + "app/settings/sales-channels/page.mdx": "2025-02-19T17:33:55.584Z", "app/settings/users/page.mdx": "2025-02-19T11:34:00.736Z", - "app/settings/regions/manage/page.mdx": "2024-05-03T17:36:38+03:00", - "app/settings/taxes/tax-rates/page.mdx": "2024-05-03T17:36:38+03:00", "app/page.mdx": "2025-02-14T11:18:46.636Z", - "app/settings/page.mdx": "2025-02-19T10:57:33.537Z", + "app/settings/page.mdx": "2025-02-19T15:46:09.018Z", "app/products/export/page.mdx": "2025-02-18T12:16:52.639Z", - "app/settings/return-reasons/page.mdx": "2024-05-03T17:36:38+03:00", - "app/settings/regions/page.mdx": "2024-05-03T17:36:38+03:00", - "app/settings/regions/shipping-options/page.mdx": "2024-05-03T17:36:38+03:00", + "app/settings/return-reasons/page.mdx": "2025-02-19T17:34:01.942Z", + "app/settings/regions/page.mdx": "2025-02-19T17:37:17.896Z", "app/orders/page.mdx": "2025-02-17T15:13:42.484Z", "app/settings/users/invites/page.mdx": "2025-02-19T11:38:54.009Z", - "app/settings/taxes/page.mdx": "2024-05-03T17:36:38+03:00", "app/settings/developer/page.mdx": "2024-05-03T17:36:38+03:00", - "app/settings/taxes/manage/page.mdx": "2024-05-03T17:36:38+03:00", "app/settings/profile/page.mdx": "2024-05-03T17:36:38+03:00", - "app/settings/regions/countries/page.mdx": "2024-05-03T17:36:38+03:00", "app/settings/store/page.mdx": "2025-02-19T11:19:01.136Z", "app/products/import/page.mdx": "2025-02-18T12:15:03.830Z", - "app/settings/regions/providers/page.mdx": "2024-05-03T17:36:38+03:00", - "app/settings/locations/page.mdx": "2024-05-03T17:36:38+03:00", "app/settings/developer/api-key-management/page.mdx": "2024-05-03T17:36:38+03:00", "app/products/categories/page.mdx": "2025-02-19T10:21:42.058Z", "app/inventory/reservations/page.mdx": "2025-02-18T13:56:28.134Z", "app/settings/developer/api-key-management/sales-channels/page.mdx": "2024-05-03T17:36:38+03:00", "app/discounts/manage/page.mdx": "2024-05-03T17:36:38+03:00", "app/products/page.mdx": "2025-02-18T12:24:19.794Z", - "app/settings/sales-channels/products/page.mdx": "2024-05-03T17:36:38+03:00", "app/settings/developer/executions/page.mdx": "2024-05-03T17:36:38+03:00", "app/inventory/inventory/page.mdx": "2025-02-18T13:59:16.960Z", "app/customers/groups/page.mdx": "2025-02-18T15:41:30.730Z", "app/orders/manage/page.mdx": "2025-02-18T15:38:17.544Z", "app/orders/returns/page.mdx": "2025-02-17T15:10:11.039Z", "app/inventory/page.mdx": "2025-02-18T13:58:42.393Z", - "app/settings/sales-channels/manage/page.mdx": "2024-05-03T17:36:38+03:00", "app/orders/claims/page.mdx": "2025-02-17T15:16:27.380Z", "app/orders/fulfillments/page.mdx": "2025-02-17T15:12:20.431Z", "app/customers/page.mdx": "2025-02-18T15:38:17.543Z", @@ -47,9 +37,9 @@ export const generatedEditDates = { "app/orders/payments/page.mdx": "2025-02-17T15:10:24.250Z", "app/discounts/page.mdx": "2024-05-03T17:36:38+03:00", "app/orders/exchanges/page.mdx": "2025-02-17T15:14:13.676Z", - "app/products/create/page.mdx": "2025-02-19T10:13:12.047Z", + "app/products/create/page.mdx": "2025-02-19T12:44:48.560Z", "app/products/edit/page.mdx": "2025-02-19T10:18:34.689Z", - "app/products/variants/page.mdx": "2025-02-18T12:10:36.029Z", + "app/products/variants/page.mdx": "2025-02-19T12:45:06.674Z", "app/products/create/bundle/page.mdx": "2025-02-18T12:17:32.166Z", "app/products/create/multi-part/page.mdx": "2025-02-18T12:17:29.629Z", "app/promotions/campaigns/page.mdx": "2025-02-19T09:02:49.193Z", @@ -58,5 +48,11 @@ export const generatedEditDates = { "app/promotions/page.mdx": "2025-02-19T09:00:12.501Z", "app/price-lists/create/page.mdx": "2025-02-19T10:11:33.113Z", "app/price-lists/manage/page.mdx": "2025-02-19T10:35:49.881Z", - "app/price-lists/page.mdx": "2025-02-19T09:51:32.546Z" + "app/price-lists/page.mdx": "2025-02-19T09:51:32.546Z", + "app/settings/tax-regions/page.mdx": "2025-02-19T17:33:43.806Z", + "app/settings/locations-and-shipping/locations/page.mdx": "2025-02-19T17:28:36.838Z", + "app/settings/locations-and-shipping/page.mdx": "2025-02-19T17:23:45.824Z", + "app/settings/locations-and-shipping/shipping-profiles/page.mdx": "2025-02-19T17:36:46.339Z", + "app/settings/product-tags/page.mdx": "2025-02-19T17:36:25.102Z", + "app/settings/product-types/page.mdx": "2025-02-19T17:36:16.496Z" } \ No newline at end of file diff --git a/www/apps/user-guide/generated/sidebar.mjs b/www/apps/user-guide/generated/sidebar.mjs index bdf6dce2e4180..59ce205714b16 100644 --- a/www/apps/user-guide/generated/sidebar.mjs +++ b/www/apps/user-guide/generated/sidebar.mjs @@ -395,7 +395,7 @@ export const generatedSidebar = [ "isPathHref": true, "type": "link", "title": "Tax Regions", - "path": "#", + "path": "/settings/tax-regions", "children": [] }, { @@ -419,7 +419,7 @@ export const generatedSidebar = [ "isPathHref": true, "type": "link", "title": "Product Types", - "path": "#", + "path": "/settings/product-types", "children": [] }, { @@ -427,7 +427,7 @@ export const generatedSidebar = [ "isPathHref": true, "type": "link", "title": "Product Tags", - "path": "#", + "path": "/settings/product-tags", "children": [] }, { @@ -435,8 +435,25 @@ export const generatedSidebar = [ "isPathHref": true, "type": "link", "title": "Location & Shipping", - "path": "/settings/locations", - "children": [] + "path": "/settings/locations-and-shipping", + "children": [ + { + "loaded": true, + "isPathHref": true, + "type": "link", + "title": "Locations", + "path": "/settings/locations-and-shipping/locations", + "children": [] + }, + { + "loaded": true, + "isPathHref": true, + "type": "link", + "title": "Shipping Profiles", + "path": "/settings/locations-and-shipping/shipping-profiles", + "children": [] + } + ] }, { "loaded": true, diff --git a/www/apps/user-guide/sidebar.mjs b/www/apps/user-guide/sidebar.mjs index ea787fc1aece6..7e385d9f218d1 100644 --- a/www/apps/user-guide/sidebar.mjs +++ b/www/apps/user-guide/sidebar.mjs @@ -244,7 +244,7 @@ export const sidebar = sidebarAttachHrefCommonOptions([ { type: "link", title: "Tax Regions", - path: "#", + path: "/settings/tax-regions", }, { type: "link", @@ -259,17 +259,29 @@ export const sidebar = sidebarAttachHrefCommonOptions([ { type: "link", title: "Product Types", - path: "#", + path: "/settings/product-types", }, { type: "link", title: "Product Tags", - path: "#", + path: "/settings/product-tags", }, { type: "link", title: "Location & Shipping", - path: "/settings/locations", + path: "/settings/locations-and-shipping", + children: [ + { + type: "link", + title: "Locations", + path: "/settings/locations-and-shipping/locations", + }, + { + type: "link", + title: "Shipping Profiles", + path: "/settings/locations-and-shipping/shipping-profiles", + }, + ], }, { type: "category",