${function() {
const variantData = data.variant || {"id":"f16dcf74-fae2-4432-9e79-728dfcb65e5b","product_id":"33b10451-3779-4afc-8bc5-fa9cdf56cb06","title":"Blue-S","weight_unit":"g","inventory_quantity":999,"sku":"XHEru1yak-Blue-S","barcode":"","position":1,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e27d9e2f4720d2c87b885434602aa9ab.jpeg","path":"e27d9e2f4720d2c87b885434602aa9ab.jpeg","width":1182,"height":1182,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":26.89,"min_quantity":1}],"weight":"300","compare_at_price":"37","price":"26.89","retail_price":"37","available":true,"url":"\/products\/fashion-casual-sports-shorts?variant=f16dcf74-fae2-4432-9e79-728dfcb65e5b","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"S"}],"off_ratio":27,"flashsale_info":[],"sales":5};
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 : XHEru1yak-Blue-S
Weight : 300g
${function(){
const variantData = data.variant || {"id":"f16dcf74-fae2-4432-9e79-728dfcb65e5b","product_id":"33b10451-3779-4afc-8bc5-fa9cdf56cb06","title":"Blue-S","weight_unit":"g","inventory_quantity":999,"sku":"XHEru1yak-Blue-S","barcode":"","position":1,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e27d9e2f4720d2c87b885434602aa9ab.jpeg","path":"e27d9e2f4720d2c87b885434602aa9ab.jpeg","width":1182,"height":1182,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":26.89,"min_quantity":1}],"weight":"300","compare_at_price":"37","price":"26.89","retail_price":"37","available":true,"url":"\/products\/fashion-casual-sports-shorts?variant=f16dcf74-fae2-4432-9e79-728dfcb65e5b","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"S"}],"off_ratio":27,"flashsale_info":[],"sales":5};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}