${function() {
const variantData = data.variant || {"id":"45a81a5c-a6cf-47be-a1a4-91bda886adab","product_id":"81601ccb-6247-4829-992d-9e810f977aa5","title":"Black-S","weight_unit":"g","inventory_quantity":0,"sku":"T55B-A4-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/73d46f94c1d900e58ed070f2536d7d04.jpeg","path":"73d46f94c1d900e58ed070f2536d7d04.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":16.98,"min_quantity":1}],"weight":"250","compare_at_price":"31.48","price":"16.98","retail_price":"31.48","available":true,"url":"\/products\/always-be-by-your-side-or-under-you-or-on-top-print-womens-t-shirt?variant=45a81a5c-a6cf-47be-a1a4-91bda886adab","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":46,"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":"45a81a5c-a6cf-47be-a1a4-91bda886adab","product_id":"81601ccb-6247-4829-992d-9e810f977aa5","title":"Black-S","weight_unit":"g","inventory_quantity":0,"sku":"T55B-A4-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/73d46f94c1d900e58ed070f2536d7d04.jpeg","path":"73d46f94c1d900e58ed070f2536d7d04.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":16.98,"min_quantity":1}],"weight":"250","compare_at_price":"31.48","price":"16.98","retail_price":"31.48","available":true,"url":"\/products\/always-be-by-your-side-or-under-you-or-on-top-print-womens-t-shirt?variant=45a81a5c-a6cf-47be-a1a4-91bda886adab","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":46,"flashsale_info":[],"sales":0};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}