Shopify 学习笔记

Sections

Themes

Shopify 通过 Liquid 生成店铺前台页面。

在页脚添加支付图标

一,编辑 footer.liquid

二,找到这行:

{% for type in shop.enabled_payment_types %}

三,修改为:

{% assign ptypes = "paypal, visa, master, jcb, american_express" | split: ', ' %}
{% for type in ptypes %}

Shopify 支持的常见的支付方式:

  • american_express
  • apple_pay
  • bitcoin
  • dankort
  • diners_club
  • discover
  • dogecoin
  • dwolla
  • forbrugsforeningen
  • google_pay
  • ideal
  • jcb
  • klarna
  • klarna-pay-later
  • litecoin
  • maestro
  • master
  • paypal
  • shopify_pay
  • sofort
  • visa