${function() {
const variantData = data.variant || {"id":"f5c501c5-69a5-479a-9fee-2226799eccf9","product_id":"3e07cf26-a796-4beb-bff0-71904e3ce903","title":"gray-S","weight_unit":"kg","inventory_quantity":0,"sku":"662211181868-gray-S","barcode":"","position":5,"option1":"gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1c99ada68ccd20756a31862a31ffa066.jpeg","path":"1c99ada68ccd20756a31862a31ffa066.jpeg","width":750,"height":790,"alt":"Soft and gentle style all-match sports pants","aspect_ratio":0.9493670886075949},"wholesale_price":[{"price":56.79,"min_quantity":1}],"weight":"0.5","compare_at_price":"99.63","price":"56.79","retail_price":"99.63","available":true,"url":"\/products\/soft-and-gentle-style-all-match-sports-pants?variant=f5c501c5-69a5-479a-9fee-2226799eccf9","available_quantity":999999999,"options":[{"name":"color","value":"gray"},{"name":"size","value":"S"}],"off_ratio":43,"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.