${function() {
const variantData = data.variant || {"id":"8267aeac-4ddf-4c9d-bf02-be543b50a897","product_id":"43beed4b-7863-4e0f-89fc-c3acb8b6a4e2","title":"Black-S","weight_unit":"g","inventory_quantity":999,"sku":"XHQaT3bL0-Black-S","barcode":"","position":7,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e5878401ea99852642ef0cb114609ee2.jpeg","path":"e5878401ea99852642ef0cb114609ee2.jpeg","width":1080,"height":1080,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":18.89,"min_quantity":1}],"weight":"200","compare_at_price":"29","price":"18.89","retail_price":"29","available":true,"url":"\/products\/hip-hop-print-comfortable-casual-short-sleeve-t-shirt?variant=8267aeac-4ddf-4c9d-bf02-be543b50a897","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":35,"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 : XHQaT3bL0-Black-S
Weight : 200g
${function(){
const variantData = data.variant || {"id":"8267aeac-4ddf-4c9d-bf02-be543b50a897","product_id":"43beed4b-7863-4e0f-89fc-c3acb8b6a4e2","title":"Black-S","weight_unit":"g","inventory_quantity":999,"sku":"XHQaT3bL0-Black-S","barcode":"","position":7,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e5878401ea99852642ef0cb114609ee2.jpeg","path":"e5878401ea99852642ef0cb114609ee2.jpeg","width":1080,"height":1080,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":18.89,"min_quantity":1}],"weight":"200","compare_at_price":"29","price":"18.89","retail_price":"29","available":true,"url":"\/products\/hip-hop-print-comfortable-casual-short-sleeve-t-shirt?variant=8267aeac-4ddf-4c9d-bf02-be543b50a897","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":35,"flashsale_info":[],"sales":2};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}