${function() {
const variantData = data.variant || {"id":"ed8cee72-b17e-4595-8fa5-ba3138f41504","product_id":"7dc6fedb-e82f-473e-b727-a4a6e0f93afb","title":"Green-S","weight_unit":"g","inventory_quantity":999,"sku":"XHBrriqn2-Green-S","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/79773880dc9f11b091b5599fcc7e3f6f.jpeg","path":"79773880dc9f11b091b5599fcc7e3f6f.jpeg","width":1440,"height":1440,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":22.89,"min_quantity":1}],"weight":"200","compare_at_price":"32","price":"22.89","retail_price":"32","available":true,"url":"\/products\/fashionable-and-personalized-gradient-printed-oversized-t-shirt?variant=ed8cee72-b17e-4595-8fa5-ba3138f41504","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":28,"flashsale_info":[],"sales":22};
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 : XHBrriqn2-Green-S
Weight : 200g
${function(){
const variantData = data.variant || {"id":"ed8cee72-b17e-4595-8fa5-ba3138f41504","product_id":"7dc6fedb-e82f-473e-b727-a4a6e0f93afb","title":"Green-S","weight_unit":"g","inventory_quantity":999,"sku":"XHBrriqn2-Green-S","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/79773880dc9f11b091b5599fcc7e3f6f.jpeg","path":"79773880dc9f11b091b5599fcc7e3f6f.jpeg","width":1440,"height":1440,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":22.89,"min_quantity":1}],"weight":"200","compare_at_price":"32","price":"22.89","retail_price":"32","available":true,"url":"\/products\/fashionable-and-personalized-gradient-printed-oversized-t-shirt?variant=ed8cee72-b17e-4595-8fa5-ba3138f41504","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":28,"flashsale_info":[],"sales":22};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}