${function() {
const variantData = data.variant || {"id":"70e21e34-373e-4f74-b4cd-3b6d9fdef9ec","product_id":"8bff39ba-8827-4af0-bde0-edfa0507d1db","title":"Black-M","weight_unit":"kg","inventory_quantity":1000,"sku":"PTC231002912_BLK_M","barcode":"","position":1,"option1":"Black","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/48e3c0222e3332521abe2191b3cc5554.png","path":"48e3c0222e3332521abe2191b3cc5554.png","width":900,"height":900,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":27.98,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"27.98","retail_price":"0","available":true,"url":"\/products\/mentally-ill-unisex-printed-casual-washed-hoodie-sweatshirt-ptc231002912-1?variant=70e21e34-373e-4f74-b4cd-3b6d9fdef9ec","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"M"}],"off_ratio":0,"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.
${function(){
const variantData = data.variant || {"id":"70e21e34-373e-4f74-b4cd-3b6d9fdef9ec","product_id":"8bff39ba-8827-4af0-bde0-edfa0507d1db","title":"Black-M","weight_unit":"kg","inventory_quantity":1000,"sku":"PTC231002912_BLK_M","barcode":"","position":1,"option1":"Black","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/48e3c0222e3332521abe2191b3cc5554.png","path":"48e3c0222e3332521abe2191b3cc5554.png","width":900,"height":900,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":27.98,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"27.98","retail_price":"0","available":true,"url":"\/products\/mentally-ill-unisex-printed-casual-washed-hoodie-sweatshirt-ptc231002912-1?variant=70e21e34-373e-4f74-b4cd-3b6d9fdef9ec","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}