${function() {
const variantData = data.variant || {"id":"f1c2fe0f-d016-4401-b109-f75f59294f40","product_id":"659bcbcf-d201-4589-9b15-c7041e5586a2","title":"Blue-S","weight_unit":"g","inventory_quantity":999,"sku":"XHkeWBbNJ-Blue-S","barcode":"","position":1,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4612e67bd6fbf4948d03f68f4c4b593c.jpeg","path":"4612e67bd6fbf4948d03f68f4c4b593c.jpeg","width":2048,"height":2048,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":39.89,"min_quantity":1}],"weight":"700","compare_at_price":"55","price":"39.89","retail_price":"55","available":true,"url":"\/products\/vintage-street-design-jeans?variant=f1c2fe0f-d016-4401-b109-f75f59294f40","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"S"}],"off_ratio":27,"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 : XHkeWBbNJ-Blue-S
Weight : 700g
${function(){
const variantData = data.variant || {"id":"f1c2fe0f-d016-4401-b109-f75f59294f40","product_id":"659bcbcf-d201-4589-9b15-c7041e5586a2","title":"Blue-S","weight_unit":"g","inventory_quantity":999,"sku":"XHkeWBbNJ-Blue-S","barcode":"","position":1,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4612e67bd6fbf4948d03f68f4c4b593c.jpeg","path":"4612e67bd6fbf4948d03f68f4c4b593c.jpeg","width":2048,"height":2048,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":39.89,"min_quantity":1}],"weight":"700","compare_at_price":"55","price":"39.89","retail_price":"55","available":true,"url":"\/products\/vintage-street-design-jeans?variant=f1c2fe0f-d016-4401-b109-f75f59294f40","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"S"}],"off_ratio":27,"flashsale_info":[],"sales":2};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}