Adding Clearpay site messaging

Adding Clearpay site messaging

Site messaging means making your customers aware of the Clearpay payment method on the product and shopping cart pages of your Shopify website.

Complete these steps to place Clearpay visual assets on the product and cart pages of your Shopify website:

  1. In your Shopify Admin page, navigate to Sales Channels > Online Store > Themes.

  2. Click the Actions dropdown, then click Edit Code.

  3. Under Layout, click theme.liquid.

  4. Click Copy to Clipboard to copy the javascript code.

  1. Scroll to the bottom of the theme.liquid file and click to set the cursor to the line below </html>.
  1. Paste the copied text to the bottom line of the file.
  2. Click Save.


Sliding cart messaging option

To show the messaging in the sliding cart, you must uncomment the line // var clearpay_dynamic_cart_integration_enabled and explicitly set it to true, for example, var clearpay_dynamic_cart_integration_enabled = true; and provide a valid clearpay_dynamic_cart_selector.