${function() {
const variantData = data.variant || {"id":"32560113-be8a-416b-97c5-a4d4a2b13bb5","product_id":"e392d67c-f3bb-4251-983f-747af4bd4335","title":"White-S","weight_unit":"g","inventory_quantity":999,"sku":"XH49vCmNw-White-S","barcode":"","position":6,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/495af21ef626b2ea96e2e398b1c277c1.jpeg","path":"495af21ef626b2ea96e2e398b1c277c1.jpeg","width":1440,"height":1440,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":18.89,"min_quantity":1}],"weight":"200","compare_at_price":"31","price":"18.89","retail_price":"31","available":true,"url":"\/products\/fashionable-personalized-printed-round-neck-short-sleeved-t-shirt-n4by?variant=32560113-be8a-416b-97c5-a4d4a2b13bb5","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":39,"flashsale_info":[],"sales":2};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = false;
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 : XH49vCmNw-White-S
Weight : 200g
${function(){
const variantData = data.variant || {"id":"32560113-be8a-416b-97c5-a4d4a2b13bb5","product_id":"e392d67c-f3bb-4251-983f-747af4bd4335","title":"White-S","weight_unit":"g","inventory_quantity":999,"sku":"XH49vCmNw-White-S","barcode":"","position":6,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/495af21ef626b2ea96e2e398b1c277c1.jpeg","path":"495af21ef626b2ea96e2e398b1c277c1.jpeg","width":1440,"height":1440,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":18.89,"min_quantity":1}],"weight":"200","compare_at_price":"31","price":"18.89","retail_price":"31","available":true,"url":"\/products\/fashionable-personalized-printed-round-neck-short-sleeved-t-shirt-n4by?variant=32560113-be8a-416b-97c5-a4d4a2b13bb5","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":39,"flashsale_info":[],"sales":2};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}