${function() {
const variantData = data.variant || {"id":"ab4513b3-5b64-460c-8e0b-eae061c20a4f","product_id":"3e07cf26-a796-4beb-bff0-71904e3ce903","title":"black-S","weight_unit":"kg","inventory_quantity":0,"sku":"662211181868-black-S","barcode":"","position":9,"option1":"black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0143ec3049290b0c5336b2cb74766eb2.jpeg","path":"0143ec3049290b0c5336b2cb74766eb2.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=ab4513b3-5b64-460c-8e0b-eae061c20a4f","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"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.