${function() {
const variantData = data.variant || {"id":"56f4fb60-c549-4fa3-be13-6f426a2c5b8f","product_id":"d3691509-5b5c-43fe-a75f-ca078e22756d","title":"Black-S","weight_unit":"g","inventory_quantity":999,"sku":"XHU4TO6Du-Black-S","barcode":"","position":6,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/66ed7af60a04ee571fde0b207ec1fd53.jpeg","path":"66ed7af60a04ee571fde0b207ec1fd53.jpeg","width":1440,"height":1440,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":22.89,"min_quantity":1}],"weight":"300","compare_at_price":"36","price":"22.89","retail_price":"36","available":true,"url":"\/products\/personalized-fashionable-round-neck-printed-rolled-edge-t-shirt?variant=56f4fb60-c549-4fa3-be13-6f426a2c5b8f","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":36,"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 : XHU4TO6Du-Black-S
Weight : 300g
${function(){
const variantData = data.variant || {"id":"56f4fb60-c549-4fa3-be13-6f426a2c5b8f","product_id":"d3691509-5b5c-43fe-a75f-ca078e22756d","title":"Black-S","weight_unit":"g","inventory_quantity":999,"sku":"XHU4TO6Du-Black-S","barcode":"","position":6,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/66ed7af60a04ee571fde0b207ec1fd53.jpeg","path":"66ed7af60a04ee571fde0b207ec1fd53.jpeg","width":1440,"height":1440,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":22.89,"min_quantity":1}],"weight":"300","compare_at_price":"36","price":"22.89","retail_price":"36","available":true,"url":"\/products\/personalized-fashionable-round-neck-printed-rolled-edge-t-shirt?variant=56f4fb60-c549-4fa3-be13-6f426a2c5b8f","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":36,"flashsale_info":[],"sales":2};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}