${function() {
const variantData = data.variant || {"id":"2d6a1cf5-6111-419d-87f5-9dfd3d5a9697","product_id":"5b4528ad-dc7f-4adf-bb4c-abf4287ad6b2","title":"Black-S","weight_unit":"g","inventory_quantity":542,"sku":"101221490001","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2d293bdb7506e2761e818c956a14adc9.jpeg","path":"2d293bdb7506e2761e818c956a14adc9.jpeg","width":800,"height":800,"alt":"Down With My Demons Horned Skull Printed T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":14.98,"min_quantity":1}],"weight":"197","compare_at_price":"24.48","price":"14.98","retail_price":"24.48","available":true,"url":"\/products\/down-with-my-demons-horned-skull-printed-t-shirt?variant=2d6a1cf5-6111-419d-87f5-9dfd3d5a9697","available_quantity":542,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":39,"flashsale_info":[],"sales":759};
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":"2d6a1cf5-6111-419d-87f5-9dfd3d5a9697","product_id":"5b4528ad-dc7f-4adf-bb4c-abf4287ad6b2","title":"Black-S","weight_unit":"g","inventory_quantity":542,"sku":"101221490001","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2d293bdb7506e2761e818c956a14adc9.jpeg","path":"2d293bdb7506e2761e818c956a14adc9.jpeg","width":800,"height":800,"alt":"Down With My Demons Horned Skull Printed T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":14.98,"min_quantity":1}],"weight":"197","compare_at_price":"24.48","price":"14.98","retail_price":"24.48","available":true,"url":"\/products\/down-with-my-demons-horned-skull-printed-t-shirt?variant=2d6a1cf5-6111-419d-87f5-9dfd3d5a9697","available_quantity":542,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":39,"flashsale_info":[],"sales":759};
return `
`
}()}