lunarphp / lunar

An open-source package that brings the power of modern headless e-commerce functionality to Laravel.
https://lunarphp.io
MIT License
2.71k stars 357 forks source link

Fix cart merging - old cart should merge into new one #1920

Closed ryanmitchell closed 2 months ago

ryanmitchell commented 3 months ago

This PR fixes cart merging (lunar.cart.auth_policy: merge) to ensure that the current cart session is the one that has the line items applied to it, before this PR it was being applied to the old cart which didn't make sense.

vercel[bot] commented 3 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
lunar-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 21, 2024 2:56pm