${function() {
const variantData = data.variant || {"id":"a59f9f6e-e84b-4b00-833f-e8764a37ebc8","product_id":"5c0917f9-23da-4a39-ae65-bacd4430ba1e","title":"Yellow-S","weight_unit":"g","inventory_quantity":0,"sku":"Lin4301588227646-Yellow-S","barcode":"","position":9,"option1":"Yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4893149deb40caba45f4f77658fc5340.jpeg","path":"4893149deb40caba45f4f77658fc5340.jpeg","width":1200,"height":1600,"alt":"Hot SaleSummer Linen Casual Solid Pants","aspect_ratio":0.75},"wholesale_price":[{"price":23.65,"min_quantity":1}],"weight":"200","compare_at_price":"44.62","price":"23.65","retail_price":"44.62","available":true,"url":"\/products\/hot-salesummer-linen-casual-solid-pants?variant=a59f9f6e-e84b-4b00-833f-e8764a37ebc8","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"S"}],"off_ratio":47,"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.