IMPORTANT UPDATE: We implemented user friendly method to add Shopify boosters through app settings without any code. These code snippets are not required anymore and will stop working soon with our app. 

This post will show how to implement some javascript snippets to improve your store conversion with our One Page Checkout:

  • Field reduction
  • Sidebar messages
  • Order reservation countdown timer

First you need to open text or html editor. If you don't have any tools, you can use a simple text editor. Copy the below code into and save it as checkoutsnippets.js. Then go inside Shopify admin to section Settings->Files and upload the file. Copy the file url, then go to Apps->One Page Checkout and paste the file location to field Custom javascript file and click Save settings button.

Step by step instructions:

1. Copy the snippets code you would like to use. If you would like to use all snippets, just copy/paste all of them into the same file with new empty line between.

Order reservation

This is not our snippet but it comes from Conversion Pirates. First visit and create code based on your configuration. Copy generated code, then visit to beautify the code.

Now you will need to modify the code a bit.

Find these lines:

and replace it with these:

then find the last line

and replace it with

The final code will look like this:

Fields reduction

Sidebar messages

You can replace the text and icons within the code.

Copy/paste the code into text/code editor and save it to your computer. You can choose any name, but it must end with .js. In our example we choose boosters25.js

Inside Shopify admin navigate to System->File and upload the file. Copy the file path.

Navigate to Apps->One Page Checkout and paste the path into field Custom javascript file, then click Save settings button.