${function() {
const variantData = data.variant || {"id":"ba2aced0-3a53-4956-ac51-3d90365f34a7","product_id":"495f3a01-992f-45e7-9377-73d3335d9777","title":"black-s","weight_unit":"kg","inventory_quantity":0,"sku":"20111115-black-s","barcode":"","position":1,"option1":"black","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ff602dc8a29f4a14fbed58ab3deb27bb.jpeg","path":"ff602dc8a29f4a14fbed58ab3deb27bb.jpeg","width":1200,"height":1498,"alt":"Stylish Bestie Long-sleeved Sports and leisure Two-piece suits","aspect_ratio":0.8010680907877169},"wholesale_price":[{"price":34.45,"min_quantity":1}],"weight":"0","compare_at_price":"40","price":"34.45","retail_price":"40","available":true,"url":"\/products\/stylish-bestie-long-sleeved-sports-and-leisure-two-piece-suits?variant=ba2aced0-3a53-4956-ac51-3d90365f34a7","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"name":"size","value":"s"}],"off_ratio":14,"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.