${function() {
const variantData = data.variant || {"id":"107730a7-c0c2-45fb-8975-78216303f5ef","product_id":"141d613f-7d89-4730-ac95-8527343db817","title":"White-S","weight_unit":"kg","inventory_quantity":1000,"sku":"20230526-E12-White-S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/005f7fc97a4c7a2991af9649b3d44e1b.jpg","path":"005f7fc97a4c7a2991af9649b3d44e1b.jpg","width":720,"height":960,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":33.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"33.99","retail_price":"0","available":true,"url":"\/products\/spring-and-summer-new-temperament-commuter-round-neck-sleeveless-striped-plaid-stitching-long-dresses-women?variant=107730a7-c0c2-45fb-8975-78216303f5ef","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.