${function() {
const variantData = data.variant || {"id":"0456e9a1-83ed-4479-946e-5f087f09fa98","product_id":"5bf5505d-2108-4c94-b22e-66eac7a9f581","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"FN4117-1-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/557bc31882aace8db6444f7e25c78c02.jpeg","path":"557bc31882aace8db6444f7e25c78c02.jpeg","width":800,"height":1200,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":55.99,"min_quantity":1}],"weight":"0","compare_at_price":"70.98","price":"55.99","retail_price":"70.98","available":true,"url":"\/products\/fashion-street-print-turndown-collar-long-sleeve-three-pieces?variant=0456e9a1-83ed-4479-946e-5f087f09fa98","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":21,"flashsale_info":[],"sales":1};
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":"0456e9a1-83ed-4479-946e-5f087f09fa98","product_id":"5bf5505d-2108-4c94-b22e-66eac7a9f581","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"FN4117-1-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/557bc31882aace8db6444f7e25c78c02.jpeg","path":"557bc31882aace8db6444f7e25c78c02.jpeg","width":800,"height":1200,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":55.99,"min_quantity":1}],"weight":"0","compare_at_price":"70.98","price":"55.99","retail_price":"70.98","available":true,"url":"\/products\/fashion-street-print-turndown-collar-long-sleeve-three-pieces?variant=0456e9a1-83ed-4479-946e-5f087f09fa98","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":21,"flashsale_info":[],"sales":1};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}