docs: fix details about gift cards (#3869)

This commit is contained in:
Shahed Nasser
2023-04-18 13:58:02 +03:00
committed by GitHub
parent 8766b16e3b
commit f14ab4e647
3 changed files with 28 additions and 25 deletions
@@ -16,7 +16,7 @@ When a customer purchases a gift card, they should receive the code for the gift
## Gift Cards as Products
Before a gift card is purchased, its essentially a `Product` entity. A store can have only one gift card with unlimited denominations.
Before a gift card is purchased, its essentially a `Product` entity. Each gift card can have unlimited denominations.
The gift card product has an attribute `is_giftcard` set to `true`. Its `options` property includes only one option, which is Denomination. The different denomination values are stored as `variants`.