${function() {
const variantData = data.variant || {"id":"ccf79e90-f71a-4a21-9f2b-117de800688b","product_id":"6d6ff39d-5089-4047-9988-1aeb3b608818","title":"Black-S","weight_unit":"kg","inventory_quantity":0,"sku":"2301123260-Black-S","barcode":"","position":7,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0bea1c9da7c125ab8339e5b1bdbb3b87.png","path":"0bea1c9da7c125ab8339e5b1bdbb3b87.png","width":1000,"height":1300,"alt":"I am A bad Dancer Characteristic Sweatshirt","aspect_ratio":0.7692307692307693},"wholesale_price":[{"price":28.67,"min_quantity":1}],"weight":"0.4","compare_at_price":"35","price":"28.67","retail_price":"35","available":true,"url":"\/products\/i-am-a-bad-dancer-characteristic-sweatshirt?variant=ccf79e90-f71a-4a21-9f2b-117de800688b","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":18,"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.