${function() {
const variantData = data.variant || {"id":"0c47abb4-5084-4888-8acf-5ffd1a9fa205","product_id":"38a56da3-8a84-4eec-ac72-4ea9be0ef79e","title":"Black-5XL","weight_unit":"kg","inventory_quantity":991,"sku":"101991810001","barcode":"","position":1,"option1":"Black","option2":"5XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b32d92df441b2421944b53830ac9453d.jpeg","path":"b32d92df441b2421944b53830ac9453d.jpeg","width":984,"height":983,"alt":"","aspect_ratio":1.0010172939979654},"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\/the-good-times-are-killing-me-skull-print-mens-t-shirt?variant=0c47abb4-5084-4888-8acf-5ffd1a9fa205","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"5XL"}],"off_ratio":35,"flashsale_info":[],"sales":45};
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":"0c47abb4-5084-4888-8acf-5ffd1a9fa205","product_id":"38a56da3-8a84-4eec-ac72-4ea9be0ef79e","title":"Black-5XL","weight_unit":"kg","inventory_quantity":991,"sku":"101991810001","barcode":"","position":1,"option1":"Black","option2":"5XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b32d92df441b2421944b53830ac9453d.jpeg","path":"b32d92df441b2421944b53830ac9453d.jpeg","width":984,"height":983,"alt":"","aspect_ratio":1.0010172939979654},"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\/the-good-times-are-killing-me-skull-print-mens-t-shirt?variant=0c47abb4-5084-4888-8acf-5ffd1a9fa205","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"5XL"}],"off_ratio":35,"flashsale_info":[],"sales":45};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}