Home Background, thin.png

Shopify Setup

Support

Change Location of Get Discount Button

Below we show you how to quickly add a little snippet of code so you can change the location of the Get Discount button on your item page. It will only take a couple of minutes.

Get Discount, Slideout

When you install the Probability Pricing app on your Shopify store, the default location of the "Get Discount" button is on the right side of item page.

Get Discount, Button

Some store owners find that the "Get Discount" button is more visible when placed next to the price of the item. To do so, you need to insert a little code snippet into the backend of your store.

Not a coder? Not a problem.

The video below gives you step-by-step instructions on how to make the "Get Discount" button to appear next to the price of your item. Watch the video, copy the little red snippet of code to your clipboard, and you'll be ready to go!

{% if request.path contains '/products/' %} <button class="btn button" style="cursor:pointer" data-modal="#itc-skp-discount-modal" data-itc-skp-discount-btn>Get Discount</button> {% endif %}

portrait-of-elderly-man-with-book-JKW9ZB

Did it work?

Given the high quantity of Shopify store themes, coupled by the infinite amount of individual customizations, it is possible that the above code snippet didn't work for your store. If that's the case, send us a note and we'll get you up and running for free.