${function() {
const variantData = data.variant || {"id":"3652e5bb-89c8-4531-9a85-a1492980a921","product_id":"e27d4c4f-3859-4b42-9e66-cdf43c0ff755","title":"Black-One Size","weight_unit":"g","inventory_quantity":565,"sku":"102227120001","barcode":"","position":1,"option1":"Black","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cde56da6dd597c26190ec7a7aebe08d0.jpeg","path":"cde56da6dd597c26190ec7a7aebe08d0.jpeg","width":2000,"height":2000,"alt":"Dirty Hands Clean Money Printed Snapback Cap - ","aspect_ratio":1},"wholesale_price":[{"price":9.98,"min_quantity":1}],"weight":"85","compare_at_price":"14.48","price":"9.98","retail_price":"14.48","available":true,"url":"\/products\/dirty-hands-clean-money-printed-snapback-cap?variant=3652e5bb-89c8-4531-9a85-a1492980a921","available_quantity":565,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"One Size"}],"off_ratio":31,"flashsale_info":[],"sales":12};
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":"3652e5bb-89c8-4531-9a85-a1492980a921","product_id":"e27d4c4f-3859-4b42-9e66-cdf43c0ff755","title":"Black-One Size","weight_unit":"g","inventory_quantity":565,"sku":"102227120001","barcode":"","position":1,"option1":"Black","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cde56da6dd597c26190ec7a7aebe08d0.jpeg","path":"cde56da6dd597c26190ec7a7aebe08d0.jpeg","width":2000,"height":2000,"alt":"Dirty Hands Clean Money Printed Snapback Cap - ","aspect_ratio":1},"wholesale_price":[{"price":9.98,"min_quantity":1}],"weight":"85","compare_at_price":"14.48","price":"9.98","retail_price":"14.48","available":true,"url":"\/products\/dirty-hands-clean-money-printed-snapback-cap?variant=3652e5bb-89c8-4531-9a85-a1492980a921","available_quantity":565,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"One Size"}],"off_ratio":31,"flashsale_info":[],"sales":12};
return `
`
}()}