Advertisement
ctphanli0117

includeSnippet

Sep 17th, 2019
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. {%comment%}
  2. Include the snippet that contains the button to store beneficiary name to cart attributes.
  3. Get the metafield data from product and pass it to the snippet.
  4. {%endcomment%}
  5. {% assign bene_param = product.metafields["global"]["beneficiary-name"]%}
  6. {%include 'beneficiary-name',bene: bene_param%}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement