Promo codes and coupons

Promo codes and coupon promotions are a marketing tool used to provide users with codes for obtaining bonus items. Users can enter the promo code into a special field in the catalog to redeem it.

Promo codes redeemable at the time of purchase, and coupons — after the user enters a code.

Setting up a personalization is available with any authentication type: through User ID or Xsolla Login.

User flow

  1. The user goes to the landing page with Promocodes block.

  1. The user clicks Log in and authorizes through User ID or Xsolla Login.
  2. The user enters a code in a special field in the interface and clicks a button to the right of the field.

  1. Opens a modal window:
    • when activating a promo code – with info about discounts and bonuses;
    • coupon redemption – with info about discounts and bonuses that user already received.
Note
If the code is incorrect, under the field for entering the code, the error will be described.
Example: The redemption limit has been reached.

  1. For promo codes promotion:
    1. An updated catalog is displayed with discounts and bonus products using a promo code.

Before making a purchase, the user can cancel the promotional code, then the catalog will be updated and displayed without discounts and bonuses for the promo code. In this case, the promo code is not considered redeemed.

    1. User makes a purchase, after it promo code will be considered redeemed.

If bonus items are attached to the promo code, they are credited to the user.

How to get it

To add a block with the ability to redeem codes to your site:

  1. Add a field for entering a code in Site Builder.
  2. Create promotions with promo codes or coupons in the Store.

Set up in Web Shop

To show a field for entering a code on your site:
  1. Open your project in Publisher Account.
  2. Click Site Builder in the side menu.
  3. In the Sites section, select your site and click Open Site Builder.
  4. Click Add block.
  5. Choose Promocodes block.
Note
The button text for redeeming a coupon/promo code is Redeem by default. To change the text of a button, double-click on it and enter the text that is displayed on the site.

Set up in Publisher Account

To set up a promo code promotion:

  1. Open your project in Publisher Account.
  2. In the side menu, click Store.
  3. In the LiveOps and promotion tools pane click:
    • Connect – if you don’t have promotions
    • Configure – if you previously connected promotions

  1. Click Create promotion.
  1. Specify the following parameters:
    • Enter the promotion name.
    • Choose Promo codes as the promotion type.
  2. Create an External ID — a unique promotion identifier used to manage promotions via API methods.
  3. Specify the discount percentage for the promo code. The discount can be applied to the entire purchase or to specific items.
  4. Choose the bonus items that the user receives when they redeem a promo code:
  1. Specify the total number of redemptions and number of redemptions per user.
  1. Specify the duration of the campaign.
  1. Check the settings and save the promotion.
  2. Go to the promotion editing menu.
  3. In the Codes tab, choose how the promo codes are generated.
  4. Generate the promo code or enter it manually.
  5. Save changes.
  6. Activate the promotion.
Note
While the promotion is active, you cannot change it.
Was this article helpful?
Thank you!
Is there anything we can improve? Message
We’re sorry to hear that
Please explain why this article wasn’t helpful to you. Message
Thank you for your feedback!
We’ll review your message and use it to help us improve your experience.
Last updated: June 11, 2024

Found a typo or other text error? Select the text and press Ctrl+Enter.

Report a problem
We always review our content. Your feedback helps us improve it.
Provide an email so we can follow up
Thank you for your feedback!
We couldn't send your feedback
Try again later or contact us at doc_feedback@xsolla.com.