${function() {
const variantData = data.variant || {"id":"627700b5-ab78-402d-9b98-0a04fecdeb1a","product_id":"47aaf6de-6506-42ee-9bc4-a33c70f411d2","title":"Black-S","weight_unit":"g","inventory_quantity":733,"sku":"101835730008","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b44afa2afe3102ec1641bbc82ea44235.jpeg","path":"b44afa2afe3102ec1641bbc82ea44235.jpeg","width":800,"height":800,"alt":"Booty Loving Skeleton Printed Men's T-shirt - ","aspect_ratio":1},"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\/booty-loving-skeleton-printed-mens-t-shirt?variant=627700b5-ab78-402d-9b98-0a04fecdeb1a","available_quantity":733,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":15};
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":"627700b5-ab78-402d-9b98-0a04fecdeb1a","product_id":"47aaf6de-6506-42ee-9bc4-a33c70f411d2","title":"Black-S","weight_unit":"g","inventory_quantity":733,"sku":"101835730008","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b44afa2afe3102ec1641bbc82ea44235.jpeg","path":"b44afa2afe3102ec1641bbc82ea44235.jpeg","width":800,"height":800,"alt":"Booty Loving Skeleton Printed Men's T-shirt - ","aspect_ratio":1},"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\/booty-loving-skeleton-printed-mens-t-shirt?variant=627700b5-ab78-402d-9b98-0a04fecdeb1a","available_quantity":733,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":15};
return `
`
}()}