${function() {
const variantData = data.variant || {"id":"cf5e3b0c-9f98-4d6f-9d1b-535661236037","product_id":"e3b279a2-eb49-4439-88b1-ad1d390c0d32","title":"Red-S","weight_unit":"kg","inventory_quantity":1000,"sku":"20230616-E06-Red-S","barcode":"","position":1,"option1":"Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c60abe466048f3a8f27e052c3b06866d.jpg","path":"c60abe466048f3a8f27e052c3b06866d.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\/summer-geometric-print-v-neck-long-sleeve-wood-ear-lace-high-waist-tie-temperament-commuter-irregular-skirt-dress?variant=cf5e3b0c-9f98-4d6f-9d1b-535661236037","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"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.