Skip to content

v3.3.0

Compare
Choose a tag to compare
@seb86 seb86 released this 24 Mar 12:36
· 624 commits to dev since this release

What's New?

  • Enhancement: Appends the cart query (Load Cart from Session) to the checkout URL so when a user proceeds to the native checkout page from the native cart, it forces to load that same cart. - Guest Customers ONLY

This was added due to some circumstances the cart failed to load then after on the checkout page via normal means.

Tweaks

All custom headers introduced by CoCart with X- prefixes (no longer a recommended practice) now have a replacement. Please use the new headers listed below instead.

📢 All current X- prefixed headers will be removed in a future release of CoCart.

Previous Header New Header
X-CoCart-API CoCart-API-Cart-Key
X-CoCart-API-Timestamp CoCart-Timestamp
X-CoCart-API-Version CoCart-Version

For Developers

  • Introduced new filter cocart_use_cookie_monster to prevent destroying a previous guest cart and cookie before loading a new one via Load Cart from Session. Thanks to Alberto Abruzzo for contributing further feedback.

Dev note: Helps should you find the web browser is displaying the "Cookie was rejected because it is already expired." in the console log and the cart did not load again on refresh despite the session still being valid.