Skip to content

Instantly share code, notes, and snippets.

@Kazuki-tam
Created February 11, 2022 15:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Kazuki-tam/1ef420235ff79e2aad0bf72bbf83d51a to your computer and use it in GitHub Desktop.
Save Kazuki-tam/1ef420235ff79e2aad0bf72bbf83d51a to your computer and use it in GitHub Desktop.
Shopifyカレンダーマスター_注文確認画面スクリプト
<script>
var date = {{ attributes.delivery_date | json }} || "指定なし";
var time = {{ attributes.delivery_time | json }} || "指定なし";
Shopify.Checkout.OrderStatus.addContentBox(
'<h3>配送希望日時</h3>',
`<p>${date} ${time}</p>`
)
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment