${function() {
const variantData = data.variant || {"id":"74d7a331-585b-4b4f-98db-46bf4eaa73e8","product_id":"8a5f76e0-4b38-48a0-9a9e-9b1d3b081d40","title":"light gray-one size","weight_unit":"kg","inventory_quantity":0,"sku":"662209192552-light gray-one size","barcode":"","position":3,"option1":"light gray","option2":"one size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d2361f0173195e3fb74e91219af1edf7.jpeg","path":"d2361f0173195e3fb74e91219af1edf7.jpeg","width":750,"height":999,"alt":"Twist Knit Wide Leg Casual Straight Trousers","aspect_ratio":0.7507507507507507},"wholesale_price":[{"price":39.25,"min_quantity":1}],"weight":"0.5","compare_at_price":"47.18","price":"39.25","retail_price":"47.18","available":true,"url":"\/products\/twist-knit-wide-leg-casual-straight-trousers-a87m?variant=74d7a331-585b-4b4f-98db-46bf4eaa73e8","available_quantity":999999999,"options":[{"name":"color","value":"light gray"},{"name":"size","value":"one size"}],"off_ratio":17,"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.