${function() {
const variantData = data.variant || {"id":"0f4ce3c2-ce85-4c0a-93de-bc87439d68d8","product_id":"14c87c47-520e-42cb-8417-91d9e21554a6","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"20230615-E11-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e3cf138c158df36cfd8c34772e1a946e.jpg","path":"e3cf138c158df36cfd8c34772e1a946e.jpg","width":720,"height":960,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":30.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"30.99","retail_price":"0","available":true,"url":"\/products\/spring-and-autumn-sexy-hollow-half-high-neck-waist-swing-dress-solid-color-high-waist-long-sleeve-women?variant=0f4ce3c2-ce85-4c0a-93de-bc87439d68d8","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"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.