Page 1 of 1

Add to cart - not working in detail view

Posted: 03 Dec 2021, 19:14
by MAXambient
Hi Jan!

Last question for today: I can add products to the cart from the category view, but the "Buy now" button is not working in the product view.
It says:
Produkt nicht in den Warenkorb gelegt
Product not added to shopping cart

Produkt nicht gewählt
Product not selected

Any idea, what I´ve made wrong?

Re: Add to cart - not working in detail view

Posted: 04 Dec 2021, 15:16
by Jan
Hi, can you paste a screenshot here of where the message is displayed?

This message is very rare message and only displayed in case that the controller does not get ID of product. This means when you add the product to cart, it does not get the ID of this product, which is very unlikely in item view.

When you speak about "Buy now" button, do you use standard add to cart button:

Image

Because "Buy Now" button is other type of button which is used by external services.

Re: Add to cart - not working in detail view

Posted: 06 Dec 2021, 10:58
by MAXambient
Hi Jan!

I´ve checked and the "Buy" option was set to Ajax. After changing to standard, it seems to work. Only the List of countrys is empty now and I will fill it to check finally, if evrything is working fine :-)

But see screenshots how it was before
https://bizkom.de/screenshots/Screen-Overview.jpg
https://bizkom.de/screenshots/Screen-Detail.jpg

Re: Add to cart - not working in detail view

Posted: 06 Dec 2021, 18:42
by Jan
Hi, there are two parameters for "add to cart"

- the type of button
- and the behaviour (standard or ajax)

Empty country list - you can import the countries in administration - in country list.

Jan

Re: Add to cart - not working in detail view

Posted: 06 Dec 2021, 18:49
by MAXambient
Japp, it was set to "Paddle" and that did not work.
As we only ship to 2 countrys I´ve entered them by hand :-)

Re: Add to cart - not working in detail view

Posted: 06 Dec 2021, 19:01
by Jan
Ok