${function() {
const variantData = data.variant || {"id":"8ea4b809-8750-4e2f-9535-214bd167370b","product_id":"e1e4ab9b-fe06-45df-98ab-be118af2d3b4","title":"Yellow-S","weight_unit":"kg","inventory_quantity":0,"sku":"Lin21010906-yellow-s","barcode":"","position":13,"option1":"Yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3875c2a8ee91b3cbe30679662ad24386.jpeg","path":"3875c2a8ee91b3cbe30679662ad24386.jpeg","width":600,"height":800,"alt":"Ladies casual long sleeve dress","aspect_ratio":0.75},"wholesale_price":[{"price":36.75,"min_quantity":1}],"weight":"0.36","compare_at_price":"59.78","price":"36.75","retail_price":"59.78","available":true,"url":"\/products\/ladies-casual-long-sleeve-dress-c1gg?variant=8ea4b809-8750-4e2f-9535-214bd167370b","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"S"}],"off_ratio":39,"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.