${function() {
const variantData = data.variant || {"id":"50917777-fd75-4471-8067-149460d0691a","product_id":"d2ab754e-9318-4f3c-bc65-8b66963542b9","title":"White-S","weight_unit":"kg","inventory_quantity":1000,"sku":"FN4792-1-S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b538e6891a439fc0e847491e55fb9869.jpeg","path":"b538e6891a439fc0e847491e55fb9869.jpeg","width":800,"height":1200,"alt":"Casual Daily Solid Pocket O Neck Short Sleeve Dress(11 Colors)","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":34.99,"min_quantity":1}],"weight":"0","compare_at_price":"47.49","price":"34.99","retail_price":"47.49","available":true,"url":"\/products\/casual-daily-solid-pocket-o-neck-short-sleeve-dress?variant=50917777-fd75-4471-8067-149460d0691a","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":26,"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":"50917777-fd75-4471-8067-149460d0691a","product_id":"d2ab754e-9318-4f3c-bc65-8b66963542b9","title":"White-S","weight_unit":"kg","inventory_quantity":1000,"sku":"FN4792-1-S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b538e6891a439fc0e847491e55fb9869.jpeg","path":"b538e6891a439fc0e847491e55fb9869.jpeg","width":800,"height":1200,"alt":"Casual Daily Solid Pocket O Neck Short Sleeve Dress(11 Colors)","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":34.99,"min_quantity":1}],"weight":"0","compare_at_price":"47.49","price":"34.99","retail_price":"47.49","available":true,"url":"\/products\/casual-daily-solid-pocket-o-neck-short-sleeve-dress?variant=50917777-fd75-4471-8067-149460d0691a","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":26,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}