${function() {
const variantData = data.variant || {"id":"a6369c03-7acd-4049-aa5d-1ff159c10f34","product_id":"df053cb7-032e-4996-8d58-c330e214a1ee","title":"White-M","weight_unit":"kg","inventory_quantity":1000,"sku":"YEYS-22071505-White-M","barcode":"","position":1,"option1":"White","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d2cd001c0dac23ebbc83442e997cfb62.jpeg","path":"d2cd001c0dac23ebbc83442e997cfb62.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":35.99,"min_quantity":1}],"weight":"0","compare_at_price":"71.99","price":"35.99","retail_price":"71.99","available":true,"url":"\/products\/mens-casual-outfit-set-2jsk?variant=a6369c03-7acd-4049-aa5d-1ff159c10f34","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"M"}],"off_ratio":50,"flashsale_info":[],"sales":0};
const saveType = "amount";
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 : YEYS-22071505-White-M
${function(){
const variantData = data.variant || {"id":"a6369c03-7acd-4049-aa5d-1ff159c10f34","product_id":"df053cb7-032e-4996-8d58-c330e214a1ee","title":"White-M","weight_unit":"kg","inventory_quantity":1000,"sku":"YEYS-22071505-White-M","barcode":"","position":1,"option1":"White","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d2cd001c0dac23ebbc83442e997cfb62.jpeg","path":"d2cd001c0dac23ebbc83442e997cfb62.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":35.99,"min_quantity":1}],"weight":"0","compare_at_price":"71.99","price":"35.99","retail_price":"71.99","available":true,"url":"\/products\/mens-casual-outfit-set-2jsk?variant=a6369c03-7acd-4049-aa5d-1ff159c10f34","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"M"}],"off_ratio":50,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}