${function() {
const variantData = data.variant || {"id":"2b82ce3c-7346-4049-8fc7-a7f0e06b201c","product_id":"44bc95ae-78e9-4052-b6d4-bc5f1da0e822","title":"Black-S","weight_unit":"kg","inventory_quantity":995,"sku":"101339230001","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2b61477068886a82f33979b5871ce7a6.jpeg","path":"2b61477068886a82f33979b5871ce7a6.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":16.98,"min_quantity":1}],"weight":"0","compare_at_price":"25.98","price":"16.98","retail_price":"25.98","available":true,"url":"\/products\/short-sleeves-monster-printed-mens-t-shirt?variant=2b82ce3c-7346-4049-8fc7-a7f0e06b201c","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":35,"flashsale_info":[],"sales":13};
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":"2b82ce3c-7346-4049-8fc7-a7f0e06b201c","product_id":"44bc95ae-78e9-4052-b6d4-bc5f1da0e822","title":"Black-S","weight_unit":"kg","inventory_quantity":995,"sku":"101339230001","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2b61477068886a82f33979b5871ce7a6.jpeg","path":"2b61477068886a82f33979b5871ce7a6.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":16.98,"min_quantity":1}],"weight":"0","compare_at_price":"25.98","price":"16.98","retail_price":"25.98","available":true,"url":"\/products\/short-sleeves-monster-printed-mens-t-shirt?variant=2b82ce3c-7346-4049-8fc7-a7f0e06b201c","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":35,"flashsale_info":[],"sales":13};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}