${function() {
const variantData = data.variant || {"id":"1736571c-c727-4f8c-abaa-d6b254cfdf80","product_id":"6a035434-047d-4f8c-8787-9fceff7c4186","title":"Green-S","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693017200819","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/11c049f944311622416f3ca1fdb7811f.jpeg","path":"11c049f944311622416f3ca1fdb7811f.jpeg","width":750,"height":1000,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":31.33,"min_quantity":1}],"weight":"0","compare_at_price":"31.33","price":"31.33","retail_price":"31.33","available":true,"url":"\/products\/womens-fashion-solid-color-loose-cotton-sub-temperament-comfortable-dress-4634?variant=1736571c-c727-4f8c-abaa-d6b254cfdf80","available_quantity":1000,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"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":"1736571c-c727-4f8c-abaa-d6b254cfdf80","product_id":"6a035434-047d-4f8c-8787-9fceff7c4186","title":"Green-S","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693017200819","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/11c049f944311622416f3ca1fdb7811f.jpeg","path":"11c049f944311622416f3ca1fdb7811f.jpeg","width":750,"height":1000,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":31.33,"min_quantity":1}],"weight":"0","compare_at_price":"31.33","price":"31.33","retail_price":"31.33","available":true,"url":"\/products\/womens-fashion-solid-color-loose-cotton-sub-temperament-comfortable-dress-4634?variant=1736571c-c727-4f8c-abaa-d6b254cfdf80","available_quantity":1000,"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}
`
}()}