Powered by The Uni Deals
Student discount applied at checkout
Your theme's primary button
Whatever your Add to cart looks like, this looks like that.
Button style: Theme primary button
One block. Your storefront, your rules. Try the student-price controls below, then use the settings beside them to make the same thing in your theme.
Rs 4,800
Variant: S
Powered by The Uni Deals
Student discount applied at checkout
On a product page, just below Add to cart.
Layout: Button · Button style: Theme secondary button · Alignment: Left · Full width: On · Show branding: On
Your theme supplies the first two. The outline and orange options bring their own styling. Try each one: the claim flow stays the same.
Unless noted: Layout: Button · Alignment: Left · Full width: Off · Show branding: On. All examples use the default applied message unless a custom message is shown.
Keep the button at its natural width, place it anywhere in the row, or fill the whole column.
Powered by The Uni Deals
Student discount applied at checkout
Alignment: Left · Full width: Off
Powered by The Uni Deals
Student discount applied at checkout
Alignment: Center · Full width: Off
Powered by The Uni Deals
Student discount applied at checkout
Alignment: Right · Full width: Off
Powered by The Uni Deals
Student discount applied at checkout
Alignment: Left · Full width: On
Every example here uses Button style: Minimal outline.
The banner layout carries its own heading, its own sentence and its own colours, so the offer can be explained where it sits instead of only inside the popup.
Keep the small credit line or turn it off. Choose what shoppers see after a code is applied.
Powered by The Uni Deals
Student discount applied at checkout
Show branding: On
Button style: Theme secondary button
Student discount applied at checkout
Show branding: Off
Button style: Theme secondary button
State previews only. No code has been applied to your cart by these examples. Switch back to the button to try the real claim window.
Student discount applied at checkout
Applied message: Student discount applied at checkout
Button style: Theme primary button · Show branding: Off
Your student price is ready for checkout
Applied message: Your student price is ready for checkout
Button style: Theme primary button · Show branding: Off
Custom HTML replaces the button and banner. Mark your clickable element with data-tud-trigger. Custom CSS can finish the credit line and applied message, scoped to this mount.
Still studying? Unlock your student price and put more towards the semester.
Powered by The Uni Deals
Your student price is ready for checkout
Preview the applied state to see the scoped .tud-applied style. The credit line above also uses the scoped .tud-powered rule.
Custom HTML: markup shown alongside · Show branding: On · Applied message: Your student price is ready for checkout
<p>Still studying? <a href="#" data-tud-trigger>Unlock your student price</a> and put more towards the semester.</p>
#tud-demo-custom .tud-powered {
font-size: 0.85em !important;
opacity: 1 !important;
}
#tud-demo-custom .tud-applied {
padding: var(--sp-4);
background: var(--brand-tint);
color: var(--ink);
}
Three parts the built-in settings leave alone on purpose. Scope each rule to the block, or a rule meant for one placement will follow it everywhere.
Powered by The Uni Deals
Student discount applied at checkout
#tud-demo-css-credit .tud-powered {
opacity: 1;
font-size: 10px;
letter-spacing: 0.14em;
text-transform: uppercase;
color: #8D857B;
}
Keep it, but set it in your own small-print style instead of ours.
Student discount applied at checkout
#tud-demo-css-applied .tud-applied {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 10px 14px;
border-radius: 999px;
background: #E8F5EC;
color: #1E7D46;
}
Turn the confirmation into whatever your shop uses to say something worked.
#tud-demo-css-button .button {
width: 100%;
border-radius: 0;
padding: 18px 20px;
font-size: 12px;
letter-spacing: 0.18em;
text-transform: uppercase;
}
Square it off, set the tracking, fill the column. It still inherits your theme first.
Custom CSS is optional. Everything above is reachable without it if the built-in settings already suit you.
The opening example shows the product page. Here are three more places to meet your shoppers, wherever your theme supports app blocks.
In a marketing band, as a reason to start shopping rather than a reason to finish.
Layout: Banner · Button style: Theme primary button · Background: var(--brand-tint) · Text: var(--ink)
Everyday pieces for campus and everything after.
Powered by The Uni Deals
Student discount applied at checkout
Above the grid, so a student sees the offer before picking anything.
Layout: Button · Button style: Minimal outline · Alignment: Right · Full width: Off
Powered by The Uni Deals
Student discount applied at checkout
A last prompt before checkout, for the shopper who did not know the offer existed.
Layout: Button · Button style: Theme secondary button · Alignment: Left · Full width: On
A final reminder for a student who missed the offer while browsing.
Cart placement preview
Powered by The Uni Deals
Student discount applied at checkout
Add the Student price app block wherever your theme supports app blocks, then move it in the theme editor. Built-in settings need no code. Custom HTML and CSS are optional.