Quantity Buttons
Add a fully customizable Quantity Buttons component to a Personalization or Test.
Overview
Add quantity buttons to your product pages so customers can select multiple units and unlock tiered discounts without extra friction. The buttons highlight savings to encourage larger purchases and drive higher average order values.

Before you start:
Quantity Buttons are automatically installed via the Intelligems script in most cases. If you are not seeing them when you preview your Offer on an eligible product, please see below for help.
Quantity Buttons are only available on Quantity & Threshold Discounts that have at least one product selected.
To set up a Price Test that is compatible with Quantity Buttons, follow these steps.
Configuration
Basic Setup
Section title: Header text (e.g., "END OF THE YEAR SALE").
Base button: Enable single-item option.
Button title: The main text displayed on each quantity button — typically used to highlight unit count.
Subtitle: Secondary text displayed below the title on each button.
Label: A small tag displayed on a button to call out custom text.
Badge: An overlay badge on the button, typically used to highlight a recommended or popular tier.
Default tier selection: The tier pre-selected when a customer lands on the page.
Compare at price: Enable this option to display compare price. This field will display the compare-at price that is in Shopify for the product being viewed adjusted for the selected quantity.
Show prices per item: Displays the per-unit price within each button to make tiered pricing easy to compare.
Free gift display: Include free gift information on qualifying tiers.
Free shipping badge: Includ free shipping information on qualifying tiers.
Variant mix: Let customers mix & match variants per tier.

Dynamic Variables
Use dynamic variables to populate button text automatically — like the product title or saved amount. Type two brackets or use the field menu on the right to insert them.
Example Usage: "Save {Saved percentage} on {Product title}" to display as "Save 15% on Cast Iron Round Casserole Dish"
Discount Variables
{Saved percentage}: Display discount percentage{Saved $ total}: Total dollar savings{Saved $ per item}: Per-unit savings amount
Product Variables
{Product title}: Specific product names{New total price}: Discounted total price{New price per item}: Discounted per-unit price{Original total price}: Original total pricing{Original price per item}: Original per-unit cost

Color & Style
Styling options available include:
Button Style: Choose from three button style options.
Classic List: Clean, vertical layout with quantity tiers. Best for traditional presentations with detailed pricing.

Image Cards: Includes product images for each option. Ideal for bundles, gift sets, and visual product storytelling.

Compact: Space-saving layout for quick comparison. Perfect for limited space and mobile experiences.

Layout Options: Choose between a side-by-side or stacked layout.
Colors: Control the colors for all fields.
Typography: Control the font sizes and styles for each text field.
You can also customize the look of your quantity buttons in Global Styles (left menu) to keep them consistent across all your offers. You can adjust button styles, primary/secondary/border colors, and set separate styles for desktop and mobile.

Integrating the Quantity Buttons
No separate setup is needed in most cases — the buttons are automatically installed once the Intelligems script is added to your theme & you have set up an offer that includes the quantity buttons component.
Note that you will need to preview or start your offer in order to see the quantity buttons on your site.
If you don't see the buttons while previewing or once you're started your offer, or they are in the wrong location, your theme may use a custom quantity selector that differs from the standard format.
To resolve this, you'll need to manually place the below snippet in your theme code.
Follow these steps to do so:
Access your theme code in Shopify.
Locate your product page file.
The file is typically called
sections/main-product.liquidfor OS 2.0 themes, ortemplates/product.liquidfor older themes. If you're unsure, reach out to our support team.
Find your current qunatity selector.
To orient yourself, search your file for
type="number"orname="quantity"to see your product page structure.If your theme uses
{%- when 'xyz' -%}blocks (OS 2.0 themes), you'll see sections likevariant_picker,quantity_selector, andbuy_buttons.
Insert the snippet where you want the buttons to appear — common placements are:
Right before your add to cart button code
Between variant selection and purchase buttons
Near your existing quantity selector
Test and adjust.
Save your changes in Shopify — nothing will appear for customers until you publish your Intelligems offer.
Preview your offer in Intelligems.
Check if the buttons appear where you want them.
If they're not in the right spot, move the snippet to a different location and test again.
Here's an example placement for reference:
FAQs
How do I update the default quantity in my quantity buttons?
To change the default quantity selected in an offer, you'll need to change the default quantity within Shopify.
Will the quantity buttons work with multiple currencies?
By default, quantity buttons will only reflect your store's default currency. To solve for this, you can either set up audience targeting for your default currency, or follow the steps below to use the buttons with multiple currencies:
Add the script below to the
<head>section of your theme.liquid file.
Inside Intelligems, go to Settings and scroll down to Currency Function.

Add
window.igCurrencyFninto the Currency Function field and click Save Configurations.
Last updated
Was this helpful?