Wool Trousers
${function() {
const variantData = data.variant || {"id":"6d51ca73-a9c7-42d0-8fbc-ebccbaf4d9a4","product_id":"3cfc41a4-d8d7-44f4-9133-7c7e3a79c818","title":"Dark Khaki-S","weight_unit":"kg","inventory_quantity":99,"sku":"","barcode":"","position":1,"option1":"Dark Khaki","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8a2fff38815b8848a25ff21561beb7b2.jpg","path":"8a2fff38815b8848a25ff21561beb7b2.jpg","width":1200,"height":1800,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":107.15,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"107.15","retail_price":"0","available":true,"url":"\/products\/wool-trousers?variant=6d51ca73-a9c7-42d0-8fbc-ebccbaf4d9a4","available_quantity":99,"options":[{"name":"Color","value":"Dark Khaki"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
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":"6d51ca73-a9c7-42d0-8fbc-ebccbaf4d9a4","product_id":"3cfc41a4-d8d7-44f4-9133-7c7e3a79c818","title":"Dark Khaki-S","weight_unit":"kg","inventory_quantity":99,"sku":"","barcode":"","position":1,"option1":"Dark Khaki","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8a2fff38815b8848a25ff21561beb7b2.jpg","path":"8a2fff38815b8848a25ff21561beb7b2.jpg","width":1200,"height":1800,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":107.15,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"107.15","retail_price":"0","available":true,"url":"\/products\/wool-trousers?variant=6d51ca73-a9c7-42d0-8fbc-ebccbaf4d9a4","available_quantity":99,"options":[{"name":"Color","value":"Dark Khaki"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Barcode : ${variantData && variantData.barcode}
`
}()}