${function() {
const variantData = data.variant || {"id":"1c503f96-dc70-4a2d-beb5-453bc5116cca","product_id":"eee862ec-f73e-4dd4-87c3-5bc1f6dea9ab","title":"Navy-L","weight_unit":"kg","inventory_quantity":1000,"sku":"220514436-Navy-L","barcode":"","position":5,"option1":"Navy","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4ca1573736dc13345132da70ae554a3f.jpeg","path":"4ca1573736dc13345132da70ae554a3f.jpeg","width":513,"height":491,"alt":"Long Sleeves Candy Color Fashion Suit","aspect_ratio":1.044806517311609},"wholesale_price":[{"price":39.43,"min_quantity":1}],"weight":"0","compare_at_price":"68.89","price":"39.43","retail_price":"68.89","available":true,"url":"\/products\/long-sleeves-candy-color-fashion-suit?variant=1c503f96-dc70-4a2d-beb5-453bc5116cca","available_quantity":999999999,"options":[{"name":"Color","value":"Navy"},{"name":"SIZE","value":"L"}],"off_ratio":43,"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.