${function() {
const variantData = data.variant || {"id":"e8f6561e-fa9d-42d3-991d-1444dd8c5c28","product_id":"2adc147c-54c2-485c-983b-5a584c6c67ce","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"WKD93727-BLA00S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/abd65c3755e7153d8598a10481c33a33.jpeg","path":"abd65c3755e7153d8598a10481c33a33.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0","compare_at_price":"36.74","price":"24.99","retail_price":"36.74","available":true,"url":"\/products\/womens-cute-cat-contour-print-o-outline-dress?variant=e8f6561e-fa9d-42d3-991d-1444dd8c5c28","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":32,"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.