${function() {
const variantData = data.variant || {"id":"4e128225-eda2-4508-b065-9b00d3dd7c7a","product_id":"64cff8fc-f0fe-4b49-94c3-43278343decc","title":"black-S","weight_unit":"kg","inventory_quantity":0,"sku":"66221020436-black-S","barcode":"","position":1,"option1":"black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9d549c0cbe72e4afd033932fac65a212.jpeg","path":"9d549c0cbe72e4afd033932fac65a212.jpeg","width":800,"height":800,"alt":"Fashion Casual PU Pants Pleated Tie Slim Pants","aspect_ratio":1},"wholesale_price":[{"price":45.33,"min_quantity":1}],"weight":"0.35","compare_at_price":"87.17","price":"45.33","retail_price":"87.17","available":true,"url":"\/products\/fashion-casual-pu-pants-pleated-tie-slim-pants?variant=4e128225-eda2-4508-b065-9b00d3dd7c7a","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"name":"size","value":"S"}],"off_ratio":48,"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.