${function() {
const variantData = data.variant || {"id":"42c957d0-e138-4153-8bd7-a5821703fbb5","product_id":"1d89df7f-1669-4146-92aa-c8973c19a7da","title":"Black-S","weight_unit":"g","inventory_quantity":999,"sku":"XHlxdJpVI-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ebc68adbd1037861be68ea35d1fb194b.jpeg","path":"ebc68adbd1037861be68ea35d1fb194b.jpeg","width":1440,"height":1440,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":49.99,"min_quantity":1}],"weight":"300","compare_at_price":"55","price":"49.99","retail_price":"55","available":true,"url":"\/products\/fashionable-and-personalized-zipper-lapel-contrast-shirt?variant=42c957d0-e138-4153-8bd7-a5821703fbb5","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":9,"flashsale_info":[],"sales":6};
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 : XHlxdJpVI-Black-S
Weight : 300g
${function(){
const variantData = data.variant || {"id":"42c957d0-e138-4153-8bd7-a5821703fbb5","product_id":"1d89df7f-1669-4146-92aa-c8973c19a7da","title":"Black-S","weight_unit":"g","inventory_quantity":999,"sku":"XHlxdJpVI-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ebc68adbd1037861be68ea35d1fb194b.jpeg","path":"ebc68adbd1037861be68ea35d1fb194b.jpeg","width":1440,"height":1440,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":49.99,"min_quantity":1}],"weight":"300","compare_at_price":"55","price":"49.99","retail_price":"55","available":true,"url":"\/products\/fashionable-and-personalized-zipper-lapel-contrast-shirt?variant=42c957d0-e138-4153-8bd7-a5821703fbb5","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":9,"flashsale_info":[],"sales":6};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}