${function() {
const variantData = data.variant || {"id":"7296fabf-6d50-4a12-80e3-55ba6c027306","product_id":"8c3c76eb-f019-467a-8f05-d259c2134036","title":"Dimgray-S","weight_unit":"g","inventory_quantity":0,"sku":"EA23071980_DGY_S","barcode":"","position":7,"option1":"Dimgray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c57d0fe59ee95a1b222e14d8c45211c9.png","path":"c57d0fe59ee95a1b222e14d8c45211c9.png","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":18.99,"min_quantity":1}],"weight":"300","compare_at_price":"31.99","price":"18.99","retail_price":"31.99","available":true,"url":"\/products\/with-mountains-and-compass-print-womens-t-shirt-ea23071980-1?variant=7296fabf-6d50-4a12-80e3-55ba6c027306","available_quantity":999999999,"options":[{"name":"Color","value":"Dimgray"},{"name":"Size","value":"S"}],"off_ratio":41,"flashsale_info":[],"sales":2};
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 : EA23071980_DGY_S
Weight : 300g
${function(){
const variantData = data.variant || {"id":"7296fabf-6d50-4a12-80e3-55ba6c027306","product_id":"8c3c76eb-f019-467a-8f05-d259c2134036","title":"Dimgray-S","weight_unit":"g","inventory_quantity":0,"sku":"EA23071980_DGY_S","barcode":"","position":7,"option1":"Dimgray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c57d0fe59ee95a1b222e14d8c45211c9.png","path":"c57d0fe59ee95a1b222e14d8c45211c9.png","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":18.99,"min_quantity":1}],"weight":"300","compare_at_price":"31.99","price":"18.99","retail_price":"31.99","available":true,"url":"\/products\/with-mountains-and-compass-print-womens-t-shirt-ea23071980-1?variant=7296fabf-6d50-4a12-80e3-55ba6c027306","available_quantity":999999999,"options":[{"name":"Color","value":"Dimgray"},{"name":"Size","value":"S"}],"off_ratio":41,"flashsale_info":[],"sales":2};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}