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?
Add to cart - not working in detail view
-
- Phoca Enthusiast
- Posts: 85
- Joined: 13 Feb 2020, 17:49
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Add to cart - not working in detail view
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:
Because "Buy Now" button is other type of button which is used by external services.
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:
Because "Buy Now" button is other type of button which is used by external services.
If you find Phoca extensions useful, please support the project
-
- Phoca Enthusiast
- Posts: 85
- Joined: 13 Feb 2020, 17:49
Re: Add to cart - not working in detail view
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
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
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Add to cart - not working in detail view
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
- the type of button
- and the behaviour (standard or ajax)
Empty country list - you can import the countries in administration - in country list.
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Enthusiast
- Posts: 85
- Joined: 13 Feb 2020, 17:49
Re: Add to cart - not working in detail view
Japp, it was set to "Paddle" and that did not work.
As we only ship to 2 countrys I´ve entered them by hand
As we only ship to 2 countrys I´ve entered them by hand
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Add to cart - not working in detail view
Ok
If you find Phoca extensions useful, please support the project