${function() {
const variantData = data.variant || {"id":"8cd7e078-e556-49ed-9c0d-918421e69a89","product_id":"2a634439-735f-498e-b5b2-7da72ca48987","title":"khaki-L","weight_unit":"kg","inventory_quantity":0,"sku":"662109091038-khaki-L","barcode":"","position":3,"option1":"khaki","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/29f757993ff60de76d108163270a294a.jpeg","path":"29f757993ff60de76d108163270a294a.jpeg","width":800,"height":800,"alt":"Split Knitted Sweater Two-Piece Dress","aspect_ratio":1},"wholesale_price":[{"price":65.39,"min_quantity":1}],"weight":"0","compare_at_price":"77.85","price":"65.39","retail_price":"77.85","available":true,"url":"\/products\/split-knitted-sweater-two-piece-dress?variant=8cd7e078-e556-49ed-9c0d-918421e69a89","available_quantity":999999999,"options":[{"name":"color","value":"khaki"},{"name":"size","value":"L"}],"off_ratio":16,"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.