${function() {
const variantData = data.variant || {"id":"84b78c10-e8c2-4c13-9e06-11fdc14b5ba4","product_id":"068d32e9-01f4-4a90-bfdb-2a65a1b62a81","title":"Green-S","weight_unit":"g","inventory_quantity":9999,"sku":"XHcosAkx1-Green-S","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1fa5fa56b6e96870291e1fc69c9533c5.jpeg","path":"1fa5fa56b6e96870291e1fc69c9533c5.jpeg","width":1440,"height":1440,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":39.89,"min_quantity":1}],"weight":"666","compare_at_price":"88","price":"39.89","retail_price":"88","available":true,"url":"\/products\/angel-embroidered-patchwork-college-baseball-jacket?variant=84b78c10-e8c2-4c13-9e06-11fdc14b5ba4","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":55,"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 : XHcosAkx1-Green-S
Weight : 666g
${function(){
const variantData = data.variant || {"id":"84b78c10-e8c2-4c13-9e06-11fdc14b5ba4","product_id":"068d32e9-01f4-4a90-bfdb-2a65a1b62a81","title":"Green-S","weight_unit":"g","inventory_quantity":9999,"sku":"XHcosAkx1-Green-S","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1fa5fa56b6e96870291e1fc69c9533c5.jpeg","path":"1fa5fa56b6e96870291e1fc69c9533c5.jpeg","width":1440,"height":1440,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":39.89,"min_quantity":1}],"weight":"666","compare_at_price":"88","price":"39.89","retail_price":"88","available":true,"url":"\/products\/angel-embroidered-patchwork-college-baseball-jacket?variant=84b78c10-e8c2-4c13-9e06-11fdc14b5ba4","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":55,"flashsale_info":[],"sales":5};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}