${function() {
const variantData = data.variant || {"id":"09758207-4b8e-4dd5-8ecb-a661a4508839","product_id":"ed9d3371-9b00-4132-b4a4-598d8941a563","title":"apricot white-one size","weight_unit":"kg","inventory_quantity":0,"sku":"662209192552-apricot white-one size","barcode":"","position":1,"option1":"apricot white","option2":"one size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ec99039abe083a640364caebe9298c71.jpeg","path":"ec99039abe083a640364caebe9298c71.jpeg","width":750,"height":1000,"alt":"Twist Knit Wide Leg Casual Straight Trousers","aspect_ratio":0.75},"wholesale_price":[{"price":39.63,"min_quantity":1}],"weight":"0.5","compare_at_price":"75.48","price":"39.63","retail_price":"75.48","available":true,"url":"\/products\/twist-knit-wide-leg-casual-straight-trousers?variant=09758207-4b8e-4dd5-8ecb-a661a4508839","available_quantity":999999999,"options":[{"name":"color","value":"apricot white"},{"name":"size","value":"one size"}],"off_ratio":47,"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.