${function() {
const variantData = data.variant || {"id":"87d98b54-2281-44f0-9ef3-97593343c9d5","product_id":"83b9a453-aebf-4897-a2a5-7b5eb246cfaf","title":"coffee-S","weight_unit":"kg","inventory_quantity":1000,"sku":"coffee S-43081000","barcode":"","position":1,"option1":"coffee","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/898e9c22d9fc05e03b794aa82d6a359a.jpeg","path":"898e9c22d9fc05e03b794aa82d6a359a.jpeg","width":800,"height":800,"alt":"Women V Neck Drawstring Sweaters","aspect_ratio":1},"wholesale_price":[{"price":32.49,"min_quantity":1}],"weight":"0","compare_at_price":"32.49","price":"32.49","retail_price":"32.49","available":true,"url":"\/products\/women-v-neck-drawstring-sweaters-208529813451?variant=87d98b54-2281-44f0-9ef3-97593343c9d5","available_quantity":999999999,"options":[{"name":"Color","value":"coffee"},{"name":"Size","value":"S"}],"off_ratio":0,"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.
${function(){
const variantData = data.variant || {"id":"87d98b54-2281-44f0-9ef3-97593343c9d5","product_id":"83b9a453-aebf-4897-a2a5-7b5eb246cfaf","title":"coffee-S","weight_unit":"kg","inventory_quantity":1000,"sku":"coffee S-43081000","barcode":"","position":1,"option1":"coffee","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/898e9c22d9fc05e03b794aa82d6a359a.jpeg","path":"898e9c22d9fc05e03b794aa82d6a359a.jpeg","width":800,"height":800,"alt":"Women V Neck Drawstring Sweaters","aspect_ratio":1},"wholesale_price":[{"price":32.49,"min_quantity":1}],"weight":"0","compare_at_price":"32.49","price":"32.49","retail_price":"32.49","available":true,"url":"\/products\/women-v-neck-drawstring-sweaters-208529813451?variant=87d98b54-2281-44f0-9ef3-97593343c9d5","available_quantity":999999999,"options":[{"name":"Color","value":"coffee"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}