Hi everyone, salü hardworking moltin team,
I want to generate two different carts , one for shopping basket one for exemplary.
So I am using “@moltin/sdk”: “3.11.0”, and I try to match the youtube tutorial “Build a NextJS online store” https://www.youtube.com/watch?v=rmevNGXVK0c&list=PLci1bAwknnOSbWbkIIZ5D9tbNS6Og2lug
I know the Documentation
but didn’t get more knowledge
So my moltin.js file looks like this
Every time I’m typing in my reference in my Moltin.Cart(…) I got an error
Am I right to define two different addToCart 1 / 2 so one for adding to shopping one for exemplary basket ?
Do I have to change the parameters productId and quantity or are the general?
Here is my AddToCart.js file looks same like my wanted AddToMusterkorb (german word for exemplary basket)
Many many thanks in advance for help