Clear customers cart

  • Posts: 245
  • Thank you received: 11
  • Hikashop Business
11 months 3 weeks ago #347603

Is there any config to clear customers cart history after 30 days?

Please Log in or Create an account to join the conversation.

  • Posts: 80502
  • Thank you received: 12829
  • MODERATOR
11 months 3 weeks ago #347606

Hi,

You have settings for that in the HikaShop configuration:
www.hikashop.com/support/documentation/5...g.html#advanced_main

Please Log in or Create an account to join the conversation.

  • Posts: 245
  • Thank you received: 11
  • Hikashop Business
11 months 2 weeks ago #347626

I have settings 1 week, but carts remains 1year.

Please Log in or Create an account to join the conversation.

  • Posts: 80502
  • Thank you received: 12829
  • MODERATOR
11 months 2 weeks ago #347628

Hi,

Can you provide a screenshot of the cart retaining settings in the HikaShop configuration ?
Also, how many carts do you have ?
Note that the setting only delete them 50 by 50, so if you have thousands of carts, this might take a while based on these settings.

Please Log in or Create an account to join the conversation.

  • Posts: 245
  • Thank you received: 11
  • Hikashop Business
11 months 2 weeks ago #347632

I have new cart entry every minute. So a lot. I think that some bot enters data.
Now I cleared table in database and set config to 5 days.

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 80502
  • Thank you received: 12829
  • MODERATOR
11 months 2 weeks ago #347634

Him

If you configure the freauency to 1 day, it means that every day, it will delete 50 carts. But if you have 1 new cart every minute, then it means you will get more new carts than carts are being deleted. So it will just keep on piling up.
You should reduce the frequency like 1 every minute. That way, it will delete a lot more old carts every day and it should keep up with the new carts being created.

Please Log in or Create an account to join the conversation.

  • Posts: 245
  • Thank you received: 11
  • Hikashop Business
11 months 2 weeks ago #347643

Ok, now I get the logic ;)

Have any idea how to stop bots to create carts? As I see most IP is from msn bot.

Please Log in or Create an account to join the conversation.

  • Posts: 4349
  • Thank you received: 587
  • MODERATOR
11 months 2 weeks ago #347644

Hello,

You get how to proceed in such case from old forum subject, here .
Hope this will help you to prevent this.

Regards

Last edit: 11 months 2 weeks ago by Philip.

Please Log in or Create an account to join the conversation.

  • Posts: 245
  • Thank you received: 11
  • Hikashop Business
11 months 2 weeks ago #347672

The only working thing was htaccess block of bingbot.

Please Log in or Create an account to join the conversation.

Time to create page: 0.083 seconds
Powered by Kunena Forum