${function() {
const variantData = data.variant || {"id":"fac8d38c-9d2f-4661-8bdb-b46d8907b6e6","product_id":"db406341-8b0a-4f3e-a64a-e5d9c16f1b36","title":"Black-S","weight_unit":"kg","inventory_quantity":0,"sku":"WY01B-A721-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6e1793d388df0d8ae0725fa53b119c94.jpg","path":"6e1793d388df0d8ae0725fa53b119c94.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":24.98,"min_quantity":1}],"weight":"0.6","compare_at_price":"32.98","price":"24.98","retail_price":"32.98","available":true,"url":"\/products\/farewell-my-love-until-we-meet-again-skull-hoodie?variant=fac8d38c-9d2f-4661-8bdb-b46d8907b6e6","available_quantity":999999999,"options":[{"name":"color","value":"Black"},{"name":"size","value":"S"}],"off_ratio":24,"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":"fac8d38c-9d2f-4661-8bdb-b46d8907b6e6","product_id":"db406341-8b0a-4f3e-a64a-e5d9c16f1b36","title":"Black-S","weight_unit":"kg","inventory_quantity":0,"sku":"WY01B-A721-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6e1793d388df0d8ae0725fa53b119c94.jpg","path":"6e1793d388df0d8ae0725fa53b119c94.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":24.98,"min_quantity":1}],"weight":"0.6","compare_at_price":"32.98","price":"24.98","retail_price":"32.98","available":true,"url":"\/products\/farewell-my-love-until-we-meet-again-skull-hoodie?variant=fac8d38c-9d2f-4661-8bdb-b46d8907b6e6","available_quantity":999999999,"options":[{"name":"color","value":"Black"},{"name":"size","value":"S"}],"off_ratio":24,"flashsale_info":[],"sales":0};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}