${function() {
const variantData = data.variant || {"id":"f0d8fd4e-bb66-4603-8125-b781f789bced","product_id":"238466de-6a02-4ac1-ac3e-5a30fd1653dc","title":"Purple-S","weight_unit":"g","inventory_quantity":9999,"sku":"XHtykbnap-Purple-S","barcode":"","position":11,"option1":"Purple","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/867322bc12bbde30644950a1dbc9a831.jpeg","path":"867322bc12bbde30644950a1dbc9a831.jpeg","width":1440,"height":1440,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":29.89,"min_quantity":1}],"weight":"666","compare_at_price":"66","price":"29.89","retail_price":"66","available":true,"url":"\/products\/motion-different-puff-printing-cotton-street-hoodie?variant=f0d8fd4e-bb66-4603-8125-b781f789bced","available_quantity":999999999,"options":[{"name":"Color","value":"Purple"},{"name":"Size","value":"S"}],"off_ratio":55,"flashsale_info":[],"sales":52};
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 : XHtykbnap-Purple-S
Weight : 666g
${function(){
const variantData = data.variant || {"id":"f0d8fd4e-bb66-4603-8125-b781f789bced","product_id":"238466de-6a02-4ac1-ac3e-5a30fd1653dc","title":"Purple-S","weight_unit":"g","inventory_quantity":9999,"sku":"XHtykbnap-Purple-S","barcode":"","position":11,"option1":"Purple","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/867322bc12bbde30644950a1dbc9a831.jpeg","path":"867322bc12bbde30644950a1dbc9a831.jpeg","width":1440,"height":1440,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":29.89,"min_quantity":1}],"weight":"666","compare_at_price":"66","price":"29.89","retail_price":"66","available":true,"url":"\/products\/motion-different-puff-printing-cotton-street-hoodie?variant=f0d8fd4e-bb66-4603-8125-b781f789bced","available_quantity":999999999,"options":[{"name":"Color","value":"Purple"},{"name":"Size","value":"S"}],"off_ratio":55,"flashsale_info":[],"sales":52};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}