Integration for Inline Position

โš ๏ธ Before You Begin

If your store uses an Online Store 2.0 theme (such as Dawn), we recommend using the App Block integration instead of manual code.

For Online Store 2.0 themes, you have two integration options:

  • โœ… Recommended: Add the button using App Blocks.
  • ๐Ÿ“ Alternative: Integrate the button manually using the steps in this guide.

Note: If you're using a vintage Shopify theme, continue with the instructions below.

๐Ÿš€ Manual Integration Steps

1๏ธโƒฃ Open Your Shopify Admin and Edit Your Theme Code

From your Shopify Admin, navigate to:

Online Store โ†’ Themes On your published theme: Select Edit code

Screenshot 2026-07-27 113846.png

2 Locate the Product Template

Open the following file:

Sections โ†’ main-product.liquid

Depending on your theme, the product template may be located in a different file.

Screenshot 2026-07-27 114103.png

4๏ธโƒฃ Find the "Add to Cart" Button

Search for your theme's Add to Cart button by pressing:

  • Ctrl + F (Windows)
  • โŒ˜ + F (Mac)

Look for code similar to:

<button type="submit" name="add" id="AddToCart" class="btn">
<span id="AddToCartText">
{{ 'products.product.add_to_cart' | t }}
</span>
</button>

The exact code may vary depending on your Shopify theme. Look for a <button> or <input> element containing text such as:

  • AddToCart
  • add-to-cart
  • Add to Cart

๐Ÿ“Œ Can't Find It?

Some Shopify themes store the product form in a different file. If you can't locate the button in product-template.liquid, check one of the following:

  • Templates โ†’ product.liquid
  • Sections โ†’ product.liquid
  • Snippets โ†’ product-form.liquid
  • Snippets โ†’ product-options.liquid

5๏ธโƒฃ Add the Watchlyst Button

Immediately below the Add to Cart button, insert the following code:

<div id="thewatchlystalertButton" class="twlbutton twlinline"></div>

This will display the Watch Price button directly beneath the Add to Cart button in an inline position.

Screenshot 2026-07-27 114551.png

6๏ธโƒฃ Save Your Changes

Click Save to apply your changes.

๐ŸŽ‰ That's It!

The Watch Price button will now appear on your product pages, allowing customers to subscribe to price drop notifications directly from your Shopify storefront.

๐Ÿ’ก Tips

  • ๐Ÿ“ The button is displayed inline by default.
  • ๐ŸŽจ You can customise the button's appearance, position, and styling anytime from the Watchlyst app dashboard.
  • ๐Ÿงช After saving your changes, visit a product page to verify that the button is displayed correctly.

๐Ÿ’ฌ Need Assistance?

If you're unable to locate the correct theme file or need help positioning or customising the Watchlyst button, our support team is happy to help.

๐Ÿ“ง Email: [email protected]