${function() {
const variantData = data.variant || {"id":"53332328-1b64-4e81-aeed-e0d5436b4e68","product_id":"6bd47230-2a72-4718-98e6-4c34fdea08d6","title":"White-M","weight_unit":"g","inventory_quantity":628,"sku":"100698920001","barcode":"","position":1,"option1":"White","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c835a149a0f8afa10ddde51f81f6d967.jpeg","path":"c835a149a0f8afa10ddde51f81f6d967.jpeg","width":800,"height":800,"alt":"Letter skull print casual t-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":22.98,"min_quantity":1}],"weight":"200","compare_at_price":"32.95","price":"22.98","retail_price":"32.95","available":true,"url":"\/products\/letter-skull-print-casual-t-shirt?variant=53332328-1b64-4e81-aeed-e0d5436b4e68","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"M"}],"off_ratio":30,"flashsale_info":[],"sales":15};
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":"53332328-1b64-4e81-aeed-e0d5436b4e68","product_id":"6bd47230-2a72-4718-98e6-4c34fdea08d6","title":"White-M","weight_unit":"g","inventory_quantity":628,"sku":"100698920001","barcode":"","position":1,"option1":"White","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c835a149a0f8afa10ddde51f81f6d967.jpeg","path":"c835a149a0f8afa10ddde51f81f6d967.jpeg","width":800,"height":800,"alt":"Letter skull print casual t-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":22.98,"min_quantity":1}],"weight":"200","compare_at_price":"32.95","price":"22.98","retail_price":"32.95","available":true,"url":"\/products\/letter-skull-print-casual-t-shirt?variant=53332328-1b64-4e81-aeed-e0d5436b4e68","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"M"}],"off_ratio":30,"flashsale_info":[],"sales":15};
return `
`
}()}