${function() {
const variantData = data.variant || {"id":"73b823c5-9d98-40d1-994a-b02a1f0858c7","title":"green-S","weight_unit":"kg","inventory_quantity":500,"sku":"GCCWD0864-green-S","barcode":"","position":1,"option1":"green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/818f447e2c89b6fccc799045fdef9e7a.jpeg","path":"818f447e2c89b6fccc799045fdef9e7a.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":12.49,"min_quantity":1}],"weight":"0.45","compare_at_price":"0","price":"12.49","retail_price":"0","available":true,"url":"\/products\/fashion-casual-geometric-print-long-sleeve-v-neck-dress?variant=73b823c5-9d98-40d1-994a-b02a1f0858c7","available_quantity":999999999,"options":[{"name":"color","value":"green"},{"name":"size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const saveText = "Save {{saved_amount}}";
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.
Sku : GCCWD0864-green-S
Weight : 0.45kg
${function(){
const variantData = data.variant || {"id":"73b823c5-9d98-40d1-994a-b02a1f0858c7","title":"green-S","weight_unit":"kg","inventory_quantity":500,"sku":"GCCWD0864-green-S","barcode":"","position":1,"option1":"green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/818f447e2c89b6fccc799045fdef9e7a.jpeg","path":"818f447e2c89b6fccc799045fdef9e7a.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":12.49,"min_quantity":1}],"weight":"0.45","compare_at_price":"0","price":"12.49","retail_price":"0","available":true,"url":"\/products\/fashion-casual-geometric-print-long-sleeve-v-neck-dress?variant=73b823c5-9d98-40d1-994a-b02a1f0858c7","available_quantity":999999999,"options":[{"name":"color","value":"green"},{"name":"size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}