Imagine a large, well-known ecommerce store. As a part of CSR initiative, they would like to donate a part of your order totals to medical fund, fighting COVID-19, and calculate this proportion dynamically, based on current infected / healed ration (e.g. more risk - more charity is transferred to fund). Also, they would like to keep customers informed with health pulse displayed as a banner
Details on business background:
Complex promotions are real business case, frequently discussed with our Customers. Depending on some external data (e.g. weather, currency ratio, competitor price, etc) ecommerce solution might apply personalisation, including storefront merchandising and price calculation. Our team is excited with open API capabilities, which bring to life ability quickly (we only have 1 week) construct a valuable and flexible solution.
Data about COVID is taken from open API, calculated in custom microservice, send to voucherify.io for business rules management and used as promo in BigCommerce.
Demo storefront https://some-test-store6.mybigcommerce.com/
Preview code prxckx4enp
Custom microservice code https://github.com/MaximKuznetsov17/voucherify-integrator