${function() {
const variantData = data.variant || {"id":"ca4d9904-2d9c-4c3c-a958-1e7ed5c62a83","product_id":"62ef970f-caaf-409f-8485-e9e9f2abf628","title":"Black-S","weight_unit":"g","inventory_quantity":999,"sku":"XHTfFguPI-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/035e55d11b778102e6df6ebd6f89e3f2.jpeg","path":"035e55d11b778102e6df6ebd6f89e3f2.jpeg","width":1168,"height":1168,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":40.89,"min_quantity":1}],"weight":"500","compare_at_price":"49","price":"40.89","retail_price":"49","available":true,"url":"\/products\/gentlemens-club-print-t-shirt-sweatpants-two-piece-set?variant=ca4d9904-2d9c-4c3c-a958-1e7ed5c62a83","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":17,"flashsale_info":[],"sales":6};
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 : XHTfFguPI-Black-S
Weight : 500g
${function(){
const variantData = data.variant || {"id":"ca4d9904-2d9c-4c3c-a958-1e7ed5c62a83","product_id":"62ef970f-caaf-409f-8485-e9e9f2abf628","title":"Black-S","weight_unit":"g","inventory_quantity":999,"sku":"XHTfFguPI-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/035e55d11b778102e6df6ebd6f89e3f2.jpeg","path":"035e55d11b778102e6df6ebd6f89e3f2.jpeg","width":1168,"height":1168,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":40.89,"min_quantity":1}],"weight":"500","compare_at_price":"49","price":"40.89","retail_price":"49","available":true,"url":"\/products\/gentlemens-club-print-t-shirt-sweatpants-two-piece-set?variant=ca4d9904-2d9c-4c3c-a958-1e7ed5c62a83","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":17,"flashsale_info":[],"sales":6};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}