${function() {
const variantData = data.variant || {"id":"667af79a-0c3a-4157-8495-3fdf3857c8bd","product_id":"1b548789-7255-4e51-beda-c05bf05c939e","title":"black-S","weight_unit":"kg","inventory_quantity":200,"sku":"UR0423-black-S","barcode":"","position":2,"option1":"black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0c9ccf22b5101d3896543d2e9ee4785a.jpeg","path":"0c9ccf22b5101d3896543d2e9ee4785a.jpeg","width":800,"height":1009,"alt":"","aspect_ratio":0.7928642220019821},"wholesale_price":[{"price":24.98,"min_quantity":1}],"weight":"0.26","compare_at_price":"35.98","price":"24.98","retail_price":"35.98","available":true,"url":"\/products\/v-neck-casual-linen-shift-dress?variant=667af79a-0c3a-4157-8495-3fdf3857c8bd","available_quantity":200,"options":[{"name":"color","value":"black"},{"name":"size","value":"S"}],"off_ratio":31,"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 : UR0423-black-S
Weight : 0.26kg
${function(){
const variantData = data.variant || {"id":"667af79a-0c3a-4157-8495-3fdf3857c8bd","product_id":"1b548789-7255-4e51-beda-c05bf05c939e","title":"black-S","weight_unit":"kg","inventory_quantity":200,"sku":"UR0423-black-S","barcode":"","position":2,"option1":"black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0c9ccf22b5101d3896543d2e9ee4785a.jpeg","path":"0c9ccf22b5101d3896543d2e9ee4785a.jpeg","width":800,"height":1009,"alt":"","aspect_ratio":0.7928642220019821},"wholesale_price":[{"price":24.98,"min_quantity":1}],"weight":"0.26","compare_at_price":"35.98","price":"24.98","retail_price":"35.98","available":true,"url":"\/products\/v-neck-casual-linen-shift-dress?variant=667af79a-0c3a-4157-8495-3fdf3857c8bd","available_quantity":200,"options":[{"name":"color","value":"black"},{"name":"size","value":"S"}],"off_ratio":31,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}