${function() {
const variantData = data.variant || {"id":"1fb3528f-ff88-42a1-ae33-1031451f28d4","product_id":"a99121b9-9c80-4b16-8f32-35e307ca9598","title":"Yellow-S","weight_unit":"g","inventory_quantity":999,"sku":"XHwg09t3h-Yellow-S","barcode":"","position":1,"option1":"Yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4541e2d7f318bd6d4b1ed7e20b3272d3.jpeg","path":"4541e2d7f318bd6d4b1ed7e20b3272d3.jpeg","width":1440,"height":1440,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":19.89,"min_quantity":1}],"weight":"200","compare_at_price":"29","price":"19.89","retail_price":"29","available":true,"url":"\/products\/no-4-racing-print-short-sleeve-t-shirt?variant=1fb3528f-ff88-42a1-ae33-1031451f28d4","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"S"}],"off_ratio":31,"flashsale_info":[],"sales":5};
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 : XHwg09t3h-Yellow-S
Weight : 200g
${function(){
const variantData = data.variant || {"id":"1fb3528f-ff88-42a1-ae33-1031451f28d4","product_id":"a99121b9-9c80-4b16-8f32-35e307ca9598","title":"Yellow-S","weight_unit":"g","inventory_quantity":999,"sku":"XHwg09t3h-Yellow-S","barcode":"","position":1,"option1":"Yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4541e2d7f318bd6d4b1ed7e20b3272d3.jpeg","path":"4541e2d7f318bd6d4b1ed7e20b3272d3.jpeg","width":1440,"height":1440,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":19.89,"min_quantity":1}],"weight":"200","compare_at_price":"29","price":"19.89","retail_price":"29","available":true,"url":"\/products\/no-4-racing-print-short-sleeve-t-shirt?variant=1fb3528f-ff88-42a1-ae33-1031451f28d4","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"S"}],"off_ratio":31,"flashsale_info":[],"sales":5};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}