Jump to content

[SOLVED] Ajax cart: TECHNICAL ERROR: unable to add the product


Recommended Posts

Hi there,

 

for many weeks I have this problem when enabled the AJAX cart:

 

ajax.png

 

Of course I can disable it and the shop works fine, but I liked the AJAX cart.

 

I check in the forum as well as the bugtracker but I could not find a solution until now.

 

My shop is version 1.4.7 and you can see it here, with the AJAX cart DISABLED:

http://www.objektivtassen.ch/

 

Any help is highly appreciated!

 

Martin

Link to comment
Share on other sites

Thank you Mike again for your great help, this one finally did the trick:

 

Go to Class -FrontContoller.php and after:

//'content_dir' => $protocol_content.Tools::getServerName().__PS_BASE_URI__,

add:

'content_dir' => $protocol_content.(($useSSL)?Tools::getShopDomainSsl():Tools::getShopDomain()).__PS_BASE_URI__,

 

Hope this helps for others!

 

Martin

Link to comment
Share on other sites

×
×
  • Create New...