Jump to content

Fake orders in cart


Recommended Posts

I am wondering....

Every day items are placed in the cart. Not just one item. But an item every 20 seconds or so.
whoever is placing these products in the cart is never proceeding through checkout.

Could this be spam? Is there anywhere i can see whether this is one person/ip who is doing this?

Or maybe spambots also place products in the cart?

Hopefully somebody also encountered this and is able to help me out.

Thanks!

Link to comment
Share on other sites

  • 2 weeks later...

I have addes the robots.txt file and still the fake orders are placed in the cart.

So my guess is it ar spambots. Is there a way to stop this from happing? How can i check out the ip address which is chucking in fake orders in the cart?

Can i add these ip addresses to the robots.txt?

Thanks!

Link to comment
Share on other sites

robots.txt only works for the those crawlers with good manner. Some bad crawlers just ignore your robots.txt.
And there are more and more crawlers comes out everyday, so there is no perfect way to 100% prevent this from happening.

In stead of IP addresses, you can use the names of crawlers to disallow them. Here is some info you can refer.
http://support.microsoft.com/kb/217103

I have addes the robots.txt file and still the fake orders are placed in the cart.

I don't think crawlers will create orders, they only create carts, not orders. PrestaShop does great job because it only create order when user comes back from payment page.
Link to comment
Share on other sites

I have posted code in another thread with a solution to this (Rocky posted a link to it in his replay 3 messages above).

It seems that Search engines (even google) crawl pages from the robots.txt, they may not add them to the index, but they still crawl it.

The fix I made checks to see if cart.php is being accessed by any of the main search engines, and if it is, it redirects them to the homepage (301 redirect) before a new cart is actually created.

Link to comment
Share on other sites

I just checked my log again, Google's bot last visit my cart.php was August 14, two and half months ago. After that, there is no log entry from google bot. I don't remember I have done anything special. But I manage my site on Google's webmaster tool. I don't know if this make any different.

By the way, your fix that use some code to redirect bots to home page is a good approach. It will reduce most of fake cart entries.

Link to comment
Share on other sites

×
×
  • Create New...