If your store is on Shopify, BigCommerce, or WooCommerce, Omnisend can auto-generate unique discount codes. For all other ecommerce platforms (like Magento, PrestaShop, or custom stores), you must create discount codes manually in your store admin and add them to the Discount Item.
This guide shows you how to add a manually created discount code to your Omnisend email campaigns.
Before You Begin
Create your discount code in your store's admin panel before starting. Omnisend cannot generate codes for platforms other than Shopify, BigCommerce, and WooCommerce.
Set code restrictions (usage limits, eligible products, expiration) in your store admin – not in Omnisend.
⚠️ Important: Omnisend does not manage redemption limits or expiration for manual discount codes. Configure these settings in your store admin.
Add the Discount Item to Your Email
Step 1. In the Omnisend email editor, click Add Element in the left sidebar → Drag the Discount item into your email content.
Step 2. Click the Discount Item to open the configuration panel. In the Discount code field, enter the code you created in your store admin (e.g., WELCOME10).
This code will display in the Discount Item when customers receive your email.
Step 4. Add a button to redirect customers after they copy the discount code (Optional).
In the Button text field, enter your call-to-action (e.g., "Shop Now").
In the Button link field, add the URL where customers should land (your homepage, a collection page, or for Abandoned Cart automations, a cart recovery link).
Adjust button style (colors, font) and alignment (left, center, right) as needed.
Configure Discount Item Settings and Layout
Gmail Annotations
Gmail Annotations are a promotional email feature that displays discount details directly in the recipient's Gmail inbox, making your email stand out.
To enable:
Toggle Gmail Annotations on.
Your discount information will appear in the inbox preview for Gmail users.
Example:
Colors
Customize the Discount Item colors to match your brand:
Text color – The discount code text.
Border color – The outline around the code.
Background color – The fill behind the code.
To use a custom color:
Click the + sign next to the color palette.
Enter a HEX color code or use the color picker.
Layout Settings
In the Layout tab, adjust:
Background color/image – Fill color or image for the entire item.
Padding – Space around the Discount Item.
Alignment – Left, center, or right placement.
Visibility on devices – Show on all devices, mobile only, or desktop only.
FAQ
Which ecommerce platforms require manual discount codes?
Any platform other than Shopify, BigCommerce, and WooCommerce. Examples: Magento, PrestaShop, custom-built stores.
Can I offer unique discount codes to each customer?
Yes. Create your codes in your store admin, then:
Go to Audience → Contacts → Add Contacts → File import.
Upload a CSV with columns for
emailanddiscount_code.Map the discount code column to a custom property (e.g.,
discount_code).In your email, use the personalization tag
[[contact.custom_properties.discount_code]]to display each contact's unique code.
How can I restrict the discount to one use per customer?
Check if your store platform offers a one-use-per-email-address restriction in your discount code settings.
Can I track manual discount code usage in Omnisend?
No. Track code redemptions and usage in your store admin's discount reporting tools.
If you have any questions or need assistance, do not hesitate to contact our support team at [email protected] or via in-app chat.








