${function() {
const variantData = data.variant || {"id":"86517e07-16eb-46c5-ac9d-16f5c4b7894c","product_id":"a8133202-d096-4c38-9662-2365cff4e3f5","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"102052120008","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8f336cfca4e0ae6efd7bf46fae23d301.jpeg","path":"8f336cfca4e0ae6efd7bf46fae23d301.jpeg","width":1060,"height":1060,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":15.98,"min_quantity":1}],"weight":"0","compare_at_price":"21.48","price":"15.98","retail_price":"21.48","available":true,"url":"\/products\/faceless-nun-printed-womens-t-shirt?variant=86517e07-16eb-46c5-ac9d-16f5c4b7894c","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":26,"flashsale_info":[],"sales":0};
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":"86517e07-16eb-46c5-ac9d-16f5c4b7894c","product_id":"a8133202-d096-4c38-9662-2365cff4e3f5","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"102052120008","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8f336cfca4e0ae6efd7bf46fae23d301.jpeg","path":"8f336cfca4e0ae6efd7bf46fae23d301.jpeg","width":1060,"height":1060,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":15.98,"min_quantity":1}],"weight":"0","compare_at_price":"21.48","price":"15.98","retail_price":"21.48","available":true,"url":"\/products\/faceless-nun-printed-womens-t-shirt?variant=86517e07-16eb-46c5-ac9d-16f5c4b7894c","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":26,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}