${function() {
const variantData = data.variant || {"id":"7782a9f1-1f91-4d2f-af48-993e3826042b","product_id":"5c3e62d1-eca9-4af1-ba0c-14fa3314819b","title":"As picture-S","weight_unit":"kg","inventory_quantity":1000,"sku":"LUH0029567RTUS","barcode":"","position":1,"option1":"As picture","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/39ad61e77ce0ed8980f495247ab14398.jpeg","path":"39ad61e77ce0ed8980f495247ab14398.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0","compare_at_price":"33","price":"19.99","retail_price":"33","available":true,"url":"\/products\/unisex-fantasy-rabbit-world-art-illustration-printed-casual-tank-top?variant=7782a9f1-1f91-4d2f-af48-993e3826042b","available_quantity":999999999,"options":[{"name":"Color","value":"As picture"},{"name":"Size","value":"S"}],"off_ratio":39,"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.