2回答

0收藏

如何在shopify的购物车按钮下面添加支付安全图片

问答社区已升级并迁移 问答社区已升级并迁移 305 人阅读 | 2 人回复 | 2022-05-11

如何在shopify的购物车按钮下面添加支付安全图片
分享到:
回复

使用道具 举报

回答|共 2 个

Shopify_Key

发表于 2022-5-11 16:59:00 | 显示全部楼层

社区的初衷是交流,而非提问。不要只是单向索取,也应想想自己能为他人提供什么价值。
回复

使用道具 举报

Apollo_

发表于 2022-5-11 16:59:40 | 显示全部楼层

1.文件: config/settings_schema.json
  {
    "name": "theme_info",
    "theme_name": "ShowTime",
    "theme_author": "Mile High Themes",
    "theme_version": "5.1.1",
    "theme_documentation_url": "https:\/\/help.milehighthemes.com\/",
    "theme_support_email": "support@milehighthemes.com"
  },
  // 添加下面代码
  {
    "name": "Paypal",
    "settings": [
      {
        "type": "image_picker",
        "id": "paypal",
        "label": "Paypal image"
      }
    ]
  },

2. snippets 新增 paypal
{% if settings.paypal %}
        <img src="{{ settings.paypal | img_url: 'master' }}">
{% endif %}

{% include 'paypal' %}
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 停止注册

本版积分规则

22 积分
1 主题