${function() {
const variantData = data.variant || {"id":"dd50bef9-2c19-410d-b99e-7effca89267b","product_id":"4660cd02-6688-4782-85e7-0ca135a8b0c2","title":"White-S","weight_unit":"g","inventory_quantity":644,"sku":"101351160009","barcode":"","position":9,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ee18e323c56c829a0330c4ee7049e21c.jpeg","path":"ee18e323c56c829a0330c4ee7049e21c.jpeg","width":800,"height":800,"alt":"Life's Too Short To Check The Price Skull T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":21.98,"min_quantity":1}],"weight":"250","compare_at_price":"25.48","price":"21.98","retail_price":"25.48","available":true,"url":"\/products\/lifes-too-short-to-check-the-price-skull-t-shirt?variant=dd50bef9-2c19-410d-b99e-7effca89267b","available_quantity":644,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":14,"flashsale_info":[],"sales":2};
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":"dd50bef9-2c19-410d-b99e-7effca89267b","product_id":"4660cd02-6688-4782-85e7-0ca135a8b0c2","title":"White-S","weight_unit":"g","inventory_quantity":644,"sku":"101351160009","barcode":"","position":9,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ee18e323c56c829a0330c4ee7049e21c.jpeg","path":"ee18e323c56c829a0330c4ee7049e21c.jpeg","width":800,"height":800,"alt":"Life's Too Short To Check The Price Skull T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":21.98,"min_quantity":1}],"weight":"250","compare_at_price":"25.48","price":"21.98","retail_price":"25.48","available":true,"url":"\/products\/lifes-too-short-to-check-the-price-skull-t-shirt?variant=dd50bef9-2c19-410d-b99e-7effca89267b","available_quantity":644,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":14,"flashsale_info":[],"sales":2};
return `
`
}()}