${function() {
const variantData = data.variant || {"id":"fd55b404-ffa8-4452-87bf-cd09d9b01d65","product_id":"ed0aaf98-361b-461e-9407-76b3c6cd2418","title":"White-S","weight_unit":"kg","inventory_quantity":1000,"sku":"20230603-E06-White-S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/28163df3a5c6f9755ad1ed0b850b76eb.jpg","path":"28163df3a5c6f9755ad1ed0b850b76eb.jpg","width":720,"height":960,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":27.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"27.99","retail_price":"0","available":true,"url":"\/products\/spring-and-summer-new-hot-seller-collar-pocket-casual-women-loose-solid-color-princess-dress-sleeveless-commuter-style-dress?variant=fd55b404-ffa8-4452-87bf-cd09d9b01d65","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":0,"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.