${function() {
const variantData = data.variant || {"id":"cf9a41f6-96c3-40a6-b8ae-2ae2ee7d8504","product_id":"fb4a0ac0-4720-4717-8bad-68fdc797d2dd","title":"Grey-S","weight_unit":"kg","inventory_quantity":1000,"sku":"QF-Grey-S-A00158958","barcode":"","position":1,"option1":"Grey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/41edfed7b417c995f74d6866c5b599ba.jpeg","path":"41edfed7b417c995f74d6866c5b599ba.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":28.99,"min_quantity":1}],"weight":"0","compare_at_price":"42.99","price":"28.99","retail_price":"42.99","available":true,"url":"\/products\/womens-valentines-day-print-long-sleeve-sweatshirt-3?variant=cf9a41f6-96c3-40a6-b8ae-2ae2ee7d8504","available_quantity":1000,"options":[{"name":"Color","value":"Grey"},{"name":"Size","value":"S"}],"off_ratio":33,"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 : QF-Grey-S-A00158958
${function(){
const variantData = data.variant || {"id":"cf9a41f6-96c3-40a6-b8ae-2ae2ee7d8504","product_id":"fb4a0ac0-4720-4717-8bad-68fdc797d2dd","title":"Grey-S","weight_unit":"kg","inventory_quantity":1000,"sku":"QF-Grey-S-A00158958","barcode":"","position":1,"option1":"Grey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/41edfed7b417c995f74d6866c5b599ba.jpeg","path":"41edfed7b417c995f74d6866c5b599ba.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":28.99,"min_quantity":1}],"weight":"0","compare_at_price":"42.99","price":"28.99","retail_price":"42.99","available":true,"url":"\/products\/womens-valentines-day-print-long-sleeve-sweatshirt-3?variant=cf9a41f6-96c3-40a6-b8ae-2ae2ee7d8504","available_quantity":1000,"options":[{"name":"Color","value":"Grey"},{"name":"Size","value":"S"}],"off_ratio":33,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}