${function() {
const variantData = data.variant || {"id":"70a32563-164d-4727-bd8e-c96c09c7c65f","product_id":"9a9475b4-887a-41d8-9e8b-e881bfe8173f","title":"White-S","weight_unit":"kg","inventory_quantity":1000,"sku":"220117-104-White-s","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/733cf2d4ce319b38d057f53cbe82434b.webp","path":"733cf2d4ce319b38d057f53cbe82434b.webp","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":27.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"27.99","retail_price":"0","available":true,"url":"\/products\/straplessfashiondresswomensdress?variant=70a32563-164d-4727-bd8e-c96c09c7c65f","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.