${function() {
const variantData = data.variant || {"id":"5119627a-effd-4981-a341-27c461d37d18","product_id":"f63670d7-84c0-4da4-b64e-7135e782c14b","title":"Olive-S","weight_unit":"kg","inventory_quantity":1000,"sku":"102013510017","barcode":"","position":17,"option1":"Olive","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/db0dcdef51a1a4d0bdded0e716c59377.jpeg","path":"db0dcdef51a1a4d0bdded0e716c59377.jpeg","width":2000,"height":2000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":19.98,"min_quantity":1}],"weight":"0","compare_at_price":"28.98","price":"19.98","retail_price":"28.98","available":true,"url":"\/products\/thick-thighs-save-lives-printed-mens-t-shirt?variant=5119627a-effd-4981-a341-27c461d37d18","available_quantity":999999999,"options":[{"name":"Color","value":"Olive"},{"name":"Size","value":"S"}],"off_ratio":31,"flashsale_info":[],"sales":31};
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":"5119627a-effd-4981-a341-27c461d37d18","product_id":"f63670d7-84c0-4da4-b64e-7135e782c14b","title":"Olive-S","weight_unit":"kg","inventory_quantity":1000,"sku":"102013510017","barcode":"","position":17,"option1":"Olive","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/db0dcdef51a1a4d0bdded0e716c59377.jpeg","path":"db0dcdef51a1a4d0bdded0e716c59377.jpeg","width":2000,"height":2000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":19.98,"min_quantity":1}],"weight":"0","compare_at_price":"28.98","price":"19.98","retail_price":"28.98","available":true,"url":"\/products\/thick-thighs-save-lives-printed-mens-t-shirt?variant=5119627a-effd-4981-a341-27c461d37d18","available_quantity":999999999,"options":[{"name":"Color","value":"Olive"},{"name":"Size","value":"S"}],"off_ratio":31,"flashsale_info":[],"sales":31};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}