${function() {
const variantData = data.variant || {"id":"fafd9613-cd09-497a-8d51-1fe10e530dab","product_id":"90e12ccb-aa3f-4682-9df1-d54f449effbf","title":"BLACK-S","weight_unit":"kg","inventory_quantity":1000,"sku":"a-\u5973\u5f0f\u63d0\u81c0\u5851\u8eab\u5185\u88e4-BLACK-S-1","barcode":"","position":1,"option1":"BLACK","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a3fbc9e2eb44dafe60a61a2b9f1b9767.jpeg","path":"a3fbc9e2eb44dafe60a61a2b9f1b9767.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":28.89,"min_quantity":1}],"weight":"0","compare_at_price":"59.99","price":"28.89","retail_price":"59.99","available":true,"url":"\/products\/waisted-enhancer-shapewear?variant=fafd9613-cd09-497a-8d51-1fe10e530dab","available_quantity":999999999,"options":[{"name":"COLOR","value":"BLACK"},{"name":"size","value":"S"}],"off_ratio":52,"flashsale_info":[],"sales":1};
const saveType = "amount";
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.