Spend Basis
Overview
Spend basis controls how Omake calculates the cart total when evaluating spend-based tiers. You can choose whether thresholds are checked against the cart total before discounts or after discounts.
Find this setting on the Your Omake page under the tier configuration area.
Before discounts (default)
The cart total is calculated from line item prices before any discount codes or automatic discounts are applied.
- A cart with $80 of products and a $20 discount code still counts as $80 toward the threshold
- Simpler and more predictable — customers always know what counts
- This is the default and works well for most promotions
After discounts
The cart total is calculated after all discounts are applied, using a server-verified amount.
- A cart with $80 of products and a $20 discount code counts as $60 toward the threshold
- Fairer when running discount codes alongside gift promotions — prevents customers from reaching a tier using a heavily discounted cart
- The post-discount total is verified server-side to prevent manipulation
When to use each
Best for:
- Simple, straightforward promotions
- When you want discounts and gifts to stack (e.g., "Save 10% AND get a free gift over $50")
- When your thresholds are set with pre-discount prices in mind
Example: "Spend $75, get a free sample" — a customer with $80 in the cart and a 20% off code still qualifies, even though they're paying $64.
Best for:
- Promotions where you don't want discounts to "double-dip" with gifts
- When running aggressive discount campaigns alongside GWP
- When fairness matters more than simplicity
Example: "Spend $75, get a free sample" — a customer with $80 in the cart and a 20% off code does NOT qualify, because the after-discount total is $64.
How it works technically
- Before discounts: Omake's Cart Transform calculates the total from line item prices directly. No server communication needed.
- After discounts: The widget reports the post-discount cart total to the server, which verifies it using the Storefront API. The verified amount is stored on the cart and read by Cart Transform. This adds a small server round-trip but ensures the amount can't be tampered with.