${function() {
const variantData = data.variant || {"id":"4c9a398c-c3d1-4ba0-952e-8a6e23f9a5fd","product_id":"b2b25252-45bc-48db-b4c0-02d1a54d2b04","title":"Black-S","weight_unit":"kg","inventory_quantity":0,"sku":"2212142584-Black-S","barcode":"","position":7,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/71db70bd9389f5c704e429a7109ba78b.png","path":"71db70bd9389f5c704e429a7109ba78b.png","width":808,"height":808,"alt":"I'm Not For Everyone Sweatshirt","aspect_ratio":1},"wholesale_price":[{"price":26.49,"min_quantity":1}],"weight":"0.4","compare_at_price":"39","price":"26.49","retail_price":"39","available":true,"url":"\/products\/im-not-for-everyone-sweatshirt?variant=4c9a398c-c3d1-4ba0-952e-8a6e23f9a5fd","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":32,"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.