${function() {
const variantData = data.variant || {"id":"ccc960c2-8efd-4950-a5d2-0bbdd9f5fb5c","title":"Green-XS","weight_unit":"kg","inventory_quantity":999,"sku":"YLWD4011-Green-XS","barcode":"","position":1,"option1":"Green","option2":"XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/31632a9c11c821d24c61ff9f7f9381b3.jpeg","path":"31632a9c11c821d24c61ff9f7f9381b3.jpeg","width":800,"height":999,"alt":"","aspect_ratio":0.8008008008008008},"wholesale_price":[{"price":12.49,"min_quantity":1}],"weight":"0.4","compare_at_price":"0","price":"12.49","retail_price":"0","available":true,"url":"\/products\/sleeveless-printed-cutout-dress?variant=ccc960c2-8efd-4950-a5d2-0bbdd9f5fb5c","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}}";
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 : YLWD4011-Green-XS
Weight : 0.4kg
${function(){
const variantData = data.variant || {"id":"ccc960c2-8efd-4950-a5d2-0bbdd9f5fb5c","title":"Green-XS","weight_unit":"kg","inventory_quantity":999,"sku":"YLWD4011-Green-XS","barcode":"","position":1,"option1":"Green","option2":"XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/31632a9c11c821d24c61ff9f7f9381b3.jpeg","path":"31632a9c11c821d24c61ff9f7f9381b3.jpeg","width":800,"height":999,"alt":"","aspect_ratio":0.8008008008008008},"wholesale_price":[{"price":12.49,"min_quantity":1}],"weight":"0.4","compare_at_price":"0","price":"12.49","retail_price":"0","available":true,"url":"\/products\/sleeveless-printed-cutout-dress?variant=ccc960c2-8efd-4950-a5d2-0bbdd9f5fb5c","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}
`
}()}