${function() {
const variantData = data.variant || {"id":"7c87c0c0-ea12-4b3d-8a20-8f822c86cf5f","product_id":"e1e4ab9b-fe06-45df-98ab-be118af2d3b4","title":"Dark Blue-S","weight_unit":"kg","inventory_quantity":0,"sku":"Lin21010906-darkblue-s","barcode":"","position":7,"option1":"Dark Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f4cc0405ebd7cc7f8131b3315412141e.jpeg","path":"f4cc0405ebd7cc7f8131b3315412141e.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=7c87c0c0-ea12-4b3d-8a20-8f822c86cf5f","available_quantity":999999999,"options":[{"name":"Color","value":"Dark Blue"},{"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.