${function() {
const variantData = data.variant || {"id":"666c88c5-f8ed-4219-8731-a9a2f91f3f0c","product_id":"8444426b-1b19-43f6-b0db-53064fbf5af8","title":"Black-M","weight_unit":"g","inventory_quantity":819,"sku":"102281040005","barcode":"","position":1,"option1":"Black","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f1b91cf5a01ad347b0a55a69d1f5ca43.jpeg","path":"f1b91cf5a01ad347b0a55a69d1f5ca43.jpeg","width":800,"height":800,"alt":"30% Stud 70% Muffin Printed Man's Vest - ","aspect_ratio":1},"wholesale_price":[{"price":14.98,"min_quantity":1}],"weight":"146","compare_at_price":"21.48","price":"14.98","retail_price":"21.48","available":true,"url":"\/products\/30-stud-70-muffin-printed-mans-vest?variant=666c88c5-f8ed-4219-8731-a9a2f91f3f0c","available_quantity":819,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"M"}],"off_ratio":30,"flashsale_info":[],"sales":1};
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":"666c88c5-f8ed-4219-8731-a9a2f91f3f0c","product_id":"8444426b-1b19-43f6-b0db-53064fbf5af8","title":"Black-M","weight_unit":"g","inventory_quantity":819,"sku":"102281040005","barcode":"","position":1,"option1":"Black","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f1b91cf5a01ad347b0a55a69d1f5ca43.jpeg","path":"f1b91cf5a01ad347b0a55a69d1f5ca43.jpeg","width":800,"height":800,"alt":"30% Stud 70% Muffin Printed Man's Vest - ","aspect_ratio":1},"wholesale_price":[{"price":14.98,"min_quantity":1}],"weight":"146","compare_at_price":"21.48","price":"14.98","retail_price":"21.48","available":true,"url":"\/products\/30-stud-70-muffin-printed-mans-vest?variant=666c88c5-f8ed-4219-8731-a9a2f91f3f0c","available_quantity":819,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"M"}],"off_ratio":30,"flashsale_info":[],"sales":1};
return `
`
}()}