${function() {
const variantData = data.variant || {"id":"e746becd-2143-4006-875a-3d525f606c77","product_id":"30ea81a2-a335-4de7-b6ea-61f90ced1f5f","title":"Purple-M","weight_unit":"kg","inventory_quantity":999,"sku":"1772882536046153730","barcode":"","position":1,"option1":"Purple","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e6c72280aae222f53e99be2f34067c07.jpeg","path":"e6c72280aae222f53e99be2f34067c07.jpeg","width":1000,"height":1000,"alt":"d95657352c40eabe23c72b18556a82e5","aspect_ratio":1},"wholesale_price":[{"price":30,"min_quantity":1}],"weight":"500","compare_at_price":"0","price":"30","retail_price":"0","available":true,"url":"\/products\/surf-shorts-unisex-street-retro-skateboard-shorts?variant=e746becd-2143-4006-875a-3d525f606c77","available_quantity":999999999,"options":[{"name":"Color","value":"Purple"},{"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":"e746becd-2143-4006-875a-3d525f606c77","product_id":"30ea81a2-a335-4de7-b6ea-61f90ced1f5f","title":"Purple-M","weight_unit":"kg","inventory_quantity":999,"sku":"1772882536046153730","barcode":"","position":1,"option1":"Purple","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e6c72280aae222f53e99be2f34067c07.jpeg","path":"e6c72280aae222f53e99be2f34067c07.jpeg","width":1000,"height":1000,"alt":"d95657352c40eabe23c72b18556a82e5","aspect_ratio":1},"wholesale_price":[{"price":30,"min_quantity":1}],"weight":"500","compare_at_price":"0","price":"30","retail_price":"0","available":true,"url":"\/products\/surf-shorts-unisex-street-retro-skateboard-shorts?variant=e746becd-2143-4006-875a-3d525f606c77","available_quantity":999999999,"options":[{"name":"Color","value":"Purple"},{"name":"Size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Barcode : ${variantData && variantData.barcode}
`
}()}