${function() {
const variantData = data.variant || {"id":"39f687ba-d254-432c-9e36-e536f0e89efb","product_id":"6b67da57-84d1-4d97-964b-c5b29c18d236","title":"black-s","weight_unit":"kg","inventory_quantity":0,"sku":"Lin21011142-black-s","barcode":"","position":2,"option1":"black","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a21a6d0f9339faa3b979eeaa224602f1.webp","path":"a21a6d0f9339faa3b979eeaa224602f1.webp","width":799,"height":797,"alt":"Casual Shirt Callor Swing dress","aspect_ratio":1.002509410288582},"wholesale_price":[{"price":38.04,"min_quantity":1}],"weight":"0","compare_at_price":"64.47","price":"38.04","retail_price":"64.47","available":true,"url":"\/products\/casual-shirt-callor-swing-dress?variant=39f687ba-d254-432c-9e36-e536f0e89efb","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"name":"size","value":"s"}],"off_ratio":41,"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.