people are viewing this right now
${function() {
const variantData = data.variant || {"id":"2490efe1-9ac2-46d3-b598-597d47492ddc","product_id":"4a94f98f-4cba-4dc2-a651-94e14136b36b","title":"Two Eyes","weight_unit":"lb","inventory_quantity":998,"sku":"","barcode":"","position":1,"option1":"Two Eyes","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/af0b33b60ccdad885013a9a20be2b3e4.gif","path":"af0b33b60ccdad885013a9a20be2b3e4.gif","width":640,"height":360,"alt":"","aspect_ratio":1.7777777777777777},"wholesale_price":[{"price":39.99,"min_quantity":1}],"weight":"0","compare_at_price":"99.99","price":"39.99","retail_price":"99.99","available":true,"url":"\/products\/\ud83d\udd25halloween-hot-sale-50-off\ud83d\udd25-scary-halloween-pumpkin\ud83c\udf83?variant=2490efe1-9ac2-46d3-b598-597d47492ddc","available_quantity":999999999,"options":[{"name":"Style","value":"Two Eyes"}],"off_ratio":60,"flashsale_info":[],"sales":3};
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}
`
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"2490efe1-9ac2-46d3-b598-597d47492ddc","product_id":"4a94f98f-4cba-4dc2-a651-94e14136b36b","title":"Two Eyes","weight_unit":"lb","inventory_quantity":998,"sku":"","barcode":"","position":1,"option1":"Two Eyes","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/af0b33b60ccdad885013a9a20be2b3e4.gif","path":"af0b33b60ccdad885013a9a20be2b3e4.gif","width":640,"height":360,"alt":"","aspect_ratio":1.7777777777777777},"wholesale_price":[{"price":39.99,"min_quantity":1}],"weight":"0","compare_at_price":"99.99","price":"39.99","retail_price":"99.99","available":true,"url":"\/products\/\ud83d\udd25halloween-hot-sale-50-off\ud83d\udd25-scary-halloween-pumpkin\ud83c\udf83?variant=2490efe1-9ac2-46d3-b598-597d47492ddc","available_quantity":999999999,"options":[{"name":"Style","value":"Two Eyes"}],"off_ratio":60,"flashsale_info":[],"sales":3};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}