Design & placement guide

How to add a badge near the Add to cart button on Shopify

Quick answer

To add a badge near the Add to cart button on Shopify, create a label in Nexora Product Labels & Badges, choose In Product Info Area on General, then set Info Placement on Design to Above Add to cart (product page), Below Add to cart (product page), Below Buy it now (product page) or Below quantity (product page). On collection pages, these labels show below the price.

Updated 5 min read Install free

Why put a message next to the buy button

The area around Add to cart is where shoppers make the final call. Small reassurances work well there: free shipping over a threshold, the returns policy, a dispatch time, a gift-wrap option. A badge next to the title is for browsing; a line by the button is for deciding.

  • Free shipping over $50 above Add to cart.
  • 30-day free returns below Buy it now.
  • Order by 2 pm, ships today below the quantity box.
  • Gift wrap available below Add to cart on giftable products.

Your options on Shopify

In Online Store 2.0 themes you can often add a text block to the product information section in the theme editor and drag it near the buy buttons. That works for one fixed message on every product. It's harder when the message should only show on some products, change by date, or also appear on collection cards.

OptionPer-product targetingNotes
Theme editor text blockNo, same on every productSimple; position depends on the theme's blocks
Custom LiquidYes, with codeNeeds a developer
Label with a product-form Info PlacementYes, with the label's conditionsAlso dates, customers, countries and devices

Step by step: a free shipping line above Add to cart

  1. Create the label

    Go to Product Labels and click + Add Label. On General, keep the Text type and choose In Product Info Area.

  2. Write the text

    On Design, set the Label Text to Free shipping over $50. A soft background and a small font size suit a line near the button.

  3. Choose the placement

    Set Info Placement to Above Add to cart (product page) and Info Alignment to Left or Center to match your buttons.

  4. Adjust spacing

    Use Margin Top and Margin Bottom (0–80 px) to give the line some room from the button.

  5. Pick products and pages

    On Display condition, choose the products and tick Product Page under Show On Pages if you don't want it on collection cards.

  6. Save and check

    Click Save and open a product page on desktop and mobile.

All Info Placement options

Info PlacementProduct pageCollection and other pages
Above title, Below titleNext to the titleNext to the title
Above price, Below priceNext to the priceNext to the price
Above Add to cart (product page)Directly above the buttonBelow the price
Below Add to cart (product page)Directly below the buttonBelow the price
Below Buy it now (product page)Below the dynamic checkout buttonBelow the price
Below quantity (product page)Below the quantity selectorBelow the price
Custom position (CSS selector)Above or below the first element matching your Product page selectorInside each card, next to your Product card selector

Several info-area labels at the same spot line up together, following Stack direction and Stack gap in Settings. For title and price placements in more detail, see badges below the product title.

Title and price placements suit badges for browsing; button placements suit reassurance

Custom position with a CSS selector

If your theme has a block the presets don't cover, such as a delivery info row or a size chart link, choose Custom position (CSS selector). Enter a Product page selector, a Product card selector or both, and set Place the label to Above the element or Below the element.

  • The editor checks the selector as you type and tells you if it's not valid CSS.
  • On the product page, the label goes next to the first element that matches.
  • On collection, search and home pages, the card selector is looked up inside each product card.
  • Where a selector matches nothing, the label falls back to below the price.

Not sure which selector to use? Ask us through live chat in the app. We can look at your theme and suggest one.

On collection cards, product-form placements show below the price

Tips and common mistakes

  • One or two lines, not five. Too many messages near the button push it down and slow shoppers down.
  • Check cards too. A product-form placement moves below the price on collection pages. Untick Collection Page if the message only makes sense on the product page.
  • Theme without Buy it now? If your theme hides dynamic checkout buttons, use Below Add to cart instead.
  • Mobile spacing. Margins can be set per device, so tighten them on small screens.
  • After a theme change, check again. Button areas differ between themes, so look at the product page after switching.

Example setups by store type

StoreLabel TextInfo PlacementProducts
FashionFree returns within 30 daysBelow Buy it now (product page)All products
CoffeeOrder by 2 pm, ships todayBelow quantity (product page)All products, with a weekday schedule
FurnitureMade to order: ships in 4–6 weeksAbove Add to cart (product page)Collection Made to order
GiftsGift wrap availableBelow Add to cart (product page)Tag giftable

The coffee example uses Repeat on a weekly schedule so the same-day message only shows on weekdays before the cut-off. See weekly label schedules.

Frequently asked questions

Can I put a badge right above the Add to cart button?

Yes. Choose In Product Info Area and set Info Placement to Above Add to cart (product page).

Where do these labels show on collection pages?

Below the price. The four product-form placements only apply on the product page.

Can I place a badge next to any element on the page?

Yes, with Custom position (CSS selector). If the selector matches nothing, the label shows below the price.

What if two labels use the same placement?

They line up together at that spot, following Stack direction and Stack gap in Settings.

Can I show the badge only on mobile?

Yes. Under Display condition, set Show on devices to Mobile only.

Keep reading

Related guides

Get started with Nexora Product Labels & Badges

Start on the free plan and upgrade only when you need more. Billing runs through Shopify.