All Collections
Setting Up
How to Install Your Buy Box
How to Install Your Buy Box

Let's make sure your customers can check out on your store by installing the buy box!

K
Written by Karin Brashears
Updated over a week ago

What is a "Buy Box"?

This is almost exactly how it sounds - a box where your customers will go on your site, to inevitably checkout with their product or subscription.

How do I Install Automatically?

We first have the option to install automatically from our merchant portal. To do so:

  1. Navigate to our merchant portal

  2. Scroll to the "Setup" section, and click the "Automated Subscribe & Save Widget Installation"

  3. Follow the instructions on the page - and you should now have the "Subscribe & Save" widget successfully installed!

4. Following these actions successfully will result in four files being added to your selected theme in the snippets folder.

  1. rtx-account-btn.liquid - This file handles the manage subscription link in the account page.

  2. rtx-api.iquid - This file works in conjunction with rtx-pdp.liquid to add the selling plan id to a subscription order.

  3. rtx-pdp.liquid - This file handles almost all of the buy box code and styling along with helper functions for events happening on the product page.

  4. rtx-passwordless-btn.liquid - This file handles the passwordless login link that is placed on your login page.

5. Installing these snippets through the Stay.Ai app will also try to add the appropriate {% render %} tags into the liquid code. This will allow the elements to be displayed on the correct page. Since most themes have custom work done to them and there are large disparities between themes, these tags will be placed on the best approximation of where they should render.

  1. NOTE: There may be additional work required to get them styled or positioned exactly where you would like them. If you need development support accomplishing this, or if the install did not work properly, please reach out to the Stay.Ai Team.

To manually install the Stay.Ai Subscribe & Save Widget 2.0, start by following the below instructions:

  1. Log into the Shopify Merchant admin for a dev store.

  2. Navigate to 'Online store --> Themes' using the left-hand navigation.

  3. Install a 2.0 theme that doesn't currently have a buy box installed. To do so, either...

    1. Install a fresh theme ('Dawn' is the default 2.0 theme)

    2. Duplicate another theme without a buy box so you have a copy to work with

  4. Once you have installed your theme, click the 'Customize' button for the theme. You should now be in the Shopify Theme editor.

  5. Navigate to a product in your test store within the theme editor.

  6. On the left hand side you should have a menu.

    1. Under 'Product information' locate and click the 'Add block' button

    2. It will pop up a menu that has two sections; 'THEME BLOCKS' and 'APPS'. Under 'APPS' locate the 'Subscribe & Save Block'. It should have a sub header labeled 'Stay.AI Subscriptions'. Click it.

    3. You should now see a menu on the right hand side of the browser to customize the 'Subscribe & Save Block'.

  7. Locate and check the 'Enable Buy Box' checkbox

  8. You should now see the buy box appear in the UI!

  9. From this point you have a lot of flexibility on editing the buy box with built-in tool customization.

    1. The ability to switch between UI’s for Radio Buttons, Regular Buttons, or Stacked Buttons. As well as options for color selectors, border radius, and border width.

    2. There is also a section to implement more in-depth custom CSS rules.


  10. When you are ready to test, click “Save” in the upper right hand corner. You should now be able to preview this theme and have a working buy box on your product detail page!


And, you're done!

As mentioned, if you have any issues, please reach out to your Stay.Ai Customer Service representative to help resolve!

Did this answer your question?