How to add the app blocks to your theme

App blocks are the pieces you place in your theme to decide where an offer shows on your store, for example under the price on a product page. This article lists the blocks that come with Sol: Gifts & Bundles, which offer uses which block, and how to add a block.

Before you start

The blocks

The theme editor lists the blocks under Apps, with the names in this table.

Block Where it goes What it shows
Gift offers Product page The free gifts a product unlocks, tier by tier, under Add to cart.
BXGY card Product page A card for a Buy X Get Y offer that covers the product.
Volume discount Product page The tiers of a volume discount, as a table or as options.
Product sale Product page The sale price and countdown for a product on sale.
Product add-ons Product page Related products shoppers can tick to add with the main product.
Mix & match Product page The picker of a mix & match bundle.
Bundle page Product page The size and item picker of a bundle page. It goes on the product page that the app creates for the bundle.
What’s in the set Product page The products inside a "bundle as a product".
Buy the set Product page A card on the page of each item in a fixed bundle, with a button that adds the set.
Product boosters Product page The gift badge, countdown timer and the "more offers" fold.
Box builder A page you create The step-by-step box builder. This one is a section on a page template, not on a product template.
Gift goal Cart page, or any section The cart message, progress bar and gift picker.
Announcement bar Header A bar at the top of every page, with a countdown.
Offers page A page you create One page that lists all your live offers.

Two app embeds also exist: Gifts & Bundles, which every shop needs, and Today’s offers, which adds a floating button that lists live offers.

Which offer needs which block

Offer Block to add
Free gift with purchase Gift offers on product pages (optional) and Gift goal on the cart page
Buy X Get Y BXGY card (optional)
Volume discount Volume discount
Cart discount Gift goal on the cart page (optional)
Product sale Product sale
Product add-ons Product add-ons
Mix & match Mix & match
Build a box Box builder
Bundle page Bundle page
Bundle as a product What’s in the set
Fixed bundle Buy the set, only if Show on each item’s page is on in the Features tab
Thank-you page upsell None. It is added in the checkout editor, not in your theme.

Discounts apply at checkout even without a block. The block is what shows the offer to the shopper before checkout.

Add a block from the app

For most offers, the editor opens the theme editor with the block already added.

  1. Open the offer and go to the On your store tab.
  2. Find the row that reads, for example, Add the “Volume discount” block to your product template once.
  3. Select Add block. For the box builder, the button reads Add section.
  4. The theme editor opens in a new tab with the block added. Move the block where you want it, then select Save.

For boosters, the same kind of button appears on the booster's page in Boosters, with the label Add block in theme editor. The Gift goal and BXGY card blocks have no button in the app. Add them in the theme editor as described below.

Add a block in the theme editor yourself

  1. In Shopify admin, open Online Store > Themes and select Customize on your live theme.
  2. Use the page selector at the top to open the template you want, for example Products > Default product.
  3. In the left panel, open the section where the block should go, for example Product information, and select Add block.
  4. Under Apps, choose the block.
  5. Drag the block to its position, usually under the price or under Add to cart.
  6. Select Save.

[!INFO] A block shows only when an active offer applies to the page. You can add a block to a template without changing products that have no offer.

Check that it works

Open the page in your store and look for the block. If it does not appear, check that the offer is Active, that the app embed is On, and that the product is part of the offer. See Why isn't my offer showing on the storefront?.

Related articles

← How to turn on the app embed