${function() {
const variantData = data.variant || {"id":"8dc65e6a-9c52-457a-b802-eae5c05694fb","product_id":"aef4ce2a-1e27-44b1-9312-395c6f2946a3","title":"Earth-2024","weight_unit":"kg","inventory_quantity":1000,"sku":"","barcode":"","position":1,"option1":"Earth","option2":"2024","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/bbb867cee021feaf3d34f5346bc100eb.jpeg","path":"bbb867cee021feaf3d34f5346bc100eb.jpeg","width":713,"height":713,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":52.88,"min_quantity":1}],"weight":"0","compare_at_price":"124.99","price":"52.88","retail_price":"124.99","available":true,"url":"\/products\/handcrafted-earth-beyond-omoshiroi-calendar?variant=8dc65e6a-9c52-457a-b802-eae5c05694fb","available_quantity":999999999,"options":[{"name":"Style","value":"Earth"},{"name":"Year","value":"2024"}],"off_ratio":58,"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 + '%'
: ``
)}
`;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
${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":"8dc65e6a-9c52-457a-b802-eae5c05694fb","product_id":"aef4ce2a-1e27-44b1-9312-395c6f2946a3","title":"Earth-2024","weight_unit":"kg","inventory_quantity":1000,"sku":"","barcode":"","position":1,"option1":"Earth","option2":"2024","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/bbb867cee021feaf3d34f5346bc100eb.jpeg","path":"bbb867cee021feaf3d34f5346bc100eb.jpeg","width":713,"height":713,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":52.88,"min_quantity":1}],"weight":"0","compare_at_price":"124.99","price":"52.88","retail_price":"124.99","available":true,"url":"\/products\/handcrafted-earth-beyond-omoshiroi-calendar?variant=8dc65e6a-9c52-457a-b802-eae5c05694fb","available_quantity":999999999,"options":[{"name":"Style","value":"Earth"},{"name":"Year","value":"2024"}],"off_ratio":58,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}