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

Add items to cart in buk via Shop API mutation #3441

Open
martijnvdbrug opened this issue Mar 26, 2025 · 0 comments
Open

Add items to cart in buk via Shop API mutation #3441

martijnvdbrug opened this issue Mar 26, 2025 · 0 comments
Assignees

Comments

@martijnvdbrug
Copy link
Collaborator

Is your feature request related to a problem? Please describe.

We would like to be able to add items to order in bulk, so that we can send links to customers that add a set of products to cart. E.g. shop.com/cart/add=1,2,3 will add variants 1, 2 and 3 to cart.

Describe the solution you'd like

The internal logic is already available in OrderService.addItemsToOrder(), it just needs to be exposed in the Shop API

Describe alternatives you've considered

Implement it in in our project, but it feels this should be available in core.

Additional context

I am willing to implement this, if it is agreed that it belongs in @vendure/core.

@martijnvdbrug martijnvdbrug self-assigned this Mar 26, 2025
@martijnvdbrug martijnvdbrug changed the title [Willing to implement this myself] - Add items to cart in buk Add items to cart in buk via Shop API mutation Mar 26, 2025
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