Riddle card
${function() {
const variantData = data.variant || {"id":"43e0a675-2bcc-486a-b04c-fbf78839951b","product_id":"12a2c1d2-707b-457e-8919-9c0bfc61e9ce","title":"one","weight_unit":"kg","inventory_quantity":46,"sku":"","barcode":"","position":1,"option1":"one","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7a7d950f7bc0f4a1c1b2c8db54af4d95.jpg","path":"7a7d950f7bc0f4a1c1b2c8db54af4d95.jpg","width":1240,"height":1159,"alt":"","aspect_ratio":1.0698878343399483},"wholesale_price":[{"price":9.9,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"9.9","retail_price":"0","available":true,"url":"\/products\/riddle-card?variant=43e0a675-2bcc-486a-b04c-fbf78839951b","available_quantity":46,"options":[{"name":"riddle card","value":"one"}],"off_ratio":0,"flashsale_info":[],"sales":13};
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":"43e0a675-2bcc-486a-b04c-fbf78839951b","product_id":"12a2c1d2-707b-457e-8919-9c0bfc61e9ce","title":"one","weight_unit":"kg","inventory_quantity":46,"sku":"","barcode":"","position":1,"option1":"one","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7a7d950f7bc0f4a1c1b2c8db54af4d95.jpg","path":"7a7d950f7bc0f4a1c1b2c8db54af4d95.jpg","width":1240,"height":1159,"alt":"","aspect_ratio":1.0698878343399483},"wholesale_price":[{"price":9.9,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"9.9","retail_price":"0","available":true,"url":"\/products\/riddle-card?variant=43e0a675-2bcc-486a-b04c-fbf78839951b","available_quantity":46,"options":[{"name":"riddle card","value":"one"}],"off_ratio":0,"flashsale_info":[],"sales":13};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}