${function() {
const variantData = data.variant || {"id":"db81c147-390d-4787-a865-9a04c38e9aa4","product_id":"82b712ce-6e20-4ffd-95ec-5e5f2fb10f9c","title":"white-S","weight_unit":"kg","inventory_quantity":1000,"sku":"XH-56074-ZY-White-S","barcode":"","position":1,"option1":"white","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/735341b0a2524230c210d5ab3460ef69.jpeg","path":"735341b0a2524230c210d5ab3460ef69.jpeg","width":750,"height":1000,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0","compare_at_price":"38","price":"19.99","retail_price":"38","available":true,"url":"\/products\/lovely-cat-face-printed-long-sleeve-tee-dress?variant=db81c147-390d-4787-a865-9a04c38e9aa4","available_quantity":999999999,"options":[{"name":"Color","value":"white"},{"name":"Size","value":"S"}],"off_ratio":47,"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 : XH-56074-ZY-White-S
${function(){
const variantData = data.variant || {"id":"db81c147-390d-4787-a865-9a04c38e9aa4","product_id":"82b712ce-6e20-4ffd-95ec-5e5f2fb10f9c","title":"white-S","weight_unit":"kg","inventory_quantity":1000,"sku":"XH-56074-ZY-White-S","barcode":"","position":1,"option1":"white","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/735341b0a2524230c210d5ab3460ef69.jpeg","path":"735341b0a2524230c210d5ab3460ef69.jpeg","width":750,"height":1000,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0","compare_at_price":"38","price":"19.99","retail_price":"38","available":true,"url":"\/products\/lovely-cat-face-printed-long-sleeve-tee-dress?variant=db81c147-390d-4787-a865-9a04c38e9aa4","available_quantity":999999999,"options":[{"name":"Color","value":"white"},{"name":"Size","value":"S"}],"off_ratio":47,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}