OP One piece-Carrot
${function() {
const variantData = data.variant || {"id":"4a820550-dfa1-4de6-96ba-90d36f13d390","product_id":"bc2e7f70-eb40-4aa1-a08a-2a9b3934fba2","title":"1","weight_unit":"kg","inventory_quantity":1,"sku":"","barcode":"","position":1,"option1":"1","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/19614ab2744fa431452e1262bd2ede47.jpg","path":"19614ab2744fa431452e1262bd2ede47.jpg","width":3024,"height":4032,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":5,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"5","retail_price":"0","available":true,"url":"\/products\/op-one-piece-carrot?variant=4a820550-dfa1-4de6-96ba-90d36f13d390","available_quantity":1,"options":[{"name":"Carrot","value":"1"}],"off_ratio":0,"flashsale_info":[],"sales":1};
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":"4a820550-dfa1-4de6-96ba-90d36f13d390","product_id":"bc2e7f70-eb40-4aa1-a08a-2a9b3934fba2","title":"1","weight_unit":"kg","inventory_quantity":1,"sku":"","barcode":"","position":1,"option1":"1","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/19614ab2744fa431452e1262bd2ede47.jpg","path":"19614ab2744fa431452e1262bd2ede47.jpg","width":3024,"height":4032,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":5,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"5","retail_price":"0","available":true,"url":"\/products\/op-one-piece-carrot?variant=4a820550-dfa1-4de6-96ba-90d36f13d390","available_quantity":1,"options":[{"name":"Carrot","value":"1"}],"off_ratio":0,"flashsale_info":[],"sales":1};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}