${function() {
const variantData = data.variant || {"id":"934eff6c-5d8a-4975-a323-9291f7bf6618","product_id":"3c36309c-2538-4ed9-8587-41b976b7f18f","title":"White-5XL","weight_unit":"kg","inventory_quantity":996,"sku":"101986630001","barcode":"","position":1,"option1":"White","option2":"5XL","option3":"","note":"","image":{"src":"\/\/img.fantaskycdn.com\/53623813ab91c7f8d3f374c13819c56e.jpeg","path":"53623813ab91c7f8d3f374c13819c56e.jpeg","width":2000,"height":2000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":15.98,"min_quantity":1}],"weight":"0","compare_at_price":"24.98","price":"15.98","retail_price":"24.98","available":true,"url":"\/products\/the-virgin-mary-print-mens-t-shirt-fcc7?variant=934eff6c-5d8a-4975-a323-9291f7bf6618","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"5XL"}],"off_ratio":36,"flashsale_info":[],"sales":27};
const saveType = "amount";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = false;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ``
)}
`;
}()}
people are viewing this right now
${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":"934eff6c-5d8a-4975-a323-9291f7bf6618","product_id":"3c36309c-2538-4ed9-8587-41b976b7f18f","title":"White-5XL","weight_unit":"kg","inventory_quantity":996,"sku":"101986630001","barcode":"","position":1,"option1":"White","option2":"5XL","option3":"","note":"","image":{"src":"\/\/img.fantaskycdn.com\/53623813ab91c7f8d3f374c13819c56e.jpeg","path":"53623813ab91c7f8d3f374c13819c56e.jpeg","width":2000,"height":2000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":15.98,"min_quantity":1}],"weight":"0","compare_at_price":"24.98","price":"15.98","retail_price":"24.98","available":true,"url":"\/products\/the-virgin-mary-print-mens-t-shirt-fcc7?variant=934eff6c-5d8a-4975-a323-9291f7bf6618","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"5XL"}],"off_ratio":36,"flashsale_info":[],"sales":27};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}