${function() {
const variantData = data.variant || {"id":"55999e2e-928f-4e71-9253-aaddaee3bbad","product_id":"1c0b31b2-2f42-47c6-baf0-646e4df9ae36","title":"White_Black-S","weight_unit":"g","inventory_quantity":9999,"sku":"XHPSQcDaO-White_Black-S","barcode":"","position":1,"option1":"White_Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/36c0cf9042d1835c32c9c21b6fb9aa09.jpeg","path":"36c0cf9042d1835c32c9c21b6fb9aa09.jpeg","width":1440,"height":1440,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":33.89,"min_quantity":1}],"weight":"666","compare_at_price":"55","price":"33.89","retail_price":"55","available":true,"url":"\/products\/casual-street-t-shirt-shorts-two-piece-set-38h9?variant=55999e2e-928f-4e71-9253-aaddaee3bbad","available_quantity":999999999,"options":[{"name":"Color","value":"White_Black"},{"name":"Size","value":"S"}],"off_ratio":38,"flashsale_info":[],"sales":1};
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 : XHPSQcDaO-White_Black-S
Weight : 666g
${function(){
const variantData = data.variant || {"id":"55999e2e-928f-4e71-9253-aaddaee3bbad","product_id":"1c0b31b2-2f42-47c6-baf0-646e4df9ae36","title":"White_Black-S","weight_unit":"g","inventory_quantity":9999,"sku":"XHPSQcDaO-White_Black-S","barcode":"","position":1,"option1":"White_Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/36c0cf9042d1835c32c9c21b6fb9aa09.jpeg","path":"36c0cf9042d1835c32c9c21b6fb9aa09.jpeg","width":1440,"height":1440,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":33.89,"min_quantity":1}],"weight":"666","compare_at_price":"55","price":"33.89","retail_price":"55","available":true,"url":"\/products\/casual-street-t-shirt-shorts-two-piece-set-38h9?variant=55999e2e-928f-4e71-9253-aaddaee3bbad","available_quantity":999999999,"options":[{"name":"Color","value":"White_Black"},{"name":"Size","value":"S"}],"off_ratio":38,"flashsale_info":[],"sales":1};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}