Gift cards: selling and issuing a gift card manually

Shoppers buy a gift card as a product and, once it's paid, receive the code by email with a printable PDF; you issue gift cards for complaints or rewards manually in the admin.

⏱ 7 minBeginnerUpdated 8 Oct 2026

A gift card is a code with an amount that the shopper enters in the cart or at checkout; the amount is deducted from the payment. A gift card isn't a coupon: it isn't tied to a customer, it can be used across several purchases, and any remaining balance stays on the code. Shoppers get one in two ways: they buy it in the store, or you issue it to them.

Before you start

  • the denominations (20, 50 and 100 EUR by default); each one needs its own product, which we create for you,
  • the validity period (5 years by default, the general limitation period in Slovenia),
  • confirmation from your accountant about VAT: a gift card is a means of payment, and VAT is only charged when it's redeemed.

1. Settings

Stores › Configuration › Magelan › Gift cards

  1. In the General section, set Enabled to Yes. Denominations holds the amounts, separated by commas; if you change them, write to us so we can create the new products. Under Validity (years), enter the validity period (0 means no expiry).

    General section of the gift card settings with the Enabled, Denominations and Validity (years) fields
    1. Enabled - No hides the gift card field, balances are kept.
    2. Denominations - gift card amounts, one product for each.
    3. Validity (years) - applies to gift cards issued after the change.
  2. In the Email section, leave Send the code by email at Yes and choose the Sender.

  3. In the Printable voucher (PDF) section, set up the look of the printable attachment: Logo (without one, the store logo is used), colours, Heading, Intro text and Fine print. In the texts, {store_name} shows the store name. For another language, choose the store view at the top.

  4. Click Save Config.

2. How a shopper buys a gift card

  1. They add the gift card to the cart like any product (for example Gift card 50 EUR). The gift card has no VAT and isn't shipped.

  2. Once the order is paid (you create an invoice, or the payment comes in by card), the system issues the code and sends it to the email address on the order. A printable PDF gift card with To and From lines is attached.

  3. The shopper enters the code in the Gift card code field in the cart or at checkout and clicks Apply Gift Card. They see Applied: €50.00. Remaining on the card: €0.00. If the gift card covers the whole order, they don't need to choose a payment method.

The code goes to the buyer, not to the person receiving the gift. The buyer passes it on themselves (as a printed PDF or by email). If you'd like a field for the recipient's email address, write to us.

3. Issuing a gift card manually

For complaints, rewards, business partners or gift cards sold at a trade fair.

Marketing › Gift cards

  1. Click New gift card.

    Header of the Gift cards page with the New gift card and Movement ledger buttons
    1. New gift card - manual issue.
    2. Movement ledger - all movements of all gift cards.
  2. Choose the Store view (language of the email and gift card), enter the Face value and the Recipient email. Leave Send the code to the recipient now switched on so the email goes out when you save.

  3. Valid until is pre-filled from the settings; an empty field means the gift card never expires. In Note, write the reason, for example complaint, order 000000015. The recipient doesn't see the note.

    New gift card form with the fields filled in
    1. Store view - language and sender of the email.
    2. Face value - gift card amount.
    3. Recipient email - where the code goes.
    4. Send the code to the recipient now - the email goes out when you save.
    5. Valid until - empty means no expiry.
    6. Note - reason for issuing, recorded in the movement ledger.
  4. Click Save. The system creates the code; the message at the top tells you whether the email was sent.

You can also enter a gift card on an order you place yourself: the gift card field is next to the coupon field.

Common problems

The shopper paid for the gift card but didn't get the code

The code is only issued once payment is made. For payment by bank transfer against a proforma invoice, create the invoice when the money arrives. Then check in the gift card list that the gift card was created, and resend the code if needed (see Customer can't find the gift card).

I issued a manual gift card with the wrong amount

On the gift card page, in the Adjust balance section, enter an Adjustment (a negative number subtracts) and a Reason. An unused manual gift card can also be deleted.

The shopper wants to return the gift card

The system refuses a credit memo for the order in which the gift card was bought as long as the code is live. First disable the gift card, then create the credit memo.

Was this article helpful?

Related

We use cookies for the proper functioning of the site, visit analytics and showing ads tailored to your interests. Read more in our privacy policy. By clicking "Accept all" you agree to the use of all cookies.