people are viewing this right now
${function() {
const variantData = data.variant || {"id":"6083319f-f016-495e-8c37-762990af6c5d","product_id":"dbfa15db-bac6-481e-b8a8-9c47e3487836","title":"","weight_unit":"kg","inventory_quantity":999,"sku":"","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":49.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"49.99","retail_price":"0","available":true,"url":"\/products\/heelsglitter-gold-high-heelsheels?variant=6083319f-f016-495e-8c37-762990af6c5d","available_quantity":999999999,"options":[],"off_ratio":0,"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 + '%'
: ``
)}
`;
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"6083319f-f016-495e-8c37-762990af6c5d","product_id":"dbfa15db-bac6-481e-b8a8-9c47e3487836","title":"","weight_unit":"kg","inventory_quantity":999,"sku":"","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":49.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"49.99","retail_price":"0","available":true,"url":"\/products\/heelsglitter-gold-high-heelsheels?variant=6083319f-f016-495e-8c37-762990af6c5d","available_quantity":999999999,"options":[],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}