${function() {
const variantData = data.variant || {"id":"704a85d1-8556-47db-9f10-3a05615edb1b","product_id":"65680d63-16c4-41b1-8e04-91113cd0101b","title":"As shown-S","weight_unit":"kg","inventory_quantity":200,"sku":"TSNC4702-As shown-S","barcode":"","position":1,"option1":"As shown","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/81550deddd571a4a6375d46445c0ea49.jpeg","path":"81550deddd571a4a6375d46445c0ea49.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":22.98,"min_quantity":1}],"weight":"0.26","compare_at_price":"34.98","price":"22.98","retail_price":"34.98","available":true,"url":"\/products\/womens-casual-shirt-yw6g-i087-qil8-2s54?variant=704a85d1-8556-47db-9f10-3a05615edb1b","available_quantity":200,"options":[{"name":"color","value":"As shown"},{"name":"size","value":"S"}],"off_ratio":34,"flashsale_info":[],"sales":0};
const saveType = "amount";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
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 : TSNC4702-As shown-S
Weight : 0.26kg
${function(){
const variantData = data.variant || {"id":"704a85d1-8556-47db-9f10-3a05615edb1b","product_id":"65680d63-16c4-41b1-8e04-91113cd0101b","title":"As shown-S","weight_unit":"kg","inventory_quantity":200,"sku":"TSNC4702-As shown-S","barcode":"","position":1,"option1":"As shown","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/81550deddd571a4a6375d46445c0ea49.jpeg","path":"81550deddd571a4a6375d46445c0ea49.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":22.98,"min_quantity":1}],"weight":"0.26","compare_at_price":"34.98","price":"22.98","retail_price":"34.98","available":true,"url":"\/products\/womens-casual-shirt-yw6g-i087-qil8-2s54?variant=704a85d1-8556-47db-9f10-3a05615edb1b","available_quantity":200,"options":[{"name":"color","value":"As shown"},{"name":"size","value":"S"}],"off_ratio":34,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}