User1234567891 Posted October 22, 2010 Share Posted October 22, 2010 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 More sharing options...
shokinro Posted October 22, 2010 Share Posted October 22, 2010 I also have seen the same symptom on my website.I guess it is created by search engine Web Crawler (Web Spider), no worries are required. Link to comment Share on other sites More sharing options...
rocky Posted October 23, 2010 Share Posted October 23, 2010 It is probably search engines crawling your sites and creating all the carts. PrestaShop v1.4 has code to prevent this happening. Until it is released, see here for code you can add to stop it happening. Link to comment Share on other sites More sharing options...
User1234567891 Posted October 31, 2010 Author Share Posted October 31, 2010 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 More sharing options...
shokinro Posted October 31, 2010 Share Posted October 31, 2010 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 More sharing options...
tomerg3 Posted October 31, 2010 Share Posted October 31, 2010 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 More sharing options...
shokinro Posted October 31, 2010 Share Posted October 31, 2010 Based on my experience, if you put your page at disallow line in robots.txt, most famous engine (include Google) will follow the rule. But it will take for a while (days maybe weeks) for the new rules to be spread out to all search engine crawlers. Link to comment Share on other sites More sharing options...
tomerg3 Posted October 31, 2010 Share Posted October 31, 2010 I had it set to disallow cart.php from the day I launched the site, but I would still see them crawling (when looking at the server logs) Link to comment Share on other sites More sharing options...
shokinro Posted October 31, 2010 Share Posted October 31, 2010 I had it set to disallow cart.php from the day I launched the site, but I would still see them crawling (when looking at the server logs) Did your log indicate crawler is from the Google? I don't know why, it seems the disallow worked for me. Link to comment Share on other sites More sharing options...
tomerg3 Posted November 1, 2010 Share Posted November 1, 2010 Yes it was from Google. Link to comment Share on other sites More sharing options...
shokinro Posted November 1, 2010 Share Posted November 1, 2010 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 More sharing options...
Recommended Posts