${function() {
const variantData = data.variant || {"id":"6f965bbc-127d-4b97-b7e6-6af39e641b53","product_id":"f3ba8914-d72d-4d53-94db-6fc6568dfcc9","title":"Red-S","weight_unit":"g","inventory_quantity":9999,"sku":"XH8K4J7GR-Red-S","barcode":"","position":1,"option1":"Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/979783401066b1fc888ace82eb0a7e37.jpeg","path":"979783401066b1fc888ace82eb0a7e37.jpeg","width":1440,"height":1440,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":20.89,"min_quantity":1}],"weight":"222","compare_at_price":"44","price":"20.89","retail_price":"44","available":true,"url":"\/products\/no-23-patch-casual-mesh-shorts?variant=6f965bbc-127d-4b97-b7e6-6af39e641b53","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"S"}],"off_ratio":53,"flashsale_info":[],"sales":114};
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 : XH8K4J7GR-Red-S
Weight : 222g
${function(){
const variantData = data.variant || {"id":"6f965bbc-127d-4b97-b7e6-6af39e641b53","product_id":"f3ba8914-d72d-4d53-94db-6fc6568dfcc9","title":"Red-S","weight_unit":"g","inventory_quantity":9999,"sku":"XH8K4J7GR-Red-S","barcode":"","position":1,"option1":"Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/979783401066b1fc888ace82eb0a7e37.jpeg","path":"979783401066b1fc888ace82eb0a7e37.jpeg","width":1440,"height":1440,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":20.89,"min_quantity":1}],"weight":"222","compare_at_price":"44","price":"20.89","retail_price":"44","available":true,"url":"\/products\/no-23-patch-casual-mesh-shorts?variant=6f965bbc-127d-4b97-b7e6-6af39e641b53","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"S"}],"off_ratio":53,"flashsale_info":[],"sales":114};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}