为了保障Smartpush的正常使用,您需要在主站启动Smartpush脚本或打开主题嵌入开关,否则将影响Smartpush内部分重要功能的使用,如弹窗表单、自动化任务、细分群组、客户生命周期等。
如何启用脚本
对于Admin后台链接为shoplineapp.com的店铺,您需要在 「主站-扩充功能-我的扩充功能」,手动点击SmartPush【启用脚本】按钮,才能保证Smartpush内各功能的正常使用。
在开发者门户中,您可以选择要渲染脚本的主题、页面或位置
在上面的屏幕截图中,您可以看到右侧有 3 个小部件,分别是
1. 页面触发
2. 插入位置
3. 支持的主题
需要了解的是,目前Smartpush内部分重要功能对部分模版和页面暂不支持。
支持模版为ultra chic、kingsman、varm三种,适用页面包括详见下方图表:
| Page | Route | Descriptions | 
| Home Page | home/index | Home page that the merchant has set | 
| Product listing page | products/index | The page that lists all product | 
| Product details page | products/show | The page that shows the detail of a product | 
| Cart page | cart/index | The page that shows cart | 
| Checkout page | checkout/index | The page where shopper checkout | 
| Order success page | orders/confirm | Order success page after checkout | 
| Order detail page | orders/show | The page that shows order details | 
| About page | pages/about | |
| Terms page | pages/terms | |
| Policy page | pages/policy | |
| Delivery policy page | pages/delivery_policy | |
| Advanced page | pages/show | The page that set and build by page builder | 
| User profile page | profile: users/edit | |
| Store credits page | credits: users/user_credits | |
| Member points page | member_points: users/member_points | |
| Messages page | messages: messages/index | |
| User orders page | orders: orders/index | |
| Wishlist page | wishlist: wish_list_items/index | |
| Promotion page | promotions/show | |
| Redeem gift page | promotions/redeem_gift | 
如何在主题编辑器开启应用程序
对于Admin后台链接为shopify.com的店铺,由于Shopify 已升级其主题架构,完成应用安装后,您需要在主题编辑器中启用 Smartpush 应用程序。
具体启用流程,请见:Shopify主题嵌入设置指南

评论