現在、detailsを使用して、data-element="cart.footer"部分をカスタマイズしています。
合計金額(data-element=“cart.subtotal”)を表示させたいのですが、記述の仕方が分かりません。
どなたか、ご教授いただけますと幸いです。
"cart": {
"contents": {
"button": false,
"details": true,
},
"templates": {
"button":
'' +
'
合計
' +
'
{{data.total_price}}
' +
'' +
''
'
'
},
"order": [
'img',
'title',
'price',
'options',
'quantity',
'button',
'details',
'lineItems',
'footer',
'total',
'subtotal'
],