${function() {
const variantData = data.variant || {"id":"984fdd1a-b276-458a-9a8e-dbd661985f95","product_id":"52ceba6d-bf34-47c6-a3ca-0399d4cb6b6c","title":"navy blue-M","weight_unit":"kg","inventory_quantity":200,"sku":"SY1066-navy blue-M","barcode":"","position":1,"option1":"navy blue","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/67abc92c1e4943638dd13049e5385b6e.jpeg","path":"67abc92c1e4943638dd13049e5385b6e.jpeg","width":600,"height":750,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":37.98,"min_quantity":1}],"weight":"0.26","compare_at_price":"49.98","price":"37.98","retail_price":"49.98","available":true,"url":"\/products\/printed-split-skirt-swimsuit-dk89-t7pg-naue-7v2u?variant=984fdd1a-b276-458a-9a8e-dbd661985f95","available_quantity":200,"options":[{"name":"color","value":"navy blue"},{"name":"size","value":"M"}],"off_ratio":24,"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.
Sku : SY1066-navy blue-M
Weight : 0.26kg
${function(){
const variantData = data.variant || {"id":"984fdd1a-b276-458a-9a8e-dbd661985f95","product_id":"52ceba6d-bf34-47c6-a3ca-0399d4cb6b6c","title":"navy blue-M","weight_unit":"kg","inventory_quantity":200,"sku":"SY1066-navy blue-M","barcode":"","position":1,"option1":"navy blue","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/67abc92c1e4943638dd13049e5385b6e.jpeg","path":"67abc92c1e4943638dd13049e5385b6e.jpeg","width":600,"height":750,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":37.98,"min_quantity":1}],"weight":"0.26","compare_at_price":"49.98","price":"37.98","retail_price":"49.98","available":true,"url":"\/products\/printed-split-skirt-swimsuit-dk89-t7pg-naue-7v2u?variant=984fdd1a-b276-458a-9a8e-dbd661985f95","available_quantity":200,"options":[{"name":"color","value":"navy blue"},{"name":"size","value":"M"}],"off_ratio":24,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}