${function() {
const variantData = data.variant || {"id":"e5e2787d-fdda-45a9-b0bc-a55c1a20cb4d","product_id":"d3236961-79db-4935-94b1-8effe4749e35","title":"Black-S","weight_unit":"g","inventory_quantity":999,"sku":"XHOLzefFb-Black-S","barcode":"","position":6,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f2ff0d1acd56c29cbf4d20f37fb1799c.jpeg","path":"f2ff0d1acd56c29cbf4d20f37fb1799c.jpeg","width":582,"height":582,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":19.89,"min_quantity":1}],"weight":"200","compare_at_price":"32","price":"19.89","retail_price":"32","available":true,"url":"\/products\/fashionable-personalized-printed-loose-round-neck-t-shirt-mue7?variant=e5e2787d-fdda-45a9-b0bc-a55c1a20cb4d","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":38,"flashsale_info":[],"sales":9};
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 : XHOLzefFb-Black-S
Weight : 200g
${function(){
const variantData = data.variant || {"id":"e5e2787d-fdda-45a9-b0bc-a55c1a20cb4d","product_id":"d3236961-79db-4935-94b1-8effe4749e35","title":"Black-S","weight_unit":"g","inventory_quantity":999,"sku":"XHOLzefFb-Black-S","barcode":"","position":6,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f2ff0d1acd56c29cbf4d20f37fb1799c.jpeg","path":"f2ff0d1acd56c29cbf4d20f37fb1799c.jpeg","width":582,"height":582,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":19.89,"min_quantity":1}],"weight":"200","compare_at_price":"32","price":"19.89","retail_price":"32","available":true,"url":"\/products\/fashionable-personalized-printed-loose-round-neck-t-shirt-mue7?variant=e5e2787d-fdda-45a9-b0bc-a55c1a20cb4d","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":38,"flashsale_info":[],"sales":9};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}