${function() {
const variantData = data.variant || {"id":"6a6534e1-b2b1-49a3-a39d-032beb3caafd","product_id":"bb8bb9f1-5348-4a23-bfd5-8bad678f8581","title":"Light_Blue-S","weight_unit":"g","inventory_quantity":9999,"sku":"XHsyNSvfg-Light_Blue-S","barcode":"","position":1,"option1":"Light_Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2cfc1ec934679ed704aabd0f67d92c07.jpeg","path":"2cfc1ec934679ed704aabd0f67d92c07.jpeg","width":1440,"height":1440,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":21.89,"min_quantity":1}],"weight":"222","compare_at_price":"33","price":"21.89","retail_price":"33","available":true,"url":"\/products\/no-23-patch-basketball-mesh-shorts-33vo?variant=6a6534e1-b2b1-49a3-a39d-032beb3caafd","available_quantity":999999999,"options":[{"name":"Color","value":"Light_Blue"},{"name":"Size","value":"S"}],"off_ratio":34,"flashsale_info":[],"sales":43};
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 : XHsyNSvfg-Light_Blue-S
Weight : 222g
${function(){
const variantData = data.variant || {"id":"6a6534e1-b2b1-49a3-a39d-032beb3caafd","product_id":"bb8bb9f1-5348-4a23-bfd5-8bad678f8581","title":"Light_Blue-S","weight_unit":"g","inventory_quantity":9999,"sku":"XHsyNSvfg-Light_Blue-S","barcode":"","position":1,"option1":"Light_Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2cfc1ec934679ed704aabd0f67d92c07.jpeg","path":"2cfc1ec934679ed704aabd0f67d92c07.jpeg","width":1440,"height":1440,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":21.89,"min_quantity":1}],"weight":"222","compare_at_price":"33","price":"21.89","retail_price":"33","available":true,"url":"\/products\/no-23-patch-basketball-mesh-shorts-33vo?variant=6a6534e1-b2b1-49a3-a39d-032beb3caafd","available_quantity":999999999,"options":[{"name":"Color","value":"Light_Blue"},{"name":"Size","value":"S"}],"off_ratio":34,"flashsale_info":[],"sales":43};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}