${function() {
const variantData = data.variant || {"id":"70b9d080-e28e-428a-b35e-f54027f091bd","product_id":"4e124f30-8448-4ed4-ad65-a90b640b8a87","title":"Red-S","weight_unit":"g","inventory_quantity":9999,"sku":"XH2ROrj5I-Red-S","barcode":"","position":6,"option1":"Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3ca0c5984605a413fdef6ea2f3b8f489.jpeg","path":"3ca0c5984605a413fdef6ea2f3b8f489.jpeg","width":1522,"height":1522,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":26.89,"min_quantity":1}],"weight":"400","compare_at_price":"55","price":"26.89","retail_price":"55","available":true,"url":"\/products\/saint-of-the-cross-patch-trousers?variant=70b9d080-e28e-428a-b35e-f54027f091bd","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"S"}],"off_ratio":51,"flashsale_info":[],"sales":3};
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 : XH2ROrj5I-Red-S
Weight : 400g
${function(){
const variantData = data.variant || {"id":"70b9d080-e28e-428a-b35e-f54027f091bd","product_id":"4e124f30-8448-4ed4-ad65-a90b640b8a87","title":"Red-S","weight_unit":"g","inventory_quantity":9999,"sku":"XH2ROrj5I-Red-S","barcode":"","position":6,"option1":"Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3ca0c5984605a413fdef6ea2f3b8f489.jpeg","path":"3ca0c5984605a413fdef6ea2f3b8f489.jpeg","width":1522,"height":1522,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":26.89,"min_quantity":1}],"weight":"400","compare_at_price":"55","price":"26.89","retail_price":"55","available":true,"url":"\/products\/saint-of-the-cross-patch-trousers?variant=70b9d080-e28e-428a-b35e-f54027f091bd","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"S"}],"off_ratio":51,"flashsale_info":[],"sales":3};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}