${function() {
const variantData = data.variant || {"id":"3225d3e0-6044-400e-bb7d-12f9f7eca68c","product_id":"5ff3748e-9471-4edd-92e2-53dd768a06c0","title":"Black-S","weight_unit":"g","inventory_quantity":999,"sku":"XHUHjmNuM-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b379b53ae3a7403d25d4b7f5da54acdb.jpeg","path":"b379b53ae3a7403d25d4b7f5da54acdb.jpeg","width":1944,"height":1944,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":31.89,"min_quantity":1}],"weight":"400","compare_at_price":"45","price":"31.89","retail_price":"45","available":true,"url":"\/products\/casual-personalized-printed-shirt-g0ft?variant=3225d3e0-6044-400e-bb7d-12f9f7eca68c","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":29,"flashsale_info":[],"sales":0};
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 : XHUHjmNuM-Black-S
Weight : 400g
${function(){
const variantData = data.variant || {"id":"3225d3e0-6044-400e-bb7d-12f9f7eca68c","product_id":"5ff3748e-9471-4edd-92e2-53dd768a06c0","title":"Black-S","weight_unit":"g","inventory_quantity":999,"sku":"XHUHjmNuM-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b379b53ae3a7403d25d4b7f5da54acdb.jpeg","path":"b379b53ae3a7403d25d4b7f5da54acdb.jpeg","width":1944,"height":1944,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":31.89,"min_quantity":1}],"weight":"400","compare_at_price":"45","price":"31.89","retail_price":"45","available":true,"url":"\/products\/casual-personalized-printed-shirt-g0ft?variant=3225d3e0-6044-400e-bb7d-12f9f7eca68c","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":29,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}