${function() {
const variantData = data.variant || {"id":"1bff22a5-e540-4313-84a7-0a4834c1ef62","product_id":"cfe820e4-bab8-4233-8a1f-8c708d6c0957","title":"White letters-S","weight_unit":"kg","inventory_quantity":1000,"sku":"MR1484-White letters-S","barcode":"","position":1,"option1":"White letters","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5a1ff24709563d59bedd133f67b9830e.jpeg","path":"5a1ff24709563d59bedd133f67b9830e.jpeg","width":640,"height":800,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":38.29,"min_quantity":1}],"weight":"0","compare_at_price":"76","price":"38.29","retail_price":"76","available":true,"url":"\/products\/fashion-sexy-shirt-maxi-dress?variant=1bff22a5-e540-4313-84a7-0a4834c1ef62","available_quantity":999999999,"options":[{"name":"Color","value":"White letters"},{"name":"Size","value":"S"}],"off_ratio":50,"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":"1bff22a5-e540-4313-84a7-0a4834c1ef62","product_id":"cfe820e4-bab8-4233-8a1f-8c708d6c0957","title":"White letters-S","weight_unit":"kg","inventory_quantity":1000,"sku":"MR1484-White letters-S","barcode":"","position":1,"option1":"White letters","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5a1ff24709563d59bedd133f67b9830e.jpeg","path":"5a1ff24709563d59bedd133f67b9830e.jpeg","width":640,"height":800,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":38.29,"min_quantity":1}],"weight":"0","compare_at_price":"76","price":"38.29","retail_price":"76","available":true,"url":"\/products\/fashion-sexy-shirt-maxi-dress?variant=1bff22a5-e540-4313-84a7-0a4834c1ef62","available_quantity":999999999,"options":[{"name":"Color","value":"White letters"},{"name":"Size","value":"S"}],"off_ratio":50,"flashsale_info":[],"sales":0};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}