${function() {
const variantData = data.variant || {"id":"4be07bb3-8523-4526-bf78-9450c9de2baa","product_id":"2772a84c-77d4-42fc-82da-ef49a68d6d68","title":"Black-M","weight_unit":"g","inventory_quantity":999,"sku":"XHp4t5sIP-Black-M","barcode":"","position":1,"option1":"Black","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/717e357b5fbcd481483a514f12674b85.jpeg","path":"717e357b5fbcd481483a514f12674b85.jpeg","width":1350,"height":1350,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":42.89,"min_quantity":1}],"weight":"400","compare_at_price":"83.85","price":"42.89","retail_price":"83.85","available":true,"url":"\/products\/people-and-ghosts-are-not-in-the-street-baseball-jacket?variant=4be07bb3-8523-4526-bf78-9450c9de2baa","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"M"}],"off_ratio":49,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = false;
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 : XHp4t5sIP-Black-M
Weight : 400g
${function(){
const variantData = data.variant || {"id":"4be07bb3-8523-4526-bf78-9450c9de2baa","product_id":"2772a84c-77d4-42fc-82da-ef49a68d6d68","title":"Black-M","weight_unit":"g","inventory_quantity":999,"sku":"XHp4t5sIP-Black-M","barcode":"","position":1,"option1":"Black","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/717e357b5fbcd481483a514f12674b85.jpeg","path":"717e357b5fbcd481483a514f12674b85.jpeg","width":1350,"height":1350,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":42.89,"min_quantity":1}],"weight":"400","compare_at_price":"83.85","price":"42.89","retail_price":"83.85","available":true,"url":"\/products\/people-and-ghosts-are-not-in-the-street-baseball-jacket?variant=4be07bb3-8523-4526-bf78-9450c9de2baa","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"M"}],"off_ratio":49,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}