commercelayer / mfe-checkout

Commerce Layer Hosted Checkout
https://commercelayer.io
MIT License
42 stars 47 forks source link

Improve performances on checkout setup and opening #356

Closed malessani closed 1 year ago

malessani commented 1 year ago

Description

This Feature will improve the way the Checkout is setting up and improve load time. We are going to decide if an order refresh is needed or not, based on a the following parameters:

In particular we can reference this flowchart:

flowchart LR
    A[Start] --> B{order.autorefresh?}
    B -- true --> C{Token type?}
    C -- Sales channel --> G
    C -- Customer token --> D{order.guest?}
    D -- false --> G[No refresh]
    D -- true --> F
    B -- false ----> F[Refresh sync]
malessani commented 1 year ago

:tada: This issue has been resolved in version 4.0.15 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: