${function() {
const variantData = data.variant || {"id":"77c81d7a-62e4-4b96-ac72-261f1b758ffe","product_id":"178599de-a4d0-4977-af72-c4ba4a4801ec","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"SWH306064-BLA00S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/278b924ce1aff297a8d83ebc3b1036b1.jpeg","path":"278b924ce1aff297a8d83ebc3b1036b1.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0","compare_at_price":"34.99","price":"24.99","retail_price":"34.99","available":true,"url":"\/products\/womens-love-heart-paw-print-dog-and-cat-lovers-casual-sweatshirt-c7ct?variant=77c81d7a-62e4-4b96-ac72-261f1b758ffe","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":29,"flashsale_info":[],"sales":0};
const saveType = "amount";
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":"77c81d7a-62e4-4b96-ac72-261f1b758ffe","product_id":"178599de-a4d0-4977-af72-c4ba4a4801ec","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"SWH306064-BLA00S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/278b924ce1aff297a8d83ebc3b1036b1.jpeg","path":"278b924ce1aff297a8d83ebc3b1036b1.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0","compare_at_price":"34.99","price":"24.99","retail_price":"34.99","available":true,"url":"\/products\/womens-love-heart-paw-print-dog-and-cat-lovers-casual-sweatshirt-c7ct?variant=77c81d7a-62e4-4b96-ac72-261f1b758ffe","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":29,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}