bon-loyaltybon-loyaltybon-loyaltybon-loyalty
  • 特徴
  • ドキュメント
  • ブログ
    • 新しいアップデート
    • ブログ
  • 価格
  • リソース
    • BONとSmile.ioの比較
    • BONとRivoの比較
    • BONとGrowaveの比較
    • BONとLoyaltyLionの比較
    • BONとYotpoの比較
  • パートナー
  • ja
    • en_US
  • 無料で始める
  • デモを予約する
  • 無料で始める
  • デモを予約する
Download
✕

Loyalty page display with coding

  • ホームページ
  • ドキュメント
  • Loyalty page display with coding
‘Subscribe to newsletter’ point-earning action
27 2月, 2023
Amount Discount
15 4月, 2023

Loyalty page display with coding

28 2月, 2023
カテゴリー
Tags

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors

Loyalty page display with coding – BON Loyalty
  • ロイヤルティプログラムを設定する
    • 概要: クイックスタートガイド
    • BONでの複数通貨
    • 購入後のページ
    • Point recommendation strategy
    • Customer interaction with BON Loyalty
  • Dashboard
    • Overview: Dashboard
    • 月間注文制限
    • Activity log
    • Customer activities
  • Customers
    • Overview: Customer data
    • Customer profiles
    • Delete and exclude customers
    • Import data
  • Earn Points
    • Overview: Earn points
    • アカウントを作成
    • Complete an order
    • Delayed points for Completing an order
    • Refunded orders
    • お誕生日おめでとう
    • ニュースレターを購読
    • Complete profile
    • Social media actions
    • Encourage repeated purchases with Order Booster
  • Redeem Points
    • Overview: Redeem points
    • Amount discounts
    • Percentage discounts
    • Free products
    • 送料無料
    • Combine discounts
    • Set up the BON POS UI Extension
    • Check BON discounts in Shopify
  • Referral Program
    • Overview: Referral program
    • Referral steps
    • Avoid unsuccessful referrals
  • VIP Tiers Program
    • Overview: VIP Tiers
    • VIP tags
  • Limited-time Points Offer
    • Overview: Limited-time points offer
  • Branding
    • ウィジェットを表示する
    • Widget theme
    • Widget icon
    • Widget text
    • Display in multiple languages
    • Loyalty page with no coding
    • Loyalty page with coding
    • How to promote BON with loyalty page
    • Display Order Booster
    • Use app embeds for BON on Customer account pages
    • Post-purchase page
    • Points at checkout
  • Emails
    • Overview: Notification emails
    • Email attributes
    • Integrate with Klaviyo
    • Integrate with Dotdigital
  • Analytics
    • Overview: Analytics
  • Settings
    • General settings explained
    • How the point expiration feature works
    • Include tax in order total
    • Integrate with OneMobile
    • BON Loyalty integrate with Subscription Apps
  • 価格
    • How to change pricing plan

Loyalty page display with coding

Understand how to display your loyalty page (for Shopify themes without template section apps)

Introduction

With a simple coding tweak, you can create a stunning loyalty page that will set you apart from the competition. Don’t miss out on this opportunity to boost customer engagement and drive sales!

IMPORTANT NOTE: Displaying the BON loyalty landing page is available in our paid plans: Basic, Growth, and Professional. Check out our pricing plans for more information!

Overview

Activate your loyalty page
Display the loyalty page on your storefront

Activate your loyalty page

Go to BON Loyalty > Branding > ロイヤルティページ > Status > Enable the Loyalty page.

Enable the Loyalty page

Display the loyalty page on your storefront

With the loyalty page activated, let’s make it visible to your customers!

1. Create a new loyalty page template in your theme:

Go to your Shopify admin > Sales channel > Online store > Theme > Click the 3-dot button > Select Edit code.

In the Templates folder, click Add a new template > Select Page, then Liquid > Enter a file name (e.g., bon-loyalty) > Click Done.

Paste the following code into the template section. Select Format liquid > Click Save.

IMPORTANT NOTE: Avoid editing this code to prevent any display issues.

{% liquid
      assign bonLoyaltyPageInfo = shop.metafields.bonLoyaltyPageInfo.bonLoyaltyPageInfo
      assign bonShopInfo = shop.metafields.bonShopInfo.bonShopInfo
  %}
  <script> var bonLoyaltyPageInfo = {{ bonLoyaltyPageInfo | json }}; </script>
  <script> var bonShopInfo = {{ bonShopInfo | json }}; </script>
  <div class='shopify-section'>
      {{ page.content }}
      <script id='script-bon-loyalty-page' src='https://d31wum4217462x.cloudfront.net/loyalty_page/js/app.js'></script>
  </div>
 

2. Add the template to Pages menu:​

Next, you’ll need to assign the newly created template to the Pages menu you’re currently using in your store.

Go to your Shopify admin > Sales channel > Online store > Pages > Add page.

Add to pages

Select the new template you created in the Theme Template section > Name your loyalty page (e.g., Rewards Program, Loyalty Page).

3. Add the new template to the Navigation bar:

Last but not least, put the loyalty page onto your navigation bar. 

Go to your Shopify admin > Sales channel > Online tore > Navigation > Choose to display your loyalty page at either the Footer menu or the Header menu (Main Menu).

Add LP to menu bar

Go to Add menu item > Homepage > Pages > Select the newly created template > Add.

Your loyalty page is now ready to engage your customers!

Previous
« ‘Subscribe to newsletter’ point-earning action
次
Amount Discount »

Share
2
BON Loyaltyを無料で試そう!
無料で始める
Menu
BON Loyalty

BON Loyalty は、魅力的なポイント、報酬、紹介プログラムによって加盟店が顧客エンゲージメントを高めるのを支援する、信頼できる報酬および紹介ソリューション プロバイダーです。

製品

  • ホームページ
  • 特徴
  • アップストア

当社について

  • パートナーになりませんか
  • お問い合わせ

リソース

  • ブログ
  • ビデオ

法律上の

  • プライバシーポリシー
  • 利用規約
© 2021 BON Loyalty - Rewards & Referrals
facebooklinkedintwitteryoutube