people are viewing this right now
${function() {
const variantData = data.variant || {"id":"b15fc24a-363e-4eb4-aee8-f55612b6b28a","product_id":"06395c84-44c5-4c61-8b08-948a74febf7f","title":"4 inches-US","weight_unit":"lb","inventory_quantity":997,"sku":"LE90250877A2","barcode":"","position":1,"option1":"4 inches","option2":"US","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/bb0ad3135c2e3358e88f64f98af45113.jpeg","path":"bb0ad3135c2e3358e88f64f98af45113.jpeg","width":750,"height":750,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":64.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"64.99","retail_price":"0","available":true,"url":"\/products\/electric-7?variant=b15fc24a-363e-4eb4-aee8-f55612b6b28a","available_quantity":999999999,"options":[{"name":"Chain Length","value":"4 inches"},{"name":"Plug Type","value":"US"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ``
)}
`;
}()}
${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":"b15fc24a-363e-4eb4-aee8-f55612b6b28a","product_id":"06395c84-44c5-4c61-8b08-948a74febf7f","title":"4 inches-US","weight_unit":"lb","inventory_quantity":997,"sku":"LE90250877A2","barcode":"","position":1,"option1":"4 inches","option2":"US","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/bb0ad3135c2e3358e88f64f98af45113.jpeg","path":"bb0ad3135c2e3358e88f64f98af45113.jpeg","width":750,"height":750,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":64.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"64.99","retail_price":"0","available":true,"url":"\/products\/electric-7?variant=b15fc24a-363e-4eb4-aee8-f55612b6b28a","available_quantity":999999999,"options":[{"name":"Chain Length","value":"4 inches"},{"name":"Plug Type","value":"US"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}