${function() {
const variantData = data.variant || {"id":"5d187681-8646-463e-9064-bcbc9aa3ca0a","product_id":"c91c1623-a8db-444b-87c1-2e63e6506a11","title":"Black-S","weight_unit":"g","inventory_quantity":582,"sku":"101994430016","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/73684ceb9d221dca44a181f701ddf41d.jpeg","path":"73684ceb9d221dca44a181f701ddf41d.jpeg","width":776,"height":746,"alt":"Bdsm Business Development Sales And Marketing Print Men's T-shirt - ","aspect_ratio":1.0402144772117963},"wholesale_price":[{"price":15.98,"min_quantity":1}],"weight":"250","compare_at_price":"22.98","price":"15.98","retail_price":"22.98","available":true,"url":"\/products\/bdsm-business-development-sales-and-marketing-print-mens-t-shirt?variant=5d187681-8646-463e-9064-bcbc9aa3ca0a","available_quantity":582,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":35};
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.
${function(){
const variantData = data.variant || {"id":"5d187681-8646-463e-9064-bcbc9aa3ca0a","product_id":"c91c1623-a8db-444b-87c1-2e63e6506a11","title":"Black-S","weight_unit":"g","inventory_quantity":582,"sku":"101994430016","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/73684ceb9d221dca44a181f701ddf41d.jpeg","path":"73684ceb9d221dca44a181f701ddf41d.jpeg","width":776,"height":746,"alt":"Bdsm Business Development Sales And Marketing Print Men's T-shirt - ","aspect_ratio":1.0402144772117963},"wholesale_price":[{"price":15.98,"min_quantity":1}],"weight":"250","compare_at_price":"22.98","price":"15.98","retail_price":"22.98","available":true,"url":"\/products\/bdsm-business-development-sales-and-marketing-print-mens-t-shirt?variant=5d187681-8646-463e-9064-bcbc9aa3ca0a","available_quantity":582,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":35};
return `
`
}()}