${function() {
const variantData = data.variant || {"id":"e2dc69f2-88f7-458d-8d4f-362f8aff205e","product_id":"92b2d353-0427-4e08-9a63-424233192e62","title":"Pink-S","weight_unit":"g","inventory_quantity":999,"sku":"XHpAyFs8u-Pink-S","barcode":"","position":6,"option1":"Pink","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/be3b1a6d5a2f8866e6ada5acd98f4c67.jpeg","path":"be3b1a6d5a2f8866e6ada5acd98f4c67.jpeg","width":1440,"height":1440,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":29.89,"min_quantity":1}],"weight":"400","compare_at_price":"40","price":"29.89","retail_price":"40","available":true,"url":"\/products\/casual-rolled-hem-printed-hoodie?variant=e2dc69f2-88f7-458d-8d4f-362f8aff205e","available_quantity":999999999,"options":[{"name":"Color","value":"Pink"},{"name":"Size","value":"S"}],"off_ratio":25,"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 : XHpAyFs8u-Pink-S
Weight : 400g
${function(){
const variantData = data.variant || {"id":"e2dc69f2-88f7-458d-8d4f-362f8aff205e","product_id":"92b2d353-0427-4e08-9a63-424233192e62","title":"Pink-S","weight_unit":"g","inventory_quantity":999,"sku":"XHpAyFs8u-Pink-S","barcode":"","position":6,"option1":"Pink","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/be3b1a6d5a2f8866e6ada5acd98f4c67.jpeg","path":"be3b1a6d5a2f8866e6ada5acd98f4c67.jpeg","width":1440,"height":1440,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":29.89,"min_quantity":1}],"weight":"400","compare_at_price":"40","price":"29.89","retail_price":"40","available":true,"url":"\/products\/casual-rolled-hem-printed-hoodie?variant=e2dc69f2-88f7-458d-8d4f-362f8aff205e","available_quantity":999999999,"options":[{"name":"Color","value":"Pink"},{"name":"Size","value":"S"}],"off_ratio":25,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}