${function() {
const variantData = data.variant || {"id":"2d4e8057-2692-46d9-b4ce-d9dab0ff5e55","product_id":"8c9d4c93-3ecb-424b-b919-bca973d4079a","title":"Yellow-S","weight_unit":"kg","inventory_quantity":9996,"sku":"BL2301303556-Yellow-S","barcode":"","position":9,"option1":"Yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/14cd0fb7c3b2a4441ff696217ad5a133.jpeg","path":"14cd0fb7c3b2a4441ff696217ad5a133.jpeg","width":600,"height":600,"alt":"Leisure Round Neck Solid Color Cotton Dress","aspect_ratio":1},"wholesale_price":[{"price":36.66,"min_quantity":1}],"weight":"0.29","compare_at_price":"40.73","price":"36.66","retail_price":"40.73","available":true,"url":"\/products\/leisure-round-neck-solid-color-cotton-dress?variant=2d4e8057-2692-46d9-b4ce-d9dab0ff5e55","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"S"}],"off_ratio":10,"flashsale_info":[],"sales":0};
const saveType = "percentage";
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.