${function() {
const variantData = data.variant || {"id":"5bb887e6-fe12-422e-b118-d74ae3bffda3","product_id":"ced70f0f-80e1-4ebe-8f3f-31d8431e0579","title":"Dark blue-S","weight_unit":"kg","inventory_quantity":0,"sku":"xtjx5202208302-23-a","barcode":"","position":1,"option1":"Dark blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6a29c658cb435a999acd0325bc4c1909.jpeg","path":"6a29c658cb435a999acd0325bc4c1909.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":39.99,"min_quantity":1}],"weight":"0","compare_at_price":"69.99","price":"39.99","retail_price":"69.99","available":true,"url":"\/products\/american-vintage-classic-herringbone-pattern-tweed-vest?variant=5bb887e6-fe12-422e-b118-d74ae3bffda3","available_quantity":999999999,"options":[{"name":"Color","value":"Dark blue"},{"name":"Size","value":"S"}],"off_ratio":43,"flashsale_info":[],"sales":51};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
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 : xtjx5202208302-23-a
${function(){
const variantData = data.variant || {"id":"5bb887e6-fe12-422e-b118-d74ae3bffda3","product_id":"ced70f0f-80e1-4ebe-8f3f-31d8431e0579","title":"Dark blue-S","weight_unit":"kg","inventory_quantity":0,"sku":"xtjx5202208302-23-a","barcode":"","position":1,"option1":"Dark blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6a29c658cb435a999acd0325bc4c1909.jpeg","path":"6a29c658cb435a999acd0325bc4c1909.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":39.99,"min_quantity":1}],"weight":"0","compare_at_price":"69.99","price":"39.99","retail_price":"69.99","available":true,"url":"\/products\/american-vintage-classic-herringbone-pattern-tweed-vest?variant=5bb887e6-fe12-422e-b118-d74ae3bffda3","available_quantity":999999999,"options":[{"name":"Color","value":"Dark blue"},{"name":"Size","value":"S"}],"off_ratio":43,"flashsale_info":[],"sales":51};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}