${function() {
const variantData = data.variant || {"id":"7921eb8f-1470-45e0-a5fd-6e5be722de8e","product_id":"e6d74aa9-6b4f-44d9-b008-37b5a78d8596","title":"black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"1689940349664964609","barcode":"","position":1,"option1":"black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/daea14d297b854e955ba0a014428dc32.jpeg","path":"daea14d297b854e955ba0a014428dc32.jpeg","width":1313,"height":1678,"alt":"","aspect_ratio":0.7824791418355185},"wholesale_price":[{"price":20.53,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"20.53","retail_price":"0","available":true,"url":"\/products\/galaxy-light-wheel-art-illustration-t-shirt?variant=7921eb8f-1470-45e0-a5fd-6e5be722de8e","available_quantity":999999999,"options":[{"name":"Color","value":"black"},{"name":"Size","value":"S"}],"off_ratio":0,"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":"7921eb8f-1470-45e0-a5fd-6e5be722de8e","product_id":"e6d74aa9-6b4f-44d9-b008-37b5a78d8596","title":"black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"1689940349664964609","barcode":"","position":1,"option1":"black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/daea14d297b854e955ba0a014428dc32.jpeg","path":"daea14d297b854e955ba0a014428dc32.jpeg","width":1313,"height":1678,"alt":"","aspect_ratio":0.7824791418355185},"wholesale_price":[{"price":20.53,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"20.53","retail_price":"0","available":true,"url":"\/products\/galaxy-light-wheel-art-illustration-t-shirt?variant=7921eb8f-1470-45e0-a5fd-6e5be722de8e","available_quantity":999999999,"options":[{"name":"Color","value":"black"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}