${function() {
const variantData = data.variant || {"id":"b7d6b1d7-bc1d-4ce9-85e2-59318f96674f","product_id":"bdb5a21d-1a2a-4108-922f-cf382c908bf1","title":"As shown-S","weight_unit":"kg","inventory_quantity":1000,"sku":"QF-As shown-S-A00158164","barcode":"","position":1,"option1":"As shown","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d3a4636c024dc68c5ffa51347dad8b26.jpeg","path":"d3a4636c024dc68c5ffa51347dad8b26.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":20.99,"min_quantity":1}],"weight":"0","compare_at_price":"30.99","price":"20.99","retail_price":"30.99","available":true,"url":"\/products\/womens-valentines-day-heart-print-leggings?variant=b7d6b1d7-bc1d-4ce9-85e2-59318f96674f","available_quantity":1000,"options":[{"name":"Color","value":"As shown"},{"name":"Size","value":"S"}],"off_ratio":32,"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-As shown-S-A00158164
${function(){
const variantData = data.variant || {"id":"b7d6b1d7-bc1d-4ce9-85e2-59318f96674f","product_id":"bdb5a21d-1a2a-4108-922f-cf382c908bf1","title":"As shown-S","weight_unit":"kg","inventory_quantity":1000,"sku":"QF-As shown-S-A00158164","barcode":"","position":1,"option1":"As shown","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d3a4636c024dc68c5ffa51347dad8b26.jpeg","path":"d3a4636c024dc68c5ffa51347dad8b26.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":20.99,"min_quantity":1}],"weight":"0","compare_at_price":"30.99","price":"20.99","retail_price":"30.99","available":true,"url":"\/products\/womens-valentines-day-heart-print-leggings?variant=b7d6b1d7-bc1d-4ce9-85e2-59318f96674f","available_quantity":1000,"options":[{"name":"Color","value":"As shown"},{"name":"Size","value":"S"}],"off_ratio":32,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}