${function() {
const variantData = data.variant || {"id":"a738b3db-3650-407d-ad9b-f4ea4f070ed2","product_id":"298f87ae-3d11-48f3-9d8b-cc29e5079d66","title":"Print-S","weight_unit":"kg","inventory_quantity":1000,"sku":"20230613-E04-Print-S","barcode":"","position":1,"option1":"Print","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fac55629ceb8e5793b513f44d6c6f0c3.jpg","path":"fac55629ceb8e5793b513f44d6c6f0c3.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-casual-bat-sleeve-geometric-pattern-printing-dress-loose-vacation-style-long-dresses-female?variant=a738b3db-3650-407d-ad9b-f4ea4f070ed2","available_quantity":999999999,"options":[{"name":"Color","value":"Print"},{"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.