10回答

0收藏

可否在页脚添加多种收款方式?

 

回答|共 10 个

Apollo_

发表于 2022-5-12 08:59:23 | 显示全部楼层

  1. 1.文件: config/settings_schema.json
  2.   {
  3.     "name": "theme_info",
  4.     "theme_name": "ShowTime",
  5.     "theme_author": "Mile High Themes",
  6.     "theme_version": "5.1.1",
  7.     "theme_documentation_url": "https:\/\/help.milehighthemes.com\/",
  8.     "theme_support_email": "support@milehighthemes.com"
  9.   },
  10.   // 添加下面代码
  11.   {
  12.     "name": "Paypal",
  13.     "settings": [
  14.       {
  15.         "type": "image_picker",
  16.         "id": "paypal",
  17.         "label": "Paypal image"
  18.       }
  19.     ]
  20.   },

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

  25. {% include 'paypal' %}
复制代码
回复

使用道具 举报

chenjunlong888

发表于 2022-5-25 11:13:32 | 显示全部楼层

https://help.shopify.com/zh-CN/m ... d-credit-card-icons
这个可以,我试过了,shopify官方提供的写法
回复

使用道具 举报

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

本版积分规则

积分
主题