docs: added user guide for custom gift cards (#2862)

This commit is contained in:
Shahed Nasser
2022-12-20 17:51:06 +02:00
committed by GitHub
parent ea4c6b8b18
commit 907f7f83d8
3 changed files with 92 additions and 13 deletions

View File

@@ -1,12 +0,0 @@
---
sidebar_position: 3
hide_footer: true
---
# Manage Custom Gift Cards
:::note
This guide is coming soon.
:::

View File

@@ -0,0 +1,83 @@
---
sidebar_position: 3
---
import UiIcon from '@site/src/components/UiIcon';
# Manage Custom Gift Cards
In this document, youll learn how to manage custom gift cards, including how to create and update them.
## Create Custom Gift Card
To create a custom gift card:
1. Go to Gift Cards from the sidebar.
2. Click on the Custom Gift Card button at the top right of the History section.
3. In the new form that opens:
1. Select in the Region field the region this gift card works in. You can only pick one region. Based on the region you pick, the currency of the gift card will automatically change.
2. Enter in the Amount field the amount of the gift card.
3. Enter in the Email field the email of the customer that will receive this gift card.
4. You can optionally enter in the Personal Message field any message you want the customer to receive with this gift card.
4. Once done, click on Create & Send.
The gift card will be created with a random code. The customer will then receive an email with details about their gift card.
:::note
If the customer doesnt receive an email, please get in touch with your technical team to ensure an email service is set up correctly.
:::
---
## View a Custom Gift Cards Details
To view a custom gift cards details:
1. Go to Gift Cards from the sidebar.
2. In the History section, find the custom gift card and click on it.
This opens the gift cards details page.
---
## Edit a Custom Gift Card
### Change Region of Custom Gift Card
:::info
Changing the region of a custom gift card will change the currency of the gift card to the new regions currency.
:::
To change the region of a custom gift card:
1. Go to the custom gift cards details page.
2. Click on the <UiIcon lightIcon="https://res.cloudinary.com/dza7lstvk/image/upload/v1667999308/Medusa%20Docs/UI%20Icons/1ordBC6_ssysel.png" darkIcon="https://res.cloudinary.com/dza7lstvk/image/upload/v1667999326/Medusa%20Docs/UI%20Icons/dSwWYBH_stzgoi.png" alt="three dots" /> icon at the top right of the first section.
3. Click on Edit from the dropdown.
4. In the new window that opens:
1. Select in the Region field the region you want this gift card to work in.
5. Once done, click on the Save button.
### Update Balance of Custom Gift Card
To update the balance of a custom gift card:
1. Go to the custom gift cards details page.
2. Click on the <UiIcon lightIcon="https://res.cloudinary.com/dza7lstvk/image/upload/v1667999308/Medusa%20Docs/UI%20Icons/1ordBC6_ssysel.png" darkIcon="https://res.cloudinary.com/dza7lstvk/image/upload/v1667999326/Medusa%20Docs/UI%20Icons/dSwWYBH_stzgoi.png" alt="three dots" /> icon at the top right of the first section.
3. Click on “Update balance” from the dropdown.
4. In the new window that opens:
1. Enter in the Price field the new balance.
5. Once done, click on the Save button.
### Change Custom Gift Card Status
You can disable or activate a custom gift card. If you disable a gift card, customers cant use it during checkout.
To change a custom gift cards status:
1. Go to the custom gift cards details page.
2. Click on the <UiIcon lightIcon="https://res.cloudinary.com/dza7lstvk/image/upload/v1667999308/Medusa%20Docs/UI%20Icons/1ordBC6_ssysel.png" darkIcon="https://res.cloudinary.com/dza7lstvk/image/upload/v1667999326/Medusa%20Docs/UI%20Icons/dSwWYBH_stzgoi.png" alt="three dots" /> icon at the top right of the first section.
3. Click on Disable or Activate from the dropdown based on the current status.

View File

@@ -10,9 +10,17 @@ In this document, youll learn about how Gift Cards in Medusa work.
In Medusa, theres one main gift card. A gift card can have multiple denominations. For example, a Gift Card can have the amounts of $20 and $50, and customers can buy one of these denominations.
---
## Custom Gift Cards
You can also create custom gift cards in Medusa. These cards can be created and sent directly to a customers email.
To view the list of available custom gift cards, from the sidebar go to Gift Cards. You can find all custom gift cards in the History section.
---
## Learn More About Gift Cards
- [Manage Gift Cards](./manage.mdx)
- [Manage Custom Gift Cards](./custom.md)
- [Manage Custom Gift Cards](./custom.mdx)