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

Change how the cart can be cutomized #103

Open
Tobi-De opened this issue Sep 18, 2023 · 0 comments · May be fixed by #104
Open

Change how the cart can be cutomized #103

Tobi-De opened this issue Sep 18, 2023 · 0 comments · May be fixed by #104
Labels
enhancement New feature or request

Comments

@Tobi-De
Copy link
Owner

Tobi-De commented Sep 18, 2023

Right now the to override or add features to how the cart is processed, you need to inherit from a class and redeclare which class need to be used to create new carts, I think there is a better way of doing this.
Basicly this https://github.com/dinoperovic/django-salesman/blob/master/salesman/basket/modifiers.py
Composition over inheritance

@Tobi-De Tobi-De added the enhancement New feature or request label Sep 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
1 participant