${function() {
const variantData = data.variant || {"id":"677dc464-0972-4458-bfe5-3dcacadf812d","product_id":"a47d5571-3e3e-4e5c-8930-693771a45e13","title":"Black-S","weight_unit":"g","inventory_quantity":9999,"sku":"XHL1VkTL2-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8636af8017d8aeeeab21113cac407f09.jpeg","path":"8636af8017d8aeeeab21113cac407f09.jpeg","width":1080,"height":1080,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":20.89,"min_quantity":1}],"weight":"222","compare_at_price":"33","price":"20.89","retail_price":"33","available":true,"url":"\/products\/kings-basketball-mesh-shorts?variant=677dc464-0972-4458-bfe5-3dcacadf812d","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":37,"flashsale_info":[],"sales":1};
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 : XHL1VkTL2-Black-S
Weight : 222g
${function(){
const variantData = data.variant || {"id":"677dc464-0972-4458-bfe5-3dcacadf812d","product_id":"a47d5571-3e3e-4e5c-8930-693771a45e13","title":"Black-S","weight_unit":"g","inventory_quantity":9999,"sku":"XHL1VkTL2-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8636af8017d8aeeeab21113cac407f09.jpeg","path":"8636af8017d8aeeeab21113cac407f09.jpeg","width":1080,"height":1080,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":20.89,"min_quantity":1}],"weight":"222","compare_at_price":"33","price":"20.89","retail_price":"33","available":true,"url":"\/products\/kings-basketball-mesh-shorts?variant=677dc464-0972-4458-bfe5-3dcacadf812d","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":37,"flashsale_info":[],"sales":1};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}