[Skip to main content](#vessel-content)

#   \[SOLVED\] How can people create an empty cart without add to cart button

##

- **[nico.van.leeuwen](/forum/user/12404-nico-van-leeuwen "View nico.van.leeuwen's Profile")**
- [![nico.van.leeuwen's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar_2012-12-17-2.jpg)](/forum/user/12404-nico-van-leeuwen "View nico.van.leeuwen's Profile") Topic Author
- [ Offline](/forum/user/12404-nico-van-leeuwen)

Less More

- Posts: 343
- Thank you received: 28
-
-
- [](http://www.delinie-ict.nl)
-

9 years 4 months ago -  9 years 3 months ago [\#272456](#272456) by [nico.van.leeuwen](/forum/user/12404-nico-van-leeuwen "View nico.van.leeuwen's Profile")  *[\[SOLVED\] How can people create an empty cart without add to cart button](/forum/27-checkout/890838-solved-how-can-people-create-an-empty-cart-without-add-to-cart-button#272456 "-- url of the page with the problem -- :   www.dfcgrootverbruik.nl/shop  -- HikaShop version -- : 3.1.1 -- Joomla version -- : 3.7.2 -- PHP version -- : 7.0.20  Hi, In our shop only people with an account can see prices, they are using an ACL on the price. Others would normally see a free price but we changed that to an icon and a link to another webshop. In the shop we have hidden the add to cart button by hiding the add to cart button for free products.  For some strange reason there is somebody/something that is creating a lot of empty carts with no registration. It looks like this :  Anyone know how to stop this from happening? Looks like a bot but is very annoying because we monitor the carts for our customers and all the empty carts are really irritating.  Thanks for any tips.")* was created by *[nico.van.leeuwen](/forum/user/12404-nico-van-leeuwen "View nico.van.leeuwen's Profile")*

-- url of the page with the problem -- : [ www.dfcgrootverbruik.nl/shop](https://www.dfcgrootverbruik.nl/shop)
-- HikaShop version -- : 3.1.1
-- Joomla version -- : 3.7.2
-- PHP version -- : 7.0.20

Hi,
In our shop only people with an account can see prices, they are using an ACL on the price. Others would normally see a free price but we changed that to an icon and a link to another webshop.
In the shop we have hidden the add to cart button by hiding the add to cart button for free products.

For some strange reason there is somebody/something that is creating a lot of empty carts with no registration.
It looks like this :
[ ![cart-empty.jpg](/forum/attachment/38818) ](/forum/attachment/38818 "cart-empty.jpg")

Anyone know how to stop this from happening?
Looks like a bot but is very annoying because we monitor the carts for our customers and all the empty carts are really irritating.

Thanks for any tips.

- [ ![cart-empty.jpg](/forum/attachment/38818) ](/forum/attachment/38818 "cart-empty.jpg") [ ](/forum/attachment/38818?download=1 "cart-empty.jpg")

Last edit: 9 years 3 months ago by [nico.van.leeuwen](/forum/user/12404-nico-van-leeuwen "View nico.van.leeuwen's Profile"). Reason: solved

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5MDgzOC1zb2x2ZWQtaG93LWNhbi1wZW9wbGUtY3JlYXRlLWFuLWVtcHR5LWNhcnQtd2l0aG91dC1hZGQtdG8tY2FydC1idXR0b24/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86326
- Thank you received: 14288
-
-

9 years 4 months ago [\#272474](#272474) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[How van people create an empty cart without add to cart button](/forum/27-checkout/890838-solved-how-can-people-create-an-empty-cart-without-add-to-cart-button#272474 "-- url of the page with the problem -- :   www.dfcgrootverbruik.nl/shop  -- HikaShop version -- : 3.1.1 -- Joomla version -- : 3.7.2 -- PHP version -- : 7.0.20  Hi, In our shop only people with an account can see prices, they are using an ACL on the price. Others would normally see a free price but we changed that to an icon and a link to another webshop. In the shop we have hidden the add to cart button by hiding the add to cart button for free products.  For some strange reason there is somebody/something that is creating a lot of empty carts with no registration. It looks like this :  Anyone know how to stop this from happening? Looks like a bot but is very annoying because we monitor the carts for our customers and all the empty carts are really irritating.  Thanks for any tips.")*

Hi,

It's probably the search engines crawling your pages and finding the add to cart links, trying them, etc.
We've actually added a patch 2 days ago so that crawlers ignore the add to cart links which should reduce that behavior.
You can also modify the robots.txt file of your website to forbid the add to cart URLs for the crawlers and that should be even better.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5MDgzOC1zb2x2ZWQtaG93LWNhbi1wZW9wbGUtY3JlYXRlLWFuLWVtcHR5LWNhcnQtd2l0aG91dC1hZGQtdG8tY2FydC1idXR0b24/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[nico.van.leeuwen](/forum/user/12404-nico-van-leeuwen "View nico.van.leeuwen's Profile")**
- [![nico.van.leeuwen's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar_2012-12-17-2.jpg)](/forum/user/12404-nico-van-leeuwen "View nico.van.leeuwen's Profile") Topic Author
- [ Offline](/forum/user/12404-nico-van-leeuwen)

Less More

- Posts: 343
- Thank you received: 28
-
-
- [](http://www.delinie-ict.nl)
-

9 years 4 months ago [\#272682](#272682) by [nico.van.leeuwen](/forum/user/12404-nico-van-leeuwen "View nico.van.leeuwen's Profile")  Replied by *[nico.van.leeuwen](/forum/user/12404-nico-van-leeuwen "View nico.van.leeuwen's Profile")* on topic *[How van people create an empty cart without add to cart button](/forum/27-checkout/890838-solved-how-can-people-create-an-empty-cart-without-add-to-cart-button#272682 "-- url of the page with the problem -- :   www.dfcgrootverbruik.nl/shop  -- HikaShop version -- : 3.1.1 -- Joomla version -- : 3.7.2 -- PHP version -- : 7.0.20  Hi, In our shop only people with an account can see prices, they are using an ACL on the price. Others would normally see a free price but we changed that to an icon and a link to another webshop. In the shop we have hidden the add to cart button by hiding the add to cart button for free products.  For some strange reason there is somebody/something that is creating a lot of empty carts with no registration. It looks like this :  Anyone know how to stop this from happening? Looks like a bot but is very annoying because we monitor the carts for our customers and all the empty carts are really irritating.  Thanks for any tips.")*

Hi,
I've updated to the last version but still they find a way to add "nothing" to the cart and leave.

It would be nice if the IP address is added to the list of carts, then it's easier to try and find these jokers and stop this useless behaviour.
Any tips on that ?

I'm working on the robot.txt file but it's a bit hard when you don't know who to block :blink: So it's going through logfiles etc. to see if I can find anything.

Thanks for any tips/suggestions.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5MDgzOC1zb2x2ZWQtaG93LWNhbi1wZW9wbGUtY3JlYXRlLWFuLWVtcHR5LWNhcnQtd2l0aG91dC1hZGQtdG8tY2FydC1idXR0b24/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86326
- Thank you received: 14288
-
-

9 years 4 months ago [\#272700](#272700) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[How van people create an empty cart without add to cart button](/forum/27-checkout/890838-solved-how-can-people-create-an-empty-cart-without-add-to-cart-button#272700 "-- url of the page with the problem -- :   www.dfcgrootverbruik.nl/shop  -- HikaShop version -- : 3.1.1 -- Joomla version -- : 3.7.2 -- PHP version -- : 7.0.20  Hi, In our shop only people with an account can see prices, they are using an ACL on the price. Others would normally see a free price but we changed that to an icon and a link to another webshop. In the shop we have hidden the add to cart button by hiding the add to cart button for free products.  For some strange reason there is somebody/something that is creating a lot of empty carts with no registration. It looks like this :  Anyone know how to stop this from happening? Looks like a bot but is very annoying because we monitor the carts for our customers and all the empty carts are really irritating.  Thanks for any tips.")*

Hi,

The IP address is not stored with carts so I don't see any easy solution to get the IP address.
But anyway, in the robots.txt you don't need the IP address.
You need to add the URL folders that you want to block.
For example: Code:

User-agent: * Disallow: */product/updatecart/add-1/cid-*

The following user(s) said Thank You: [patrick.chappuis](/forum/user/28712-patrick-chappuis "View patrick.chappuis's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5MDgzOC1zb2x2ZWQtaG93LWNhbi1wZW9wbGUtY3JlYXRlLWFuLWVtcHR5LWNhcnQtd2l0aG91dC1hZGQtdG8tY2FydC1idXR0b24/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[nico.van.leeuwen](/forum/user/12404-nico-van-leeuwen "View nico.van.leeuwen's Profile")**
- [![nico.van.leeuwen's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar_2012-12-17-2.jpg)](/forum/user/12404-nico-van-leeuwen "View nico.van.leeuwen's Profile") Topic Author
- [ Offline](/forum/user/12404-nico-van-leeuwen)

Less More

- Posts: 343
- Thank you received: 28
-
-
- [](http://www.delinie-ict.nl)
-

9 years 3 months ago [\#273907](#273907) by [nico.van.leeuwen](/forum/user/12404-nico-van-leeuwen "View nico.van.leeuwen's Profile")  Replied by *[nico.van.leeuwen](/forum/user/12404-nico-van-leeuwen "View nico.van.leeuwen's Profile")* on topic *[How van people create an empty cart without add to cart button](/forum/27-checkout/890838-solved-how-can-people-create-an-empty-cart-without-add-to-cart-button#273907 "-- url of the page with the problem -- :   www.dfcgrootverbruik.nl/shop  -- HikaShop version -- : 3.1.1 -- Joomla version -- : 3.7.2 -- PHP version -- : 7.0.20  Hi, In our shop only people with an account can see prices, they are using an ACL on the price. Others would normally see a free price but we changed that to an icon and a link to another webshop. In the shop we have hidden the add to cart button by hiding the add to cart button for free products.  For some strange reason there is somebody/something that is creating a lot of empty carts with no registration. It looks like this :  Anyone know how to stop this from happening? Looks like a bot but is very annoying because we monitor the carts for our customers and all the empty carts are really irritating.  Thanks for any tips.")*

Hi, just a quick update for anyone having the same issue :

This is what I still see in the access logs:
msnbot-207-46-13-61.search.msn.com - - [12/Jul/2017:14:17:35 +0200] "GET /shop/product/updatecart/add-1/cid-10194 HTTP/1.1" 303 20 "-" "Mozilla/5.0 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm)"

Even while having the suggested line in the robots.txt file.

I think that stronger measures are needed ![:)](/media/kunena/emoticons/3.png ":)")

Maybe somebody another tip on this?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5MDgzOC1zb2x2ZWQtaG93LWNhbi1wZW9wbGUtY3JlYXRlLWFuLWVtcHR5LWNhcnQtd2l0aG91dC1hZGQtdG8tY2FydC1idXR0b24/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86326
- Thank you received: 14288
-
-

9 years 3 months ago [\#273909](#273909) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[How van people create an empty cart without add to cart button](/forum/27-checkout/890838-solved-how-can-people-create-an-empty-cart-without-add-to-cart-button#273909 "-- url of the page with the problem -- :   www.dfcgrootverbruik.nl/shop  -- HikaShop version -- : 3.1.1 -- Joomla version -- : 3.7.2 -- PHP version -- : 7.0.20  Hi, In our shop only people with an account can see prices, they are using an ACL on the price. Others would normally see a free price but we changed that to an icon and a link to another webshop. In the shop we have hidden the add to cart button by hiding the add to cart button for free products.  For some strange reason there is somebody/something that is creating a lot of empty carts with no registration. It looks like this :  Anyone know how to stop this from happening? Looks like a bot but is very annoying because we monitor the carts for our customers and all the empty carts are really irritating.  Thanks for any tips.")*

Hi,

Bingbot is supposed to honor the robots.txt rules:
[ blogs.bing.com/webmaster/2012/05/03/to-c...is-bingbots-question](https://blogs.bing.com/webmaster/2012/05/03/to-crawl-or-not-to-crawl-that-is-bingbots-question)
So I don't see why you would still get these.
There must be problems in your robots.txt
[ tools.seochat.com/tools/robots-txt-valid...sthash.l0xJQoAC.dpbs](http://tools.seochat.com/tools/robots-txt-validator/#sthash.l0xJQoAC.dpbs)

However, I also found some pages saying that bing ignores the robots.txt:
[ stackoverflow.com/questions/15796035/bin...afficbasedsspsitemap](https://stackoverflow.com/questions/15796035/bingbot-ignoring-robots-txt-and-attempting-to-retrieve-a-trafficbasedsspsitemap)
So you might want to follow the recommendations there.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5MDgzOC1zb2x2ZWQtaG93LWNhbi1wZW9wbGUtY3JlYXRlLWFuLWVtcHR5LWNhcnQtd2l0aG91dC1hZGQtdG8tY2FydC1idXR0b24/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[nico.van.leeuwen](/forum/user/12404-nico-van-leeuwen "View nico.van.leeuwen's Profile")**
- [![nico.van.leeuwen's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar_2012-12-17-2.jpg)](/forum/user/12404-nico-van-leeuwen "View nico.van.leeuwen's Profile") Topic Author
- [ Offline](/forum/user/12404-nico-van-leeuwen)

Less More

- Posts: 343
- Thank you received: 28
-
-
- [](http://www.delinie-ict.nl)
-

9 years 3 months ago [\#274308](#274308) by [nico.van.leeuwen](/forum/user/12404-nico-van-leeuwen "View nico.van.leeuwen's Profile")  Replied by *[nico.van.leeuwen](/forum/user/12404-nico-van-leeuwen "View nico.van.leeuwen's Profile")* on topic *[How van people create an empty cart without add to cart button](/forum/27-checkout/890838-solved-how-can-people-create-an-empty-cart-without-add-to-cart-button#274308 "-- url of the page with the problem -- :   www.dfcgrootverbruik.nl/shop  -- HikaShop version -- : 3.1.1 -- Joomla version -- : 3.7.2 -- PHP version -- : 7.0.20  Hi, In our shop only people with an account can see prices, they are using an ACL on the price. Others would normally see a free price but we changed that to an icon and a link to another webshop. In the shop we have hidden the add to cart button by hiding the add to cart button for free products.  For some strange reason there is somebody/something that is creating a lot of empty carts with no registration. It looks like this :  Anyone know how to stop this from happening? Looks like a bot but is very annoying because we monitor the carts for our customers and all the empty carts are really irritating.  Thanks for any tips.")*

Hi Nicolas,

I've tried all the polite ways to tell bingbot not to put anything in the shopping cart but nothing helped.
So I had to block it through .htaccess and that worked.

Thanks for all the tips, I will mark this as solved.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5MDgzOC1zb2x2ZWQtaG93LWNhbi1wZW9wbGUtY3JlYXRlLWFuLWVtcHR5LWNhcnQtd2l0aG91dC1hZGQtdG8tY2FydC1idXR0b24/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.081 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
