Cookie Consent by Free Privacy Policy Generator Update cookies preferences

Clearpay On-Site Messaging App

This page shows you how to do the following:

❗️

This information is for Shopify 2.0 Themes

The instructions below apply to Shopify 2.0 Themes only.

Install the Clearpay On-site Messaging App

Do the following:

  1. Click the link to download and install the Clearpay On-Site Messaging app from the Shopify App Store.

Add the Messaging to the Product Pages

  1. Once installed, you need to open the Clearpay On-Site Messaging app. To do this, go to Shopify Admin. Then go to Apps and select Clearpay On-Site Messaging.

  2. From the app's Add Messaging section, click Open Theme Editor

  3. From the Theme editor, click the dropdown at the top of the editor, then click Products.

  4. Select the Default product template, or the Product template that needs messaging.

📘

How Messaging Works

Messaging works on Product Page templates. So if you have a single Product Page template, you add messaging to that template. If you have several different Product Page templates, then you'll need to add messaging to each one separately.

  1. Move your mouse over the Product price, a + symbol appears.

  1. Move your mouse over the + symbol until the Add Block button appears.

  1. Click Add block and then select Payments Messaging - Clearpay On-Site Messaging.

The Product page should now look like this:

  1. Click Save in the top right corner.

Add the Messaging to the Cart Page

You are now ready to add some messaging to the Cart page. Do the following:

  1. For an accurate Cart page preview, click Add to cart

  1. Next, to open the Cart page, click the dropdown at the top of the editor and click Cart.

  1. Move the mouse over the Subtotal above the Checkout button. A + symbol appears.

  1. Move the mouse over the + symbol, an Add block button appears.

  1. Click Add Block and select Payments Messaging Clearpay On-Site Messaging

  1. If the text alignment is wrong, adjust the text alignment. To do this, click the Text Alignment dropdown and select a new alignment option.

Mobile view

You can set a separate alignment for display on mobile devices.

Do the following:

  1. To check the appearance on a mobile device, click the monitor icon and then click Mobile at the top right of the editor.

  1. Scroll down to Mobile View settings, make any changes you need.

  2. Click Save in the top right corner.

  3. Verify your messaging and alignment on your live store.

You can adjust various aspects of the page for mobile devices. See the Mobile View Adjustments section below for more details.

Adjust the Style of Messaging

You can adjust many aspects of the styling. To do this:

  1. Select the Payments Messaging - Clearpay On-Site Messaging block on the Product page.

Alternatively you can select Payments Messaging - Clearpay On-Site Messaging from the side bar under Product information. See picture below:

Text Alignment

To adjust the text alignment:

  1. Click the Text Alignment dropdown and select a new alignment option.

Margins

To adjust the margins above and below the messaging:

  1. Enter a new value into the Margin Top field.

  2. Enter a new value into the Margin Bottom field.

Negative values are allowed..

Text Colour

To adjust the text colour:

  1. Click the Text Colour colour-picker and select the new text colour.

Text Size

  1. Click the Text Size dropdown and select a new text size option, extra small, small, medium and large.

Intro Text

To adjust the intro text:

  1. Click the Intro Text dropdown and select a new intro text option. The options are, In, in, Or, or, Pay, pay, and Pay In, pay in.

For example, in the picture below the intro text is Pay.

Show/hide "interest-free"

To show or hide the interest-free phrase:

  1. Enable or disable the Show "interest-free" checkbox. In the intro text example above, the interest free phrase is enabled.

The default value is enabled - so the phrase interest-free appears to your customers. In the picture above, the checkbox is blank, so no interest-free message appears to your customers.

Bold Payment Amount

To show or hide the payment amount in bold:

  1. Enable or disable the Bold Payment Amount checkbox.

The default value is enabled - the payment amount is in bold. In the interest-free picture above, the checkbox is enabled, so the payment amount appears in bold to your customers.

Show/hide "with"

The word with appears between the price and the Clearpay logo or badge. See the Logo Type below. To show or hide the word with:

  1. Enable or disable the Show "with" checkbox. In the picture below, the word with is enabled and appears before the Clearpay logo. This is the default setting.

Logo Type

To set the logo type:

  1. Click the Logo Theme dropdown and select a new logo type.

Logo Theme

To set the theme of the logo:

  1. Click the Logo Theme dropdown and select the new logo theme you want.

Modal Link Style

When a customer clicks on the modal link, a pop-up window appears with more information about Clearpay. The default symbol for the modal link is a circled info icon ⓘ.

To change or hide the modal link:

  1. Click the Modal Link Style dropdown and select the new modal link option.

The modal link choices are:

Modal Theme

The modal theme is the information the customer sees when they click the modal link. There are two options, a design in mint and and a design in white. To adjust the modal theme:

  1. Click the Modal Theme dropdown and select a new modal theme option. The example below shows the white option.

Outside Order Limits Messaging

The outside order limits messaging is a message displayed when the product price is outside the limits for Clearpay.

Currently the default for these limits are £1.00 - £1,500.00 for the UK.

To adjust the outside order limits messaging:

  1. Disable the Show Lower Limit checkbox to hide the lower limit.

  2. Enter a new amount in Minimum Order Limit to show the outside order limits messaging for products under this limit.

📘

Note

The Minimum Order Limit should match your Clearpay account. Remember this setting only affects the messaging and not whether customers can buy products at the checkout.

  1. Disable the Show Upper Limit checkbox to hide the upper limit.

  2. Enter a new amount in the Maximum Order Limit to show the upper limit for products over this limit.

📘

Note

The Maximum Order Limit should match your Clearpay account. Remember this setting only affects the messaging and not whether customers can buy products at the checkout.

Disable Show If Outside Limits to hide the outside order limits messaging completely.

Mobile view adjustments

You can set the styling separately for customers on mobile devices. To set the styling for mobile devices, do the following:

  1. Click the monitor icon near the Save button.

  2. Click the Mobile button that appears.

Breakpoint

To adjust the screen width that defines the mobile view:

  1. In the Breakpoint field, enter a new number in pixels.

Text Alignment

To adjust the text alignment for a mobile view:

  1. Click the Text Alignment dropdown and select a new alignment option.

Margins

To adjust the margins above and below the messaging on a mobile view:

  1. Enter a new number, this can be a negative number, into the Margin Top or Margin Bottom fields.

Footer Payment Icon

To place a payment icon on the footer (bottom) of the payment page, do the following:

  1. From your Shopify admin, go to Online Store and select Themes.

  2. Select the theme you want to edit, click the ... button to open the Actions menu, and then click Edit code.

  3. Open the Sections folder and click footer.liquid.

If your theme doesn't include this file, click theme.liquid in the Layout folder.

  1. Find the following code in the file:

  1. Replace the highlighted line in the example with the following two lines of code:
{% assign enabled_payment_types = clearpay | concat: shop.enabled_payment_types %}
{% for type in enabled_payment_types %}

Once you have made your replacement, the code should look like this:

  1. Click Save.

  2. Verify on your live store.

📘

Code language

The code examples above are in Liquid, which is Shopify's own code language.