${function() {
const variantData = data.variant || {"id":"c55b79f7-1652-470b-ab8b-1064e474c270","product_id":"f850cdbc-6b49-4d61-abb8-8038a9655601","title":"White-S","weight_unit":"g","inventory_quantity":999,"sku":"XHSSsQRQ0-White-S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0cd8a749e5e91bdebed5a346d147be08.jpeg","path":"0cd8a749e5e91bdebed5a346d147be08.jpeg","width":739,"height":739,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":21.89,"min_quantity":1}],"weight":"200","compare_at_price":"28","price":"21.89","retail_price":"28","available":true,"url":"\/products\/butterfly-retro-street-fashion-short-sleeved-t-shirt?variant=c55b79f7-1652-470b-ab8b-1064e474c270","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":22,"flashsale_info":[],"sales":7};
const saveType = "percentage";
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 : XHSSsQRQ0-White-S
Weight : 200g
${function(){
const variantData = data.variant || {"id":"c55b79f7-1652-470b-ab8b-1064e474c270","product_id":"f850cdbc-6b49-4d61-abb8-8038a9655601","title":"White-S","weight_unit":"g","inventory_quantity":999,"sku":"XHSSsQRQ0-White-S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0cd8a749e5e91bdebed5a346d147be08.jpeg","path":"0cd8a749e5e91bdebed5a346d147be08.jpeg","width":739,"height":739,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":21.89,"min_quantity":1}],"weight":"200","compare_at_price":"28","price":"21.89","retail_price":"28","available":true,"url":"\/products\/butterfly-retro-street-fashion-short-sleeved-t-shirt?variant=c55b79f7-1652-470b-ab8b-1064e474c270","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":22,"flashsale_info":[],"sales":7};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}