${function() {
const variantData = data.variant || {"id":"265ae9e4-ac5e-4d8f-a3bb-764b11742902","product_id":"efa42cce-3168-4329-9f1c-ff98c24d73cb","title":"Yellow-S","weight_unit":"g","inventory_quantity":999,"sku":"XHA12ybfy-Yellow-S","barcode":"","position":6,"option1":"Yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/83f45d58e3c939d296125014ccb8f029.jpeg","path":"83f45d58e3c939d296125014ccb8f029.jpeg","width":1440,"height":1440,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":19.89,"min_quantity":1}],"weight":"200","compare_at_price":"32","price":"19.89","retail_price":"32","available":true,"url":"\/products\/fashionable-personalized-printed-graphic-t-shirt?variant=265ae9e4-ac5e-4d8f-a3bb-764b11742902","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"S"}],"off_ratio":38,"flashsale_info":[],"sales":3};
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 : XHA12ybfy-Yellow-S
Weight : 200g
${function(){
const variantData = data.variant || {"id":"265ae9e4-ac5e-4d8f-a3bb-764b11742902","product_id":"efa42cce-3168-4329-9f1c-ff98c24d73cb","title":"Yellow-S","weight_unit":"g","inventory_quantity":999,"sku":"XHA12ybfy-Yellow-S","barcode":"","position":6,"option1":"Yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/83f45d58e3c939d296125014ccb8f029.jpeg","path":"83f45d58e3c939d296125014ccb8f029.jpeg","width":1440,"height":1440,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":19.89,"min_quantity":1}],"weight":"200","compare_at_price":"32","price":"19.89","retail_price":"32","available":true,"url":"\/products\/fashionable-personalized-printed-graphic-t-shirt?variant=265ae9e4-ac5e-4d8f-a3bb-764b11742902","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"S"}],"off_ratio":38,"flashsale_info":[],"sales":3};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}