Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Suggestion] - Allow different product model #36

Open
thomascenni opened this issue Nov 8, 2021 · 0 comments
Open

[Suggestion] - Allow different product model #36

thomascenni opened this issue Nov 8, 2021 · 0 comments

Comments

@thomascenni
Copy link
Collaborator

Hello,
With the actual implementation of one CART_PRODUCT_MODEL, it is impossible to add to the shopping cart an item like a "shipment cost", because this is something you calculate based on some inputs and is not a product (should not be stored in the same product Model).
As a workaround, I am using two carts, one for the products and one only for the shipment, where the shipment uses a different product model. I had to modify Cart class and also the template tags.
The suggestion would be to use the variable "session_key" not only to address different carts of the same model (as today), but to point directly to the model you want to use. Do you think it is possible ? Do you have any other suggestion ? Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant