${function() {
const variantData = data.variant || {"id":"a41f739f-a7aa-46a0-a9c4-64df3267f3f2","product_id":"3f83fe44-a90e-4c95-afe6-dd0555e5ae3b","title":"02 Pink-S","weight_unit":"kg","inventory_quantity":1000,"sku":"02 Pink S-43229375","barcode":"","position":5,"option1":"02 Pink","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a4eab8378af6050057056d6761d127cf.jpeg","path":"a4eab8378af6050057056d6761d127cf.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":35.71,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"35.71","retail_price":"0","available":true,"url":"\/products\/womens-elegant-fashion-lapel-solid-color-casual-loose-sweatshirts-208564875708?variant=a41f739f-a7aa-46a0-a9c4-64df3267f3f2","available_quantity":999999999,"options":[{"name":"Color","value":"02 Pink"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "percentage";
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":"a41f739f-a7aa-46a0-a9c4-64df3267f3f2","product_id":"3f83fe44-a90e-4c95-afe6-dd0555e5ae3b","title":"02 Pink-S","weight_unit":"kg","inventory_quantity":1000,"sku":"02 Pink S-43229375","barcode":"","position":5,"option1":"02 Pink","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a4eab8378af6050057056d6761d127cf.jpeg","path":"a4eab8378af6050057056d6761d127cf.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":35.71,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"35.71","retail_price":"0","available":true,"url":"\/products\/womens-elegant-fashion-lapel-solid-color-casual-loose-sweatshirts-208564875708?variant=a41f739f-a7aa-46a0-a9c4-64df3267f3f2","available_quantity":999999999,"options":[{"name":"Color","value":"02 Pink"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}