${function() {
const variantData = data.variant || {"id":"da0642ba-ae93-412b-a033-3015027861fe","product_id":"2aa96601-5d45-4c9e-badf-c9a746e8987c","title":"Red-M","weight_unit":"kg","inventory_quantity":999,"sku":"100835990011","barcode":"","position":11,"option1":"Red","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9d3a014db1e5e7eb431a46c9cbba07e0.png","path":"9d3a014db1e5e7eb431a46c9cbba07e0.png","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\/escobar-cocaine-drug-lord-portrait-printed-fitness-t-shirt?variant=da0642ba-ae93-412b-a033-3015027861fe","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"M"}],"off_ratio":35,"flashsale_info":[],"sales":114};
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":"da0642ba-ae93-412b-a033-3015027861fe","product_id":"2aa96601-5d45-4c9e-badf-c9a746e8987c","title":"Red-M","weight_unit":"kg","inventory_quantity":999,"sku":"100835990011","barcode":"","position":11,"option1":"Red","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9d3a014db1e5e7eb431a46c9cbba07e0.png","path":"9d3a014db1e5e7eb431a46c9cbba07e0.png","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\/escobar-cocaine-drug-lord-portrait-printed-fitness-t-shirt?variant=da0642ba-ae93-412b-a033-3015027861fe","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"M"}],"off_ratio":35,"flashsale_info":[],"sales":114};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}