${function() {
const variantData = data.variant || {"id":"bc4ca80a-2fa3-4125-8568-d82dd9f8b549","product_id":"fbed6cae-e02d-495e-8fcc-5aea55a55a8f","title":"Green-S","weight_unit":"g","inventory_quantity":9999,"sku":"XHC0UjmEz-Green-S","barcode":"","position":6,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/dea8661811d7a09367bf879737953c03.jpeg","path":"dea8661811d7a09367bf879737953c03.jpeg","width":2760,"height":2760,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":27.89,"min_quantity":1}],"weight":"666","compare_at_price":"66","price":"27.89","retail_price":"66","available":true,"url":"\/products\/basketball-print-street-hoodie?variant=bc4ca80a-2fa3-4125-8568-d82dd9f8b549","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":58,"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 : XHC0UjmEz-Green-S
Weight : 666g
${function(){
const variantData = data.variant || {"id":"bc4ca80a-2fa3-4125-8568-d82dd9f8b549","product_id":"fbed6cae-e02d-495e-8fcc-5aea55a55a8f","title":"Green-S","weight_unit":"g","inventory_quantity":9999,"sku":"XHC0UjmEz-Green-S","barcode":"","position":6,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/dea8661811d7a09367bf879737953c03.jpeg","path":"dea8661811d7a09367bf879737953c03.jpeg","width":2760,"height":2760,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":27.89,"min_quantity":1}],"weight":"666","compare_at_price":"66","price":"27.89","retail_price":"66","available":true,"url":"\/products\/basketball-print-street-hoodie?variant=bc4ca80a-2fa3-4125-8568-d82dd9f8b549","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":58,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}