${function() {
const variantData = data.variant || {"id":"67efe794-2f05-41fd-8e78-83b1bbba6049","product_id":"61f15ee8-c918-4278-ba9a-36aa273de3b1","title":"Gray-S","weight_unit":"g","inventory_quantity":9999,"sku":"XHkkQvPS0-Gray-S","barcode":"","position":1,"option1":"Gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/be461e077c6085784a15f3198b8e58b1.jpeg","path":"be461e077c6085784a15f3198b8e58b1.jpeg","width":557,"height":557,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":32.89,"min_quantity":1}],"weight":"666","compare_at_price":"77","price":"32.89","retail_price":"77","available":true,"url":"\/products\/rocker-tapestry-hoodie?variant=67efe794-2f05-41fd-8e78-83b1bbba6049","available_quantity":999999999,"options":[{"name":"Color","value":"Gray"},{"name":"Size","value":"S"}],"off_ratio":57,"flashsale_info":[],"sales":4};
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 : XHkkQvPS0-Gray-S
Weight : 666g
${function(){
const variantData = data.variant || {"id":"67efe794-2f05-41fd-8e78-83b1bbba6049","product_id":"61f15ee8-c918-4278-ba9a-36aa273de3b1","title":"Gray-S","weight_unit":"g","inventory_quantity":9999,"sku":"XHkkQvPS0-Gray-S","barcode":"","position":1,"option1":"Gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/be461e077c6085784a15f3198b8e58b1.jpeg","path":"be461e077c6085784a15f3198b8e58b1.jpeg","width":557,"height":557,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":32.89,"min_quantity":1}],"weight":"666","compare_at_price":"77","price":"32.89","retail_price":"77","available":true,"url":"\/products\/rocker-tapestry-hoodie?variant=67efe794-2f05-41fd-8e78-83b1bbba6049","available_quantity":999999999,"options":[{"name":"Color","value":"Gray"},{"name":"Size","value":"S"}],"off_ratio":57,"flashsale_info":[],"sales":4};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}