${function() {
const variantData = data.variant || {"id":"4e87debf-39dc-4c19-98db-b74c430e4858","product_id":"a0a7dbf3-944d-48d5-a57a-7e189720403e","title":"Black-One Size","weight_unit":"g","inventory_quantity":646,"sku":"102281060001","barcode":"","position":1,"option1":"Black","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f19a5d82e1e9cac17dd58b71ef122498.jpeg","path":"f19a5d82e1e9cac17dd58b71ef122498.jpeg","width":800,"height":800,"alt":"30% Stud 70% Muffin Printed Baseball Cap - ","aspect_ratio":1},"wholesale_price":[{"price":12.98,"min_quantity":1}],"weight":"85","compare_at_price":"14.48","price":"12.98","retail_price":"14.48","available":true,"url":"\/products\/30-stud-70-muffin-printed-baseball-cap?variant=4e87debf-39dc-4c19-98db-b74c430e4858","available_quantity":646,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"One Size"}],"off_ratio":10,"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":"4e87debf-39dc-4c19-98db-b74c430e4858","product_id":"a0a7dbf3-944d-48d5-a57a-7e189720403e","title":"Black-One Size","weight_unit":"g","inventory_quantity":646,"sku":"102281060001","barcode":"","position":1,"option1":"Black","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f19a5d82e1e9cac17dd58b71ef122498.jpeg","path":"f19a5d82e1e9cac17dd58b71ef122498.jpeg","width":800,"height":800,"alt":"30% Stud 70% Muffin Printed Baseball Cap - ","aspect_ratio":1},"wholesale_price":[{"price":12.98,"min_quantity":1}],"weight":"85","compare_at_price":"14.48","price":"12.98","retail_price":"14.48","available":true,"url":"\/products\/30-stud-70-muffin-printed-baseball-cap?variant=4e87debf-39dc-4c19-98db-b74c430e4858","available_quantity":646,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"One Size"}],"off_ratio":10,"flashsale_info":[],"sales":1};
return `
`
}()}