${function() {
const variantData = data.variant || {"id":"5f2d5ae4-28b2-4492-91e3-7f9970997dd5","product_id":"80966ec2-9aff-4850-81ab-a055981e5056","title":"White-S","weight_unit":"kg","inventory_quantity":1000,"sku":"MR1139-White-S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2e44b85d7e7aefb36d8d848411aa3fa4.jpeg","path":"2e44b85d7e7aefb36d8d848411aa3fa4.jpeg","width":499,"height":511,"alt":"","aspect_ratio":0.9765166340508806},"wholesale_price":[{"price":24.36,"min_quantity":1}],"weight":"0","compare_at_price":"48","price":"24.36","retail_price":"48","available":true,"url":"\/products\/plus-size-fake-two-piece-long-skirt-literary-expansion-linen-dress-cotton-and-linen-skirt?variant=5f2d5ae4-28b2-4492-91e3-7f9970997dd5","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":49,"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":"5f2d5ae4-28b2-4492-91e3-7f9970997dd5","product_id":"80966ec2-9aff-4850-81ab-a055981e5056","title":"White-S","weight_unit":"kg","inventory_quantity":1000,"sku":"MR1139-White-S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2e44b85d7e7aefb36d8d848411aa3fa4.jpeg","path":"2e44b85d7e7aefb36d8d848411aa3fa4.jpeg","width":499,"height":511,"alt":"","aspect_ratio":0.9765166340508806},"wholesale_price":[{"price":24.36,"min_quantity":1}],"weight":"0","compare_at_price":"48","price":"24.36","retail_price":"48","available":true,"url":"\/products\/plus-size-fake-two-piece-long-skirt-literary-expansion-linen-dress-cotton-and-linen-skirt?variant=5f2d5ae4-28b2-4492-91e3-7f9970997dd5","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":49,"flashsale_info":[],"sales":0};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}