Jump to content

[SOLVED] Unable to add products to basket


Recommended Posts

Hello,

Here again, the last thing didn't resolve the problem.

 

On most systems and browser it's unable to add a product to the basket.

Tried in ff, ie, and chrome but it doesn't work. It loads and then when he's done the basket is still empty.

Last night i tried with my phone (android mobile safari 4.0) and there it worked, but when i use ff on my android, it doesn't work.

How can i found out where this problem is coming from?

Prestashop 1.4.7 (test site on www.dj-paul.net)

 

p.s., cleared the cookies, still no effect..

p.s.2 there is 1 product on it (Licht -> Licht effecten & Led -> Led effect)

 

Thanks!

Paul

Link to comment
Share on other sites

Well, just tried that. The block looks better now and the ajax works again.

But unfotunaly that was not the solution.

Still nothing. I will try to add more products, maybe there is something wrong with that product.

 

Let you know!

Link to comment
Share on other sites

I keep having to reset the Ajax in the shopping cart in order to be able to add products to the basket for some reason it keeps on failing and after disabling and enabling ajax again it works again but i am not sure for how long. this has become a daily routine now and i am suspecting something to do with the images on the site so if anybody has found a solution to this bug i would really appreciate some help or pointing me in the right direction.

thanks

Dimitri

[email protected]

Link to comment
Share on other sites

There where several errors, most of them could find a jquery script.

So i checked the files and they where not there. After copying most errors where gone.

Now i still have 2 errors:

1. Uncaught TypeError: Object #<Object> has no method 'pngFix'
2. Uncaught TypeError: Object #<Object> has no method 'Tooltip'
3. 4event.layerX and event.layerY are broken and deprecated in WebKit. They will be removed from the engine in the near future.

 

First 2 are not that bad, but i don't know the last one....

Link to comment
Share on other sites

last one is normal, is a advert of google chrome. You can remove adding this javascript in the header.tpl

 

<script type="text/javascript">/*<![CDATA[*/(function(){
   // remove layerX and layerY
   var all = $.event.props,
    len = all.length,
    res = [];
   while (len--) {
  var el = all[len];
  if (el != 'layerX' && el != 'layerY') res.push(el);
   }
   $.event.props = res;
}());/*]]>*/</script>

Link to comment
Share on other sites

Hello,

Can somebody from prestashop maybe help me? I tried everything and did some debugging with firebug.

All i get is:

http://www.dj-paul.net/cart.php?add=1&ajax=true&id_product=14&qty=1&token=9946d856e89cb648959bb455b1caebb5

add 1 ajax true id_product 14 qty 1 token

9946d856e89cb648959bb455b1caebb5

 

No further errors or what so ever.

Could somebody please assist, i can't go further now...

 

Regards,

Paul

Link to comment
Share on other sites

  • 1 month later...

Problem is solved. deu to the importer for oscommerce.

That importer added some fields to the database which had no default value.

In this case it went wrong and no field was added...

So case closed... thanks for the support!!!

Link to comment
Share on other sites

×
×
  • Create New...