${function() {
const variantData = data.variant || {"id":"55e36033-b56f-4886-b39b-8f7adfec5977","product_id":"ff696c1a-ef66-4fd5-95da-8834df718735","title":"yellow flower-M","weight_unit":"kg","inventory_quantity":0,"sku":"662307174403-yellow flower-M","barcode":"","position":3,"option1":"yellow flower","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fdf0b21a7249a9554dfb5474075f5b39.jpeg","path":"fdf0b21a7249a9554dfb5474075f5b39.jpeg","width":1440,"height":1800,"alt":"Trendy Cotton Leaf Ruffle Strawberry Print Skirt Two-Piece Set","aspect_ratio":0.8},"wholesale_price":[{"price":56.49,"min_quantity":1}],"weight":"0.4","compare_at_price":"65","price":"56.49","retail_price":"65","available":true,"url":"\/products\/trendy-cotton-leaf-ruffle-strawberry-print-skirt-two-piece-set?variant=55e36033-b56f-4886-b39b-8f7adfec5977","available_quantity":999999999,"options":[{"name":"color","value":"yellow flower"},{"name":"size","value":"M"}],"off_ratio":13,"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.