${function() {
const variantData = data.variant || {"id":"1013e4b9-371e-4ea1-80ef-c2a48c0e6605","product_id":"6f43a9db-c502-48e4-9a58-e29c8c82afcc","title":"LightGrey-S","weight_unit":"g","inventory_quantity":0,"sku":"EA231200139_LGY_S","barcode":"","position":1,"option1":"LightGrey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b6be073d4cdc79005a952227b94b11fc.jpeg","path":"b6be073d4cdc79005a952227b94b11fc.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":17.99,"min_quantity":1}],"weight":"300","compare_at_price":"32","price":"17.99","retail_price":"32","available":true,"url":"\/products\/guitar-flag-logo-mens-t-shirt-ea231200139-1?variant=1013e4b9-371e-4ea1-80ef-c2a48c0e6605","available_quantity":999999999,"options":[{"name":"Color","value":"LightGrey"},{"name":"Size","value":"S"}],"off_ratio":44,"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.
Sku : EA231200139_LGY_S
Weight : 300g
${function(){
const variantData = data.variant || {"id":"1013e4b9-371e-4ea1-80ef-c2a48c0e6605","product_id":"6f43a9db-c502-48e4-9a58-e29c8c82afcc","title":"LightGrey-S","weight_unit":"g","inventory_quantity":0,"sku":"EA231200139_LGY_S","barcode":"","position":1,"option1":"LightGrey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b6be073d4cdc79005a952227b94b11fc.jpeg","path":"b6be073d4cdc79005a952227b94b11fc.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":17.99,"min_quantity":1}],"weight":"300","compare_at_price":"32","price":"17.99","retail_price":"32","available":true,"url":"\/products\/guitar-flag-logo-mens-t-shirt-ea231200139-1?variant=1013e4b9-371e-4ea1-80ef-c2a48c0e6605","available_quantity":999999999,"options":[{"name":"Color","value":"LightGrey"},{"name":"Size","value":"S"}],"off_ratio":44,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}