Add to basket not working

Questions around the TYPO3 integration and plugins
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
promptnet
Posts: 63
Joined: 24 Jul 2019, 12:22

Add to basket not working

Post by promptnet » 30 Jun 2022, 14:24

Hi,
products cannot be added to basket, and there is no error message in JS console. The modal opens but no product is added. And the basket is empty, too.
What could that be?

Aimeos: 22.4.3
TYPO3: 11.5.12
PHP: 7.4.30
Linux
Attachments
after-clicking-button.png
after-clicking-button.png (102.07 KiB) Viewed 4910 times
empty-basket.png
empty-basket.png (62.34 KiB) Viewed 4910 times

User avatar
aimeos
Administrator
Posts: 8057
Joined: 01 Jan 1970, 00:00

Re: Add to basket not working

Post by aimeos » 01 Jul 2022, 09:17

Do you have a custom catalog/detail template from earlier versions?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

promptnet
Posts: 63
Joined: 24 Jul 2019, 12:22

Re: Add to basket not working

Post by promptnet » 01 Jul 2022, 11:54

No. It's a new installation.

User avatar
aimeos
Administrator
Posts: 8057
Joined: 01 Jan 1970, 00:00

Re: Add to basket not working

Post by aimeos » 01 Jul 2022, 15:41

Do you use the latest release (22.4.4)? If not, can you please update and see if the problem persists?
If there's still a problem, the products might have missing prices for example.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

promptnet
Posts: 63
Joined: 24 Jul 2019, 12:22

Re: Add to basket not working

Post by promptnet » 01 Jul 2022, 17:29

Now, I have 22.4.4 but it still doesn't work.
Screenshot of prices is attached.
Attachments
price.png
price.png (71.45 KiB) Viewed 4865 times

User avatar
aimeos
Administrator
Posts: 8057
Joined: 01 Jan 1970, 00:00

Re: Add to basket not working

Post by aimeos » 05 Jul 2022, 08:38

We've tested with a fresh composer installation of the Aimeos TYPO3 distribution and all demo products can be added without problem:
https://github.com/aimeos/aimeos-typo3-dist

The problem must be somewhere in your product so please check stock level and categories of that product as well as the passed quantity. Also check in the network tab of the browser console if all data is passed correctly.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

promptnet
Posts: 63
Joined: 24 Jul 2019, 12:22

Re: Add to basket not working

Post by promptnet » 05 Jul 2022, 14:51

Ok, thanks, it was the stock level.
Is it possible to deactivate stock level check (globally or per article)?

User avatar
aimeos
Administrator
Posts: 8057
Joined: 01 Jan 1970, 00:00

Re: Add to basket not working

Post by aimeos » 05 Jul 2022, 14:55

You can add an empty stock level for each article which is then "unlimited".
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply