您现在可以通过新的store credit account object在前台显示客户的商店信用余额,从而提醒客户其商店信用余额。该对象可通过customer对象的store_credit_account属性访问。
要在当前上下文中显示客户的商店信用余额,请使用以下Liquid表达式:{{customer.store_credit_account.balance | money_with_currency}}。
了解更多关于在Liquid中使用商店信用的信息。
Shopify电商独立站您现在可以通过新的store credit account object在前台显示客户的商店信用余额,从而提醒客户其商店信用余额。该对象可通过customer对象的store_credit_account属性访问。
要在当前上下文中显示客户的商店信用余额,请使用以下Liquid表达式:{{customer.store_credit_account.balance | money_with_currency}}。
了解更多关于在Liquid中使用商店信用的信息。