Skip to content

Change Log

bpost PrestaShop 8 module

Version 2.0.1 – Released 11/04/2024

  • Add “Prepare bpost order” button to order detail page when order was not added automatically
  • Checking entries in the table ps_bpostshm_carrier_history
  • Fix deletion of views/css/custom.css when upgrading
  • Tools::jsonDecode() replaced by json_decode()
  • Translations updates

Version 2.0.0 – Released 04/04/2024

Frontend

  • New options for the checkout integration:
    • Choose to display map or not to improve performance
    • Choose map between OpenStreetMap (free) and Google Maps
    • Choose if you want to display the service points inline or in a modal (recreated with bootstrap)
  • Compatibility with non-standard themes: override possible with css selectors getSelectors()
  • Module compatible with the theme https://github.com/Oksydan/falcon
  • Module compatible with the future official theme Hummingbird (tested in version 0.1.6)
  • Translation of the carrier’s name on the order details and confirmation pages
  • Collection point address directly displayed in the order confirmation email (there was a separate email before)
  • Tracking number displayed in order details.
  • Additional checks to validate an order:
    • Check that a delivery point is properly selected
    • The country of the customer’s delivery address must match the country of the pick-up point (for the cost calculation)
    • The customer can order even if the carrier configuration is incorrect

Backend

Settings page

Account settings
  • You can choose the country of the shop (other than Belgium)
  • Account settings check, with confirmation or error message displayed
Carrier settings
  • Ability to manually link a carrier to a delivery method (useful in the event of desynchronisation)
  • Display an error message if a carrier is incorrect or incorrectly linked
Delivery options
  • Possibility of adding an additional cost for insurance for all delivery methods
Delivery settings
  • Unlimited number of days for displaying orders (instead of a maximum of 999)
  • Possibility of adding a default weight if a product has no weight or if it is less than 0
  • Removal of the “Track & Trace integration” option, which is now always activated
  • The “Treated” order status is no longer added to the installation
Other improvements
  • Use of PrestaShop’s HelperForm to create the configuration form
  • Addition of clear configuration names in the ps_configration table for greater readability
  • Display an error message if the API is not available

bpost order page

  • bpost order management now uses the Symfony framework (Modern controller / CQRS)
  • The “Orders > bpost” tab has been moved to “Delivery > bpost Shipping Manager
  • You no longer need to authorise pop-ups to print a label
  • You can now filter by delivery method
  • Label status list added to column header
  • SQL query can be viewed or exported to SQL Manager
  • Details of the ajax order can now be displayed by clicking on the ID
  • Removal of the “Send e-mail T&T” option, which was no longer used
  • Addition of the “Add missing bpost orders” button when one or more orders with a bpost delivery method are detected but the order has not been sent correctly via the API to the Shipping Manager
  • If the label already exists on the Shipping Manager side with the same reference, an attempt is made to retrieve the information to add the order to the list

Order detail page

  • Add a button to generate labels from the page
  • Add a tab to display the address of the collection point
  • Add a tab to display the tracking number(s) for dispatch and return
  • If the PDF contains several labels, all the tracking numbers are displayed
  • Insert module information via the via the hooks displayAdminOrderTabLink & displayAdminOrderTabContent

General improvements

  • Registration of the withdrawal point in DB to reduce calls to the API
  • INDEX added to DB table fields used for searching (fixed performance problem under MYSQL 8.0)
  • All code available and modifiable (custom integration and overrides possible)
  • Improved error handling when printing labels
  • Labels are now stored in /download/bpostshm/datedujour/
  • If the label file is no longer on the server (e.g. accidentally deleted), it is retrieved via the API
  • Add a routine to the cron to automatically add bpost commands that have been in error via the API
  • Add a routine to the cron to clean labels that are a certain number of days old (option in the configuration)

bpost PS8 module

Compatibility

  • - Prestashop version 8