${function() {
const variantData = data.variant || {"id":"f927d5ae-f404-4baf-ae87-94741d6c53cf","product_id":"1ce950e6-b826-4e5a-8de6-e934f2b655a3","title":"Multicolor-S","weight_unit":"kg","inventory_quantity":1000,"sku":"","barcode":"","position":1,"option1":"Multicolor","option2":"S","option3":"","note":"","image":null,"wholesale_price":[{"price":36.99,"min_quantity":1}],"weight":"0","compare_at_price":"65.99","price":"36.99","retail_price":"65.99","available":true,"url":"\/products\/v-neck-colorful-hippie-print-swimdress-and-panty-3?variant=f927d5ae-f404-4baf-ae87-94741d6c53cf","available_quantity":999999999,"options":[{"name":"Color","value":"Multicolor"},{"name":"Size","value":"S"}],"off_ratio":44,"flashsale_info":[],"sales":0};
const saveType = "amount";
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.