${function() {
const variantData = data.variant || {"id":"d1def17b-b5f7-4563-b245-6e93433308be","product_id":"0a784cdf-4d78-428e-a90c-30c779b753d2","title":"Red-S","weight_unit":"g","inventory_quantity":999,"sku":"XHvf64WMi-Red-S","barcode":"","position":1,"option1":"Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/54ebd0abcb8cb6028f7f46559a985057.jpeg","path":"54ebd0abcb8cb6028f7f46559a985057.jpeg","width":1134,"height":1134,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":37.89,"min_quantity":1}],"weight":"800","compare_at_price":"49","price":"37.89","retail_price":"49","available":true,"url":"\/products\/casual-new-york-print-hoodie-and-pants-two-piece-set?variant=d1def17b-b5f7-4563-b245-6e93433308be","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"S"}],"off_ratio":23,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
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 : XHvf64WMi-Red-S
Weight : 800g
${function(){
const variantData = data.variant || {"id":"d1def17b-b5f7-4563-b245-6e93433308be","product_id":"0a784cdf-4d78-428e-a90c-30c779b753d2","title":"Red-S","weight_unit":"g","inventory_quantity":999,"sku":"XHvf64WMi-Red-S","barcode":"","position":1,"option1":"Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/54ebd0abcb8cb6028f7f46559a985057.jpeg","path":"54ebd0abcb8cb6028f7f46559a985057.jpeg","width":1134,"height":1134,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":37.89,"min_quantity":1}],"weight":"800","compare_at_price":"49","price":"37.89","retail_price":"49","available":true,"url":"\/products\/casual-new-york-print-hoodie-and-pants-two-piece-set?variant=d1def17b-b5f7-4563-b245-6e93433308be","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"S"}],"off_ratio":23,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}