${function() {
const variantData = data.variant || {"id":"101afea7-4844-4485-ba7c-55cc87a68581","product_id":"e5a49aeb-a341-42c5-b4f7-684c0c0e840b","title":"White-S","weight_unit":"g","inventory_quantity":9999,"sku":"XHhhfUcZQ-White-S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8a11f450341f1056478b9b478b39e24f.jpeg","path":"8a11f450341f1056478b9b478b39e24f.jpeg","width":1440,"height":1440,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":54.89,"min_quantity":1}],"weight":"666","compare_at_price":"99","price":"54.89","retail_price":"99","available":true,"url":"\/products\/tassel-street-fashion-stretch-patch-denim?variant=101afea7-4844-4485-ba7c-55cc87a68581","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":45,"flashsale_info":[],"sales":3};
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 : XHhhfUcZQ-White-S
Weight : 666g
${function(){
const variantData = data.variant || {"id":"101afea7-4844-4485-ba7c-55cc87a68581","product_id":"e5a49aeb-a341-42c5-b4f7-684c0c0e840b","title":"White-S","weight_unit":"g","inventory_quantity":9999,"sku":"XHhhfUcZQ-White-S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8a11f450341f1056478b9b478b39e24f.jpeg","path":"8a11f450341f1056478b9b478b39e24f.jpeg","width":1440,"height":1440,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":54.89,"min_quantity":1}],"weight":"666","compare_at_price":"99","price":"54.89","retail_price":"99","available":true,"url":"\/products\/tassel-street-fashion-stretch-patch-denim?variant=101afea7-4844-4485-ba7c-55cc87a68581","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":45,"flashsale_info":[],"sales":3};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}