Jump to content

Problem/bug with disabled ajax cart in version 1.5


Recommended Posts

Hi,

 

In the new version 1.5, When the ajax cart is disabled. The "add to cart" does not work in category /product-list page. The products can't be added to cart from category page, but can be added to cart from product detail page.

 

And,

 

In my code, I want use

 

intval(Tools::getValue('id_product'))

 

to get id_product, it always return to 0. Then I put debug code:

 

print_r($_GET);

 

it returns: Array ( [controller] => cart [add&id_product=11&token=26a36b71f56844abbae502a5175a2454] => )

 

So it is totally wrong with this the url encoding. It worked well in 1.4x version and it seems like a bug in this new 1.5 version.

 

Any ideas to resolve this issue?

 

Thanks.

Link to comment
Share on other sites

  • 3 weeks later...
  • 2 weeks later...
×
×
  • Create New...