Miracle card
${function() {
const variantData = data.variant || {"id":"ee7ac79c-4d0f-48c9-8f5f-29445069f17d","product_id":"64a29849-7e34-4fd6-8bbd-5135d199a9b5","title":"one","weight_unit":"kg","inventory_quantity":35,"sku":"","barcode":"","position":1,"option1":"one","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f0d902b40b892ad165c591df96c69a64.jpg","path":"f0d902b40b892ad165c591df96c69a64.jpg","width":772,"height":1146,"alt":"","aspect_ratio":0.6736474694589878},"wholesale_price":[{"price":16.6,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"16.6","retail_price":"0","available":true,"url":"\/products\/miracle-card?variant=ee7ac79c-4d0f-48c9-8f5f-29445069f17d","available_quantity":35,"options":[{"name":"Miracle card","value":"one"}],"off_ratio":0,"flashsale_info":[],"sales":3};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${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":"ee7ac79c-4d0f-48c9-8f5f-29445069f17d","product_id":"64a29849-7e34-4fd6-8bbd-5135d199a9b5","title":"one","weight_unit":"kg","inventory_quantity":35,"sku":"","barcode":"","position":1,"option1":"one","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f0d902b40b892ad165c591df96c69a64.jpg","path":"f0d902b40b892ad165c591df96c69a64.jpg","width":772,"height":1146,"alt":"","aspect_ratio":0.6736474694589878},"wholesale_price":[{"price":16.6,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"16.6","retail_price":"0","available":true,"url":"\/products\/miracle-card?variant=ee7ac79c-4d0f-48c9-8f5f-29445069f17d","available_quantity":35,"options":[{"name":"Miracle card","value":"one"}],"off_ratio":0,"flashsale_info":[],"sales":3};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}