${function() {
const variantData = data.variant || {"id":"90136e19-c635-48cd-9fd4-65fe6e7cce84","product_id":"d2fa544f-88a6-46f3-a5fa-c6d3b35c0cb6","title":"Pink-M","weight_unit":"kg","inventory_quantity":1000,"sku":"HJYS-230306003-Pink-M","barcode":"","position":1,"option1":"Pink","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c7b3bc9b915e8e06ed1e17fa1ce1ed1a.png","path":"c7b3bc9b915e8e06ed1e17fa1ce1ed1a.png","width":634,"height":639,"alt":"","aspect_ratio":0.9921752738654147},"wholesale_price":[{"price":37.36,"min_quantity":1}],"weight":"0","compare_at_price":"74.72","price":"37.36","retail_price":"74.72","available":true,"url":"\/products\/mens-casual-polo-zipper-shorts-sleeve-suit-i9wf?variant=90136e19-c635-48cd-9fd4-65fe6e7cce84","available_quantity":999999999,"options":[{"name":"Color","value":"Pink"},{"name":"Size","value":"M"}],"off_ratio":50,"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 : HJYS-230306003-Pink-M
${function(){
const variantData = data.variant || {"id":"90136e19-c635-48cd-9fd4-65fe6e7cce84","product_id":"d2fa544f-88a6-46f3-a5fa-c6d3b35c0cb6","title":"Pink-M","weight_unit":"kg","inventory_quantity":1000,"sku":"HJYS-230306003-Pink-M","barcode":"","position":1,"option1":"Pink","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c7b3bc9b915e8e06ed1e17fa1ce1ed1a.png","path":"c7b3bc9b915e8e06ed1e17fa1ce1ed1a.png","width":634,"height":639,"alt":"","aspect_ratio":0.9921752738654147},"wholesale_price":[{"price":37.36,"min_quantity":1}],"weight":"0","compare_at_price":"74.72","price":"37.36","retail_price":"74.72","available":true,"url":"\/products\/mens-casual-polo-zipper-shorts-sleeve-suit-i9wf?variant=90136e19-c635-48cd-9fd4-65fe6e7cce84","available_quantity":999999999,"options":[{"name":"Color","value":"Pink"},{"name":"Size","value":"M"}],"off_ratio":50,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}