${function() {
const variantData = data.variant || {"id":"e79c3657-9a81-4da4-a12a-5c14ef2c6b71","product_id":"07afafc4-194a-46ef-ac3e-250f3c47e3fc","title":"gray-XL","weight_unit":"kg","inventory_quantity":1000,"sku":"gray XL-7535997","barcode":"","position":1,"option1":"gray","option2":"XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ec2738484a0651dff1c5235df5290257.gif","path":"ec2738484a0651dff1c5235df5290257.gif","width":750,"height":1000,"alt":"Female Roll Side High Collar Bat Sleeve Sweater","aspect_ratio":0.75},"wholesale_price":[{"price":39.17,"min_quantity":1}],"weight":"0","compare_at_price":"39.17","price":"39.17","retail_price":"39.17","available":true,"url":"\/products\/female-roll-side-high-collar-bat-sleeve-sweater-208529414193?variant=e79c3657-9a81-4da4-a12a-5c14ef2c6b71","available_quantity":999999999,"options":[{"name":"Color","value":"gray"},{"name":"size","value":"XL"}],"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":"e79c3657-9a81-4da4-a12a-5c14ef2c6b71","product_id":"07afafc4-194a-46ef-ac3e-250f3c47e3fc","title":"gray-XL","weight_unit":"kg","inventory_quantity":1000,"sku":"gray XL-7535997","barcode":"","position":1,"option1":"gray","option2":"XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ec2738484a0651dff1c5235df5290257.gif","path":"ec2738484a0651dff1c5235df5290257.gif","width":750,"height":1000,"alt":"Female Roll Side High Collar Bat Sleeve Sweater","aspect_ratio":0.75},"wholesale_price":[{"price":39.17,"min_quantity":1}],"weight":"0","compare_at_price":"39.17","price":"39.17","retail_price":"39.17","available":true,"url":"\/products\/female-roll-side-high-collar-bat-sleeve-sweater-208529414193?variant=e79c3657-9a81-4da4-a12a-5c14ef2c6b71","available_quantity":999999999,"options":[{"name":"Color","value":"gray"},{"name":"size","value":"XL"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}