${function() {
const variantData = data.variant || {"id":"2dfc4954-3e31-43d8-8dee-d6aec1cd97ad","product_id":"7a6a0868-7e59-47b6-bf8c-21fe8835abf5","title":"Black-S","weight_unit":"kg","inventory_quantity":999,"sku":"Lin21011812-black-s","barcode":"","position":9,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/18c8dc7919e7c4ff0e809f8f60957f99.jpeg","path":"18c8dc7919e7c4ff0e809f8f60957f99.jpeg","width":600,"height":800,"alt":"Solid Color High-waist Pleated Casual Pants","aspect_ratio":0.75},"wholesale_price":[{"price":26.19,"min_quantity":1}],"weight":"0.26","compare_at_price":"44.39","price":"26.19","retail_price":"44.39","available":true,"url":"\/products\/solid-color-high-waist-pleated-casual-pants?variant=2dfc4954-3e31-43d8-8dee-d6aec1cd97ad","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":41,"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.