${function() {
const variantData = data.variant || {"id":"cc109148-b385-462b-9f64-1e1e113fbcd6","product_id":"8c9d4c93-3ecb-424b-b919-bca973d4079a","title":"Black-S","weight_unit":"kg","inventory_quantity":9998,"sku":"BL2301303556-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/25e66f8bb706228ffd7650e51500d3aa.jpeg","path":"25e66f8bb706228ffd7650e51500d3aa.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=cc109148-b385-462b-9f64-1e1e113fbcd6","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"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.