Casual Color Patchwork Tunic
${function() {
const variantData = data.variant || {"id":"c7f3996b-68cc-4703-ae8f-6e7d8075de56","product_id":"e6350769-27a7-4fbb-b062-eef7329e44db","title":"grey-s","weight_unit":"kg","inventory_quantity":0,"sku":"Lin21020502-grey-s","barcode":"","position":17,"option1":"grey","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a4732e42c72d5cadf3a1569a2ad57abd.jpeg","path":"a4732e42c72d5cadf3a1569a2ad57abd.jpeg","width":750,"height":800,"alt":"","aspect_ratio":0.9375},"wholesale_price":[{"price":25.83,"min_quantity":1}],"weight":"0","compare_at_price":"40","price":"25.83","retail_price":"40","available":true,"url":"\/products\/casual-color-patchwork-tunic?variant=c7f3996b-68cc-4703-ae8f-6e7d8075de56","available_quantity":999999999,"options":[{"name":"color","value":"grey"},{"name":"size","value":"s"}],"off_ratio":35,"flashsale_info":[],"sales":28};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${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.
${function(){
const variantData = data.variant || {"id":"c7f3996b-68cc-4703-ae8f-6e7d8075de56","product_id":"e6350769-27a7-4fbb-b062-eef7329e44db","title":"grey-s","weight_unit":"kg","inventory_quantity":0,"sku":"Lin21020502-grey-s","barcode":"","position":17,"option1":"grey","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a4732e42c72d5cadf3a1569a2ad57abd.jpeg","path":"a4732e42c72d5cadf3a1569a2ad57abd.jpeg","width":750,"height":800,"alt":"","aspect_ratio":0.9375},"wholesale_price":[{"price":25.83,"min_quantity":1}],"weight":"0","compare_at_price":"40","price":"25.83","retail_price":"40","available":true,"url":"\/products\/casual-color-patchwork-tunic?variant=c7f3996b-68cc-4703-ae8f-6e7d8075de56","available_quantity":999999999,"options":[{"name":"color","value":"grey"},{"name":"size","value":"s"}],"off_ratio":35,"flashsale_info":[],"sales":28};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}