OP One piece-Rebecca
${function() {
const variantData = data.variant || {"id":"9e1c3359-f524-4c70-a6a7-cfc3b8a7fa8a","product_id":"cafe274d-6a99-4c25-8271-1e579618037d","title":"Rebecca1","weight_unit":"kg","inventory_quantity":1,"sku":"","barcode":"","position":1,"option1":"Rebecca1","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9c4701aa74400f387881b2c7a2f843f7.jpg","path":"9c4701aa74400f387881b2c7a2f843f7.jpg","width":3024,"height":4032,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":15,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"15","retail_price":"0","available":true,"url":"\/products\/op-one-piece-rebecca?variant=9e1c3359-f524-4c70-a6a7-cfc3b8a7fa8a","available_quantity":1,"options":[{"name":"Rebecca","value":"Rebecca1"}],"off_ratio":0,"flashsale_info":[],"sales":7};
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":"9e1c3359-f524-4c70-a6a7-cfc3b8a7fa8a","product_id":"cafe274d-6a99-4c25-8271-1e579618037d","title":"Rebecca1","weight_unit":"kg","inventory_quantity":1,"sku":"","barcode":"","position":1,"option1":"Rebecca1","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9c4701aa74400f387881b2c7a2f843f7.jpg","path":"9c4701aa74400f387881b2c7a2f843f7.jpg","width":3024,"height":4032,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":15,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"15","retail_price":"0","available":true,"url":"\/products\/op-one-piece-rebecca?variant=9e1c3359-f524-4c70-a6a7-cfc3b8a7fa8a","available_quantity":1,"options":[{"name":"Rebecca","value":"Rebecca1"}],"off_ratio":0,"flashsale_info":[],"sales":7};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}