${function() {
const variantData = data.variant || {"id":"870d739c-569a-44f3-a4c1-32051855c838","product_id":"2e4ce030-aeb6-4034-95eb-7e3c93792fec","title":"Black-S","weight_unit":"g","inventory_quantity":999,"sku":"XHNtzxKMo-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d27e273322e7b6109192aa5942c9b04e.jpeg","path":"d27e273322e7b6109192aa5942c9b04e.jpeg","width":2106,"height":2106,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":39.89,"min_quantity":1}],"weight":"400","compare_at_price":"55","price":"39.89","retail_price":"55","available":true,"url":"\/products\/vintage-religious-tapestry-jacket?variant=870d739c-569a-44f3-a4c1-32051855c838","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":27,"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 : XHNtzxKMo-Black-S
Weight : 400g
${function(){
const variantData = data.variant || {"id":"870d739c-569a-44f3-a4c1-32051855c838","product_id":"2e4ce030-aeb6-4034-95eb-7e3c93792fec","title":"Black-S","weight_unit":"g","inventory_quantity":999,"sku":"XHNtzxKMo-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d27e273322e7b6109192aa5942c9b04e.jpeg","path":"d27e273322e7b6109192aa5942c9b04e.jpeg","width":2106,"height":2106,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":39.89,"min_quantity":1}],"weight":"400","compare_at_price":"55","price":"39.89","retail_price":"55","available":true,"url":"\/products\/vintage-religious-tapestry-jacket?variant=870d739c-569a-44f3-a4c1-32051855c838","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":27,"flashsale_info":[],"sales":3};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}