Introduction
Discount codes are a great way to attract new customers, reward loyal buyers, or boost sales during promotions. With Swiftwebsites.ai, you can set up flat discounts, percentage-based discounts, and free shipping codes that apply automatically or with a coupon code at checkout.
Creating a Discount Code
Go to Store → Discounts → Add Discount.
Choose the type of discount you want to create:
Flat Discount – Subtracts a fixed amount (e.g., $10 off).
Percentage Discount – Deducts a percentage of the product price (e.g., 15% off).
Free Shipping – Removes shipping fees for eligible products.
Discount Details
Name – Internal name for your reference.
Discount Code – The code customers will enter at checkout (e.g., SAVE15).
Automatic Discounts – Instead of requiring a code, you can set rules to auto-apply discounts for:
Specific products
Entire categories
Membership groups (e.g., VIP customers)
Scheduling Discounts
Set Valid From and Valid To dates.
Perfect for limited-time offers (flash sales, holiday promotions, seasonal campaigns).
Rules & Combinations
Allow stacking: Decide whether discounts can combine with other offers.
Single best discount: If stacking is disabled, only the largest discount applies.
Managing Discounts
View all active and inactive discounts in the Discounts dashboard.
Enable/disable discounts with a single click.
Edit existing discounts anytime to adjust rules, dates, or amounts.
Best Practices
Keep codes short, memorable, and easy to type (e.g., SPRING20).
Use percentage discounts for storewide sales and flat discounts for specific products.
Always set an expiration date to create urgency and avoid forgotten promos running indefinitely.
Test your discount before going live to ensure it works as intended.
Quick Workflow Recap
Add discount → choose type (Flat, Percentage, Free Shipping)
Set code or auto-apply rules
Define products, categories, or groups
Schedule start and end dates
Save and enable


