---
title: 🗺️ Guided Installation for Shopify Themes
description: Implementing Smartrr on storefronts with Shopify themes
---

[Skip to content](https://connect.smartrr.com/migration/️-guided-installation-for-shopify-themes#main-content)

English

Show submenu for translations

[Request Support](https://connect.smartrr.com/migration/kb-tickets/new)

![Smartrr Logo-1.svg\]](https://connect.smartrr.com/hubfs/Smartrr%20Logo-1.svg)

Open main navigation

Close main navigation

- English
  
  Show submenu for translations
- [Request Support](https://connect.smartrr.com/migration/kb-tickets/new)
- smartrr.com

 smartrr.com

 What are you looking for?

- There are no suggestions because the search field is empty.

1. [Help Docs](https://connect.smartrr.com/migration)
2. [Implementation](https://connect.smartrr.com/migration/implementation)

# 🗺️ Guided Installation for Shopify Themes

## Implementing Smartrr on storefronts with Shopify themes

Note—before implementing Smartrr, it's important to [review Shopify's subscription requirements](https://help.shopify.com/en/manual/products/subscriptions/setup#eligibility-requirements) to determine your eligibility for offering subscriptions on your storefront. You must also have [inventory tracking](https://help.shopify.com/en/manual/products/inventory/transfers/enable-tracking) enabled for a product to be subscription-eligible.

 

![Screen Shot 2022-02-07 at 1.12.14 PM](https://connect.smartrr.com/hs-fs/hubfs/Screen%20Shot%202022-02-07%20at%201.12.14%20PM.png?width=624&name=Screen%20Shot%202022-02-07%20at%201.12.14%20PM.png)

---

 

If your store is using one of Shopify’s themes that is *not* [Dawn](https://themes.shopify.com/themes/dawn/styles/default), or if you’ve partnered with a developer or agency to create a custom theme, you’ll be able to install Smartrr on your site by following the guided instructions below. 

 

Within the Smartrr app navigate to **Setup** under RESOURCES in the left-hand menu. 

 

![](https://lh5.googleusercontent.com/U_OCC83DH8OUb6_JAGgyVzS1yZCnIm0WIy0HARA82JBP-j7Xty8EZPut1-bTkKNRdAYOaeqTg5zQVpiy0fc92TbeXGiRFY3gKv4D6I3DX4sBwv7BKXav52TLXD1v7FcG2t_UtH4f)

 

Complete Steps #1-4; the four prerequisites to installation which instruct you to set up subscription programs, shipping rules, customize account portal theming, and define rules around failed payments. 

 

Implementation of Smartrr begins at Step 5 where you will install **Smartrr Snippets**. 

 

⚠️ To prevent Smartrr from showing up on your site before you're ready to launch, we recommend navigating back to Shopify’s Themes to duplicate a copy of your current theme (Actions \> Duplicate). Name it something that is easily recognizable, such as **\[Your Store\] Smartrr Integration Copy \[Date\]** so that when you modify the below code, you know you are updating the correct theme.

 

Smartrr Snippets are files that are injected into your code base and will *not* modify any existing liquid files. Click the button **+Add Smartrr Snippets**.

 

![](https://lh3.googleusercontent.com/7Xuaq3m_pqq8_MlC4v0J4PIYjj1PggbPWzR9TFIKha-CQwIWaptMZb_alThDSR1ILvZe8S13zvOjwrBt8QJFS8Kq7Urz6ai4DNrf32HEeywn1mSMEORMIz9hW_LJuZoiIfiSZrHz)

 

Upon successful installation of Smartrr Snippets, the following five files will have magically appeared under the ‘Snippets’ section of your theme’s code:

 

![](https://lh3.googleusercontent.com/o_wV9eVF3StvrBuA6u9zu1-z1QAZeKX3A-5p--MgEI2jTj1zlMU5odoW20w_EiVTjpryMftgOAt5k7zXthVmyLSD4QOM-Zs2s4ult57jm1st9TL-NDYV84PV33zCsMH8hQtx9Z3p)

 

Finally, in Step 6, click on **Guided Install** to be redirected back to this page. 

 

![](https://lh3.googleusercontent.com/wiOy-FL3lIPIM2eFxPTE6c67lI4-BB1GToahzvZ3ZvFd8IFoFGxsjkWraBH3yBfHWvnMNuU5GxVPDimUSsXP8mrYjB7my_wAJKhWMXqz50V4qYeequr3xIqwf5u_MZH2XG9nVIc2)

 

There are three files you’ll need to manually adjust: 

 

1. Product Page
2. Customer Account Page
3. Order Status Page

 

**1. Modifying the Product Page**

 

In your duplicated theme’s code base, find the liquid file where your site’s product form information is being stored. This is usually called **main-product.liquid** or **product.liquid**. This file is typically located under either the **Sections** (for Online Store 2.0) or **Templates** (for older Shopify themes) heading. 

 

![](https://lh6.googleusercontent.com/c93f9IrQqEcfKyFTVA3D_QVrn4qNF8UnvkraYHYGV_oSpqWEn4XjEQu4txuw5Rz2IUgzoIkgPG493T3jXDi3C9OocoXOW50RSd6waEa8w708qQ0VcA6LYaYNXB5-oNxprcpeO4JG)

 

Once you’ve opened the file, search for the product form {% raw %}{%- form 'product'}, paste the following Smartrr snippet inside the form. We typically recommend placing between the variant selector and the quantity selector, but you can place in any order you see fit. 

 

 

The file should look like this: 

 

![](https://lh5.googleusercontent.com/GSlf3wxl8G1Nr173an3_YnKPimcJFMOuQEk6LRVNXHcaF3uFoTHQbAYrQOw1sYk4-WMm78j3SQcZw3wbvadVJIEC1jfhq9_pO5pKrLz39AM6EM0V5FY2mna398gag_fJmdZneUMf)

 

Save the file. 

 

**2. Modifying the Customer Account Page**

 

In your duplicated theme’s code base, find the liquid file for your store’s account page. This is usually called **customers/account.liquid**. This file is typically located under either the **Templates** heading. 

 

At the very beginning of the file, paste the following snippet:

 

 

The file should look like this: 

 

![](https://lh3.googleusercontent.com/iPwLF-n2YYD-XkO9eb_YPFFKQ_eAO8milxxekp0KulCDjohFXKkhTBDX_EA8v41xXKWL9nXYMqGWPYx_2ZRAcFOB09CqIlA_JpoZBR36RI9eVLr0fPmYhVXggl8fr4-tTc-3QyWK)

 

Save the file. 

 

**3. Modifying the Order Status Page**

If you would like to display a link to your customer’s Account Portal from the order status page, please email us at [hello@smartrr.com](mailto:help@smartrr.com) and we will assist you.

{% endraw %}

- [Implementation](https://connect.smartrr.com/migration/implementation)
- [Onboarding](https://connect.smartrr.com/migration/onboarding)
- [Subscription Setup](https://connect.smartrr.com/migration/subscription-setup)
- [Admin Portal](https://connect.smartrr.com/migration/admin-portal)
- [Account Portal](https://connect.smartrr.com/migration/account-portal)
- [Transactions](https://connect.smartrr.com/migration/transactions)
- [Troubleshooting](https://connect.smartrr.com/migration/troubleshooting)
- [Everything Else](https://connect.smartrr.com/migration/everything-else)

[![Chill listening crop-3](https://connect.smartrr.com/hs-fs/hubfs/Smartrr%20Gradient%20Square.png?width=24&height=24&name=Smartrr%20Gradient%20Square.png "Chill listening crop-3")](https://smartrr.com/)

Help Docs

Copyright © 2026, Relay Commerce