vickthikor Posted August 14, 2015 Share Posted August 14, 2015 Hola a todos, Yo también tengo el mismo problema entran Carritos de la compra fantasmas y no se que hacer para solucionarlo. ¿alguien a encontrado una solución que le funcione? utilizo prestashop 1.5.6.2 ------------------------------------------------------------- Hello everyone, I also have the same problem come the ghosts shopping carts and not to do to fix it. Can someone to find a solution that works for you? I use prestashop 1.5.6.2 Link to comment Share on other sites More sharing options...
Tanatus Posted October 19, 2015 Share Posted October 19, 2015 Noone has any ideas how to solve this issue? Presta developers? Any? Link to comment Share on other sites More sharing options...
vickthikor Posted October 20, 2015 Share Posted October 20, 2015 si, existe una solución. tendrías que bloquear una IP con el archivo .htaccess El archivo .htaccess esta en la parte principal de tu hosting. tienes que editar el archivo y escribir lo siguiente al principio de este archivo: order allow,deny deny from 101.78.195.36 deny from 111.118.248.222 allow from all En este caso tengo en bloque 2 IP. Primero tendrás que descubrir cuales son la IP que te atacan y hacen esos carritos abandonados. y segundo tendrás que añadir las IP al archivo .htaccess Un saludo 1 Link to comment Share on other sites More sharing options...
Tanatus Posted October 20, 2015 Share Posted October 20, 2015 I think the real question is "Why are all these robots abandoning their carts?" Maybe they found a better deal elsewhere? It would be a nice extra profit Link to comment Share on other sites More sharing options...
hakeryk2 Posted March 16, 2016 Share Posted March 16, 2016 I am having same issue on 1.6.14 but my bot is creating everyday something about 500 carts. I would love to ban this bot in htaccess but I want to deny only cart urls for this bot. Is this possible? Just in case that this bot will be an indexing one. In my case I have bot IP which is 38.99.82.232 and how to block access only for url which contains word "koszyk" (in polish this means a cart). Any help? Link to comment Share on other sites More sharing options...
Gipielle Posted March 18, 2016 Share Posted March 18, 2016 I think blocking ip isn't a solution, all solutions from prestashop doesn't works, we have ps 1.5, and the problem is still present in ps 1.6.14 wow ! Link to comment Share on other sites More sharing options...
Tanatus Posted April 19, 2016 Share Posted April 19, 2016 Robots always generate carts (PS 1.6.14) on the homepage in "new products" area. So, when you add the new product it will definitely become a "cart" this or the next day. Link to comment Share on other sites More sharing options...
hakeryk2 Posted April 20, 2016 Share Posted April 20, 2016 @Tanatus I don't have this but I am having 1.6.1.4 but the truth is simple - check apache logs and look for cart creation time and get IP, later on block this IP in htaccess. Worked for me. Link to comment Share on other sites More sharing options...
Gipielle Posted April 28, 2016 Share Posted April 28, 2016 @Tanatus I don't have this but I am having 1.6.1.4 but the truth is simple - check apache logs and look for cart creation time and get IP, later on block this IP in htaccess. Worked for me. This is not a good solution Link to comment Share on other sites More sharing options...
Andrei Gapejev Posted September 29, 2017 Share Posted September 29, 2017 hi All, in my case there were bots coming from different ips. But - from apache logs found they used same token, so solution was - forwarding all requests to front page with this token inside url query Hope this helps Link to comment Share on other sites More sharing options...
obewanz Posted December 30, 2018 Share Posted December 30, 2018 On 9/29/2017 at 2:30 PM, Andrei Gapejev said: hi All, in my case there were bots coming from different ips. But - from apache logs found they used same token, so solution was - forwarding all requests to front page with this token inside url query Hope this helps Can you provide more detail on the solution Andrei? Was it using htaccess or did you do something within Prestashop code to accomplish this? Thank You! Link to comment Share on other sites More sharing options...
Andrei Gapejev Posted January 9, 2019 Share Posted January 9, 2019 On 12/31/2018 at 12:24 AM, obewanz said: Can you provide more detail on the solution Andrei? Was it using htaccess or did you do something within Prestashop code to accomplish this? Thank You! Following code in htaccess file blocked requests without proper user agent setting: # BLOCK BLANK USER AGENTS - POST RewriteCond %{HTTP_USER_AGENT} ^-?$ RewriteCond %{THE_REQUEST} POST RewriteRule ^ - [F] Following code in htaccess blocks users without referrer: # BLOCK UNKNOWN REFERRER - POST RewriteCond %{QUERY_STRING} controller=contact RewriteCond %{HTTP_REFERER} !yoursite.com RewriteCond %{THE_REQUEST} POST RewriteRule ^ - [F] Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now