${function() {
const variantData = data.variant || {"id":"da6df68a-aa74-4653-90c6-7f77115250f7","product_id":"b008a49b-acfe-44c9-aa75-036cd5b82d64","title":"Black-One-Size","weight_unit":"kg","inventory_quantity":1000,"sku":"AHT306696-BLAONE","barcode":"","position":1,"option1":"Black","option2":"One-Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e8f055f9a4f5c2bb33bd40097b1600d2.jpeg","path":"e8f055f9a4f5c2bb33bd40097b1600d2.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":9.99,"min_quantity":1}],"weight":"0","compare_at_price":"13.09","price":"9.99","retail_price":"13.09","available":true,"url":"\/products\/dog-paw-heart-dog-lovers-hat-2-6wdo?variant=da6df68a-aa74-4653-90c6-7f77115250f7","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"One-Size"}],"off_ratio":24,"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":"da6df68a-aa74-4653-90c6-7f77115250f7","product_id":"b008a49b-acfe-44c9-aa75-036cd5b82d64","title":"Black-One-Size","weight_unit":"kg","inventory_quantity":1000,"sku":"AHT306696-BLAONE","barcode":"","position":1,"option1":"Black","option2":"One-Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e8f055f9a4f5c2bb33bd40097b1600d2.jpeg","path":"e8f055f9a4f5c2bb33bd40097b1600d2.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":9.99,"min_quantity":1}],"weight":"0","compare_at_price":"13.09","price":"9.99","retail_price":"13.09","available":true,"url":"\/products\/dog-paw-heart-dog-lovers-hat-2-6wdo?variant=da6df68a-aa74-4653-90c6-7f77115250f7","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"One-Size"}],"off_ratio":24,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}