Comments (1)
This scenario is currently not covered, only these: https://vanilo.io/docs/0.3/cart#associating-with-users
It conflicts with the current approach since the current strategy is to keep the cart with the session.
I would say what you're describing is a different strategy (keep the cart with the user) and I've seen this quite many times, so it also makes perfect sense.
It would work like this: if the user logs out, the cart (what the user sees in the browser) becomes empty, but if logs back in (even on another device) the cart will be reverted to the last state.
Do I understand correctly? If yes, then I think I'll add it as a new feature. To also keep the current behavior, you'll be able to choose between the strategies in the configuration (eg. vanilo.cart.keep_with
either session or user.
from framework.
Related Issues (20)
- Route [appshell.xoxoxo.xoxo] not found HOT 2
- Extending values in app setting HOT 5
- Master Products cannot allocate attributes HOT 3
- Issue with User permissions on new install HOT 2
- zones table is missing but referenced...? HOT 2
- How to get access to the sponsor slack channel? HOT 2
- No vanilo.php configuration file exists HOT 1
- option merge_duplicates delete the user cart HOT 2
- cart item adjustable HOT 3
- withTrashed()-method for route model binding isn't working with Vanilo HOT 6
- Do you plan to release the Vanilo Ecommerce Rest API for self-hosted installs? HOT 1
- Create GitHub release for each new version HOT 3
- Change visibility of `ProductSearch` properties from `private` to `proteced` HOT 2
- ArrayAccess implementation depreciation notice HOT 1
- OrderItem returns product of wrong type HOT 6
- OrderProcessingStarted is never triggered HOT 3
- Cant see all of FormRequest files HOT 1
- When can we expect version 4? HOT 4
- Question: link a user to a customer?
- Links module problem
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from framework.