${function() {
const variantData = data.variant || {"id":"fdb1efe0-28f3-4e46-bf1c-f2d9952c7aae","product_id":"4bd490e2-3fd1-4681-a927-a5f278e31c0b","title":"Gray-S","weight_unit":"lb","inventory_quantity":0,"sku":"20102121-gray-s","barcode":"","position":13,"option1":"Gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fba34724ae7b978c3b2e892363ec6793.jpeg","path":"fba34724ae7b978c3b2e892363ec6793.jpeg","width":540,"height":720,"alt":"Casual Solid Color Round Neck Pencil Pants Suit","aspect_ratio":0.75},"wholesale_price":[{"price":38.21,"min_quantity":1}],"weight":"0","compare_at_price":"42.32","price":"38.21","retail_price":"42.32","available":true,"url":"\/products\/casual-solid-color-round-neck-pencil-pants-suit?variant=fdb1efe0-28f3-4e46-bf1c-f2d9952c7aae","available_quantity":999999999,"options":[{"name":"Color","value":"Gray"},{"name":"Size","value":"S"}],"off_ratio":10,"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.