docs: general updates and fixes (#13620)

This commit is contained in:
Shahed Nasser authored and GitHub committed 2025-09-30 08:45:30 +03:00
1 parent dda756dfaa
commit f970e1355a
47 files changed
+358 -306

No files matched your search

@@ -45,7 +45,7 @@ Find tips to use lists effectively in [this guide](../../tips/lists/page.mdx).
To create a campaign:
1. Go to Promotions -> Campaigns from the sidebar.
2. Click on the Create button at the top right.
2. Click on the Create button in the main section's header.
3. In the form that opens:
- Enter the campaign's name and identifier in their respective fields.
- Optionally add a description in the Description field.
@@ -78,7 +78,7 @@ This opens the campaign's details page.
### Campaign Statuses
At the top right of the first section, you can see the campaign's status. The status can be one of the following:
In the first section's header, you can see the campaign's status. The status can be one of the following:
<Table>
<Table.Header>
@@ -110,7 +110,7 @@ At the top right of the first section, you can see the campaign's status. The st
To edit the details of a campaign:
1. Go to the campaign's details page.
2. Click the <InlineIcon Icon={EllipsisHorizontal} alt="three-dots" /> icon at the top right of the first section.
2. Click the <InlineIcon Icon={EllipsisHorizontal} alt="three-dots" /> icon in the first section's header.
3. Choose Edit from the dropdown.
4. In the side window that opens, you can edit the campaign's name, description, identifier, and start and end dates.
5. Once you're done, click the Save button.
@@ -124,7 +124,7 @@ To edit the details of a campaign:
To edit a campaign's budget usage or spending limit:
1. Go to the campaign's details page.
2. Click the <InlineIcon Icon={EllipsisHorizontal} alt="three-dots" /> icon at the top right of the "Budget Limit" section.
2. Click the <InlineIcon Icon={EllipsisHorizontal} alt="three-dots" /> icon in the "Budget Limit" section's header.
3. Choose Edit from the dropdown.
4. In the side window that opens, you can edit the budget limit.
5. Once you're done, click the Save button.
@@ -148,7 +148,7 @@ You can only add promotions that don't belong to another campaign.
</Note>
1. Go to the campaign's details page.
2. Click on the Add button at the top right of the "Promotions" section.
2. Click on the Add button in the "Promotions" section's header.
3. In the list that opens, check the promotions you want to add to the campaign.
4. Once you're done, click the Save button.
@@ -178,6 +178,6 @@ Deleting a campaign is irreversible. Deleting a campaign doesn't delete its prom
To delete a campaign:
1. Go to the campaign's details page.
2. Click the <InlineIcon Icon={EllipsisHorizontal} alt="three-dots" /> icon at the top right of the first section.
2. Click the <InlineIcon Icon={EllipsisHorizontal} alt="three-dots" /> icon in the first section's header.
3. Choose Delete from the dropdown.
4. Confirm deleting the campaign by clicking the "Delete" button in the pop-up.
@@ -32,7 +32,7 @@ This opens the promotion's details page. The sections in the details page may di
### Promotion Statuses
A promotion's status is shown in the Promotions listing page, and in the promotion's details page at the top right of the first section. The status can be one of the following:
A promotion's status is shown in the Promotions listing page, and in the promotion's details page in the first section's header. The status can be one of the following:
<Table>
<Table.Header>
@@ -72,7 +72,7 @@ A promotion's status is shown in the Promotions listing page, and in the promoti
To edit a promotion's general details:
1. Go to the promotion's details page.
2. Click the <InlineIcon Icon={EllipsisHorizontal} alt="three-dots" /> icon at the top right of the first section.
2. Click the <InlineIcon Icon={EllipsisHorizontal} alt="three-dots" /> icon in the first section's header.
3. Choose Edit from the dropdown.
4. In the side window that opens:
- You can change the promotion's status to either **Draft**, **Active**, or **Inactive**. Inactive is useful if the promotion was originally active but you want to expire it.
@@ -91,7 +91,7 @@ To edit a promotion's general details:
To edit who can use the promotion:
1. Go to the promotion's details page.
2. Click the <InlineIcon Icon={EllipsisHorizontal} alt="three-dots" /> icon at the top right of the "Who can use this code?" section.
2. Click the <InlineIcon Icon={EllipsisHorizontal} alt="three-dots" /> icon in the header of the "Who can use this code?" section.
3. Choose Edit from the dropdown.
4. In the side window that opens, you can edit existing conditions or add new ones by clicking the "Add condition" button. For each condition:
- Select the attribute in the first field. This is the attribute that the condition applies to. It can be:
@@ -125,7 +125,7 @@ For "Buy X Get Y" or "buyget" promotion types, this section allows you to edit w
To edit the items the promotion applies to:
1. Go to the promotion's details page.
2. Click the <InlineIcon Icon={EllipsisHorizontal} alt="three-dots" /> icon at the top right of the "What items will the promotion be applied to?" section.
2. Click the <InlineIcon Icon={EllipsisHorizontal} alt="three-dots" /> icon in the header of the "What items will the promotion be applied to?" section.
3. Choose Edit from the dropdown.
4. In the side window that opens, you can edit existing conditions or add new ones by clicking the "Add condition" button. For each condition:
- Select the attribute in the first field. This is the attribute that the condition applies to. It can be:
@@ -162,7 +162,7 @@ To edit the items that the customer gets for free when they buy the specified it
To edit the "Buy X" part of the promotion:
1. Go to the promotion's details page.
2. Click the <InlineIcon Icon={EllipsisHorizontal} alt="three-dots" /> icon at the top right of the "What needs to be in the cart to unlock the promotion?" section.
2. Click the <InlineIcon Icon={EllipsisHorizontal} alt="three-dots" /> icon in the header of the "What needs to be in the cart to unlock the promotion?" section.
3. Choose Edit from the dropdown.
4. In the side window, you can edit the minimum required quantity of the product in the "Buy X" condition, and any other existing conditions. You can also add new conditions by clicking the "Add condition" button. For each condition:
- Select the attribute in the first field. This is the attribute that the condition applies to. It can be:
@@ -199,7 +199,7 @@ For "Free Shipping" promotions, you can edit the required conditions for the pro
To edit the shipping methods the promotion applies to:
1. Go to the promotion's details page.
2. Click the <InlineIcon Icon={EllipsisHorizontal} alt="three-dots" /> icon at the top right of the "What shipping methods will the promotion be applied to?" section.
2. Click the <InlineIcon Icon={EllipsisHorizontal} alt="three-dots" /> icon in the header of the "What shipping methods will the promotion be applied to?" section.
3. Choose Edit from the dropdown.
4. In the side window, you can edit the required conditions for the promotion to be applicable on a cart's shipping methods. You can also add new conditions by clicking the "Add condition" button. For each condition:
- Select the attribute in the first field. This is the attribute that the condition applies to. It can be:
@@ -221,7 +221,7 @@ If you created a promotion without a campaign, you can add it to an existing cam
To add a promotion to a campaign:
1. Go to the promotion's details page.
2. Click on "Add to Campaign" at the top right of the "Campaign" section.
2. Click on "Add to Campaign" in the header of the "Campaign" section.
3. In the side window that opens:
- Select "Existing Campaign".
- Choose the campaign from the "Existing Campaign" dropdown. For promotions that are applied as a fixed amount, only campaigns whose budget uses the same currency as the promotion are shown.
@@ -238,7 +238,7 @@ You can change the campaign that a promotion belongs to, or remove it from a cam
To change a promotion's campaign:
1. Go to the promotion's details page.
2. Click the <InlineIcon Icon={EllipsisHorizontal} alt="three-dots" /> icon at the top right of the "Campaign" section.
2. Click the <InlineIcon Icon={EllipsisHorizontal} alt="three-dots" /> icon in the header of the "Campaign" section.
3. Choose Edit from the dropdown.
4. In the side window that opens:
- To remove the promotion from its current campaign, select "Without Campaign".
@@ -258,6 +258,6 @@ Deleting a promotion is irreversible.
To delete a promotion:
1. Go to the promotion's details page.
2. Click the <InlineIcon Icon={EllipsisHorizontal} alt="three-dots" /> icon at the top right of the first section.
2. Click the <InlineIcon Icon={EllipsisHorizontal} alt="three-dots" /> icon in the first section's header.
3. Choose Delete from the dropdown.
4. Confirm deleting the promotion in the pop-up by entering its code and clicking the "Delete" button.