${function() {
const variantData = data.variant || {"id":"61a927d0-e724-4ded-98cc-611d7578543c","product_id":"9b1d6ba9-9aee-4c05-8730-711801a1cb97","title":"Khaki-S","weight_unit":"kg","inventory_quantity":1000,"sku":"FN3847-3-S","barcode":"","position":1,"option1":"Khaki","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5e871db3d24d85a668058cde601623ac.jpeg","path":"5e871db3d24d85a668058cde601623ac.jpeg","width":800,"height":1200,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":40.99,"min_quantity":1}],"weight":"0","compare_at_price":"55.49","price":"40.99","retail_price":"55.49","available":true,"url":"\/products\/fashion-sexy-solid-basic-off-the-shoulder-long-sleeve-two-pieces?variant=61a927d0-e724-4ded-98cc-611d7578543c","available_quantity":999999999,"options":[{"name":"Color","value":"Khaki"},{"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":"61a927d0-e724-4ded-98cc-611d7578543c","product_id":"9b1d6ba9-9aee-4c05-8730-711801a1cb97","title":"Khaki-S","weight_unit":"kg","inventory_quantity":1000,"sku":"FN3847-3-S","barcode":"","position":1,"option1":"Khaki","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5e871db3d24d85a668058cde601623ac.jpeg","path":"5e871db3d24d85a668058cde601623ac.jpeg","width":800,"height":1200,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":40.99,"min_quantity":1}],"weight":"0","compare_at_price":"55.49","price":"40.99","retail_price":"55.49","available":true,"url":"\/products\/fashion-sexy-solid-basic-off-the-shoulder-long-sleeve-two-pieces?variant=61a927d0-e724-4ded-98cc-611d7578543c","available_quantity":999999999,"options":[{"name":"Color","value":"Khaki"},{"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}
`
}()}