${function() {
const variantData = data.variant || {"id":"ea5a9584-afdc-43c8-9d66-7aa877b9620e","product_id":"85106e9d-a5b1-4b5c-9e0e-f45849f80582","title":"Blue-S","weight_unit":"g","inventory_quantity":999,"sku":"XHFw6PtGg-Blue-S","barcode":"","position":1,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7b26dd9ac659ccbe79a43ab623564e2a.jpeg","path":"7b26dd9ac659ccbe79a43ab623564e2a.jpeg","width":4306,"height":4306,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":42.89,"min_quantity":1}],"weight":"500","compare_at_price":"50","price":"42.89","retail_price":"50","available":true,"url":"\/products\/trendy-hip-hop-street-zipper-lapel-jacket?variant=ea5a9584-afdc-43c8-9d66-7aa877b9620e","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"S"}],"off_ratio":14,"flashsale_info":[],"sales":2};
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 : XHFw6PtGg-Blue-S
Weight : 500g
${function(){
const variantData = data.variant || {"id":"ea5a9584-afdc-43c8-9d66-7aa877b9620e","product_id":"85106e9d-a5b1-4b5c-9e0e-f45849f80582","title":"Blue-S","weight_unit":"g","inventory_quantity":999,"sku":"XHFw6PtGg-Blue-S","barcode":"","position":1,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7b26dd9ac659ccbe79a43ab623564e2a.jpeg","path":"7b26dd9ac659ccbe79a43ab623564e2a.jpeg","width":4306,"height":4306,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":42.89,"min_quantity":1}],"weight":"500","compare_at_price":"50","price":"42.89","retail_price":"50","available":true,"url":"\/products\/trendy-hip-hop-street-zipper-lapel-jacket?variant=ea5a9584-afdc-43c8-9d66-7aa877b9620e","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"S"}],"off_ratio":14,"flashsale_info":[],"sales":2};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}