${function() {
const variantData = data.variant || {"id":"6f952005-6626-4914-8669-195e8789367e","product_id":"0918108c-25cd-4eaf-926f-5b1b36883162","title":"Yellow-S","weight_unit":"g","inventory_quantity":9999,"sku":"XHZJEssl5-Yellow-S","barcode":"","position":1,"option1":"Yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4211229b8f055ae90c2e9c87550720e0.jpeg","path":"4211229b8f055ae90c2e9c87550720e0.jpeg","width":1392,"height":1392,"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\/patchwork-street-mesh-sports-shorts?variant=6f952005-6626-4914-8669-195e8789367e","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"S"}],"off_ratio":37,"flashsale_info":[],"sales":0};
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 : XHZJEssl5-Yellow-S
Weight : 222g
${function(){
const variantData = data.variant || {"id":"6f952005-6626-4914-8669-195e8789367e","product_id":"0918108c-25cd-4eaf-926f-5b1b36883162","title":"Yellow-S","weight_unit":"g","inventory_quantity":9999,"sku":"XHZJEssl5-Yellow-S","barcode":"","position":1,"option1":"Yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4211229b8f055ae90c2e9c87550720e0.jpeg","path":"4211229b8f055ae90c2e9c87550720e0.jpeg","width":1392,"height":1392,"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\/patchwork-street-mesh-sports-shorts?variant=6f952005-6626-4914-8669-195e8789367e","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"S"}],"off_ratio":37,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}