Page 1 of 2

Phoca Cart 6.1.3 - Products not adding to cart after update

Posted: 22 Jul 2026, 19:57
by Serebro2ew
Hi all,

I'm running into a serious issue after updating Phoca Cart from 6.1.1 to 6.1.3. The "Add to Cart" button no longer works. Clicking it does nothing, and items cannot be added to the shopping cart.

I've checked the component settings and permissions, and everything seems to be in order. I also made sure that the "Add to Cart" feature is enabled for the products.

Could this be a bug introduced in 6.1.3? Is there a hotfix or a workaround available? I would really appreciate any help or pointers.

Thanks!

Re: Phoca Cart 6.1.3 - Products not adding to cart after update

Posted: 22 Jul 2026, 20:16
by Serebro2ew
2. Database structure warnings – in the component's database check, I see the following:
· Table jsonIOv5g_phocascart_attributes has an incorrect type or attributes for column published (int) from file 4.0.8.sql.
· 277 database changes checked, 48 changes were skipped because they did not change the table structure.

Re: Phoca Cart 6.1.3 - Products not adding to cart after update

Posted: 22 Jul 2026, 22:00
by Serebro2ew
Astroid Framework
Framework Version: 3.4.2
Template Version: 1.0.6

Версия PHP 8.2.31
Версия Joomla Joomla! 5.4.7 Stable [ Kutegemea ] 7-July-2026 16:00 GMT

Re: Phoca Cart 6.1.3 - Products not adding to cart after update

Posted: 23 Jul 2026, 00:32
by Serebro2ew
switched my site to the default Cassiopeia template to rule out theme conflicts, but the issue persists. Products still cannot be added to the cart. Clicking the add button does nothing

Re: Phoca Cart 6.1.3 - Products not adding to cart after update

Posted: 23 Jul 2026, 02:46
by Nidzo
Check phocacart_attributes table in your database using phpMyAdmin and look for published

`id` int(11) NOT NULL AUTO_INCREMENT,
`product_id` int(11) NOT NULL,
`title` varchar(255) NOT NULL DEFAULT '',
`alias` varchar(255) NOT NULL DEFAULT '',
`required` tinyint(1) NOT NULL DEFAULT '0',
`type` tinyint(1) NOT NULL DEFAULT '0',
`attribute_template` int(11),
`is_filter` int(11) NOT NULL DEFAULT 1,
`published` int(1) NOT NULL DEFAULT '1',
`checked_out` int unsigned,
`checked_out_time` datetime,
`ordering` int(11) NOT NULL DEFAULT '0',
`date` datetime NOT NULL,
`params` text,
`language` char(7) NOT NULL DEFAULT '',
PRIMARY KEY (`id`),
KEY `idx_product` (`product_id`),
KEY `idx_alias` (`alias`),
KEY `idx_language` (`language`)


Image

Re: Phoca Cart 6.1.3 - Products not adding to cart after update

Posted: 23 Jul 2026, 04:50
by Serebro2ew
I have verified the table schema, and the field published defined as int(1) NOT NULL DEFAULT '1' is correct and matches the required specification.

Re: Phoca Cart 6.1.3 - Products not adding to cart after update

Posted: 23 Jul 2026, 05:25
by Serebro2ew

Re: Phoca Cart 6.1.3 - Products not adding to cart after update

Posted: 23 Jul 2026, 11:31
by Serebro2ew
In Console F 12 onClick: Request URL
https:///component/phocacart/?task=checkout.add&format=json&f2d65e4fbb4355e59bcc9dacfd54c6ec=1&checkoutview=0
Request Method
POST
Status Code
301 Moved Permanently
Remote Address
31.31.196.240:443
Referrer Policy
strict-origin-when-cross-origin

Re: Phoca Cart 6.1.3 - Products not adding to cart after update

Posted: 23 Jul 2026, 11:54
by Serebro2ew
Hello everyone,

The "Add to cart" button uses an AJAX POST request to:
/component/phocacart/?task=checkout.add&format=json&...
The request returns a 301 Moved Permanently redirect to:
/component/phocacart.html?task=checkout.add&...
Because of the redirect, the browser changes the POST to GET, so the cart never gets updated.
What I tried:

Temporarily disabled "Search Engine Friendly URLs" in Global Configuration → Site → SEO. After that, the cart worked perfectly.
Re-enabled SEF URLs – the problem came back.

I want to keep SEF URLs enabled

Re: Phoca Cart 6.1.3 - Products not adding to cart after update

Posted: 23 Jul 2026, 13:46
by Nidzo
Try to leave SEO friendly URL on and disable SEF plugin in plugins.