people are viewing this right now
${function() {
const variantData = data.variant || {"id":"9d87121a-1058-4ade-bc07-d5f1cbc9b931","product_id":"2ca472c7-5f02-4604-b3ac-283d1653e83d","title":"green-XS","weight_unit":"kg","inventory_quantity":999,"sku":"","barcode":"","position":1,"option1":"green","option2":"XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/12e7f2cf131f074938db8aaf24d44dae.jpg","path":"12e7f2cf131f074938db8aaf24d44dae.jpg","width":533,"height":800,"alt":"","aspect_ratio":0.66625},"wholesale_price":[{"price":79.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"79.99","retail_price":"0","available":true,"url":"\/products\/solid-color-v-neck-suspenders-tassel-cocktail-dress-skirt-party-dress-short-skirt?variant=9d87121a-1058-4ade-bc07-d5f1cbc9b931","available_quantity":999999999,"options":[{"name":"color","value":"green"},{"name":"size","value":"XS"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ``
)}
`;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"9d87121a-1058-4ade-bc07-d5f1cbc9b931","product_id":"2ca472c7-5f02-4604-b3ac-283d1653e83d","title":"green-XS","weight_unit":"kg","inventory_quantity":999,"sku":"","barcode":"","position":1,"option1":"green","option2":"XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/12e7f2cf131f074938db8aaf24d44dae.jpg","path":"12e7f2cf131f074938db8aaf24d44dae.jpg","width":533,"height":800,"alt":"","aspect_ratio":0.66625},"wholesale_price":[{"price":79.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"79.99","retail_price":"0","available":true,"url":"\/products\/solid-color-v-neck-suspenders-tassel-cocktail-dress-skirt-party-dress-short-skirt?variant=9d87121a-1058-4ade-bc07-d5f1cbc9b931","available_quantity":999999999,"options":[{"name":"color","value":"green"},{"name":"size","value":"XS"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}