Open Food Network v2.0.0 Release Notes

Release Date: 2019-05-07 // almost 5 years ago
  • ⬆️ The Open Food Network software has been using the Spree e-commerce module from the beginning. It allowed us to prototype quickly and gave us a good understanding of general e-commerce logic. But it's also our biggest dependency and upgrading to new versions becomes increasingly difficult.

    ⬆️ We have been working hard to upgrade from Spree 1 to Spree 2. Special thanks go to @luisramos0 who spend many months on this. While most of the changes are not visible, there are a few things that are.

    Important changes

    • Visual changes: All customer facing pages stay the same. But there are details of the admin interface changing. But don't panic. The functionality should be the same.
    • Stock logic: If you set a variant to on demand in the past, the stock level was ignored. Customers could order as much of that variant as they liked. In version 2, they still can order as much as they like but the stock level is updated as well. So if you have 5 carrots left and somebody orders 7 you will have a stock level of -2. It won't be visible though until you disable on demand.
    • Shipping Categories in Shipping Methods and Products: Shipping Methods now have shipping categories. At the same time, shipping category is now mandatory for products. There will be a default shipping category and it will be assigned to every existing product in the system during the upgrade to OFN v2. Shipping Categories have no influence on the checkout process.
    • Zones in Shipping Methods: Shipping Methods can now be part of multiple checkout zones. This is coming from spree v2. Each OFN instance is working on a specific zone and you should assign your shipping methods to that zone always, otherwise users may not be able to checkout using your shipping method.
    • ⚡️ We have fixed a problem with updating the stock levels for canceled orders where the returned stock was put back in the producers catalog instead of the distributor inventory #1631

    OFN version 2.0 and Spree version 2.0 cannot be separated