${function() {
const variantData = data.variant || {"id":"8af75c61-463e-4494-9194-d3aa76285c46","product_id":"4d828f20-0c76-4ce4-880a-e6df190f22ee","title":"Green-S","weight_unit":"kg","inventory_quantity":1000,"sku":"20230519-E03-Green-S","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5706c9301d92ae70fe1a0aa818aa4e2d.jpg","path":"5706c9301d92ae70fe1a0aa818aa4e2d.jpg","width":720,"height":960,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":31.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"31.99","retail_price":"0","available":true,"url":"\/products\/new-solid-color-hanging-v-neck-temperament-elegant-backless-wide-loose-waist-big-hem-flare-type-long-dress-dress?variant=8af75c61-463e-4494-9194-d3aa76285c46","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"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.