PrestaShop Anti-Bot Cart – Fake Cart Protection
- 1.7.5 + | 8.x | 9.x
- FR, ES, PL, IT, DE, EN
- 1.0.4
- 2026-10-09
A lightweight, non-invasive solution for PrestaShop that eliminates the mass creation of fake carts by bots and HTTP scripts. The module neutralizes automated traffic before it can strain your database or skew your e-commerce analytics.
It bridges technical and business priorities: offering silent protection for add-to-cart actions without modifying core files to reduce server load (developer value), while restoring accurate conversion and remarketing data (merchant value)—all while maintaining a seamless checkout experience for real shoppers.
Information Parameters:
- 1.0.4
-
Store Version PHP Version1.7.5 + 7.1 – 7.48.x 8.1 – 8.39.x 8.1 – 8.5
- 2026-10-09
- FR, ES, PL, IT, DE, EN
- ✅
- ✅
- ✅
- ✅
- ❌
Do you have thousands of abandoned carts with no customer data?
If your PrestaShop store is suddenly experiencing hundreds of empty carts created in rapid succession (usually lacking an email address, customer details, and often originating from the same IP), you have likely fallen victim to automated bots and price scrapers.
Standard abandoned cart recovery modules will not solve this issue because there is no real buyer on the other end. Our Anti-Bot Cart module addresses the problem at its source by preventing malicious scripts from writing to your database entirely.
Key Benefits
- Clean database and reduced server load – limiting the rapid growth of
ps_cartandps_guesttables prevents slow SQL queries and helps maintain a low TTFB (Time to First Byte). Your database will stop bloating. - Reliable analytics and saved ad spend – removing fake carts from Google Analytics restores your true Conversion Rate (CR) and protects against wasting budgets in external marketing automation and remarketing campaigns.
- Silent blocking (Zero-Feedback) – a detected bot receives a standard technical success response (200 OK) instead of a 403 or 500 error. The bot receives no indication that it has been blocked, which prevents request retry loops.
- Fail-Safe shopping experience – filtering applies exclusively to guest sessions and suspicious script requests. Logged-in customers are not verified, and any potential module error will not interrupt the purchasing path.
- Direct performance and zero core overrides – the Front Office script is written in pure Vanilla JavaScript (no heavy libraries). The module does not modify core files (Zero Core Override), ensuring easy and safe store updates.
Use Cases
This module is dedicated to PrestaShop stores struggling with sudden spikes in abandoned carts created by anonymous sessions. This issue particularly affects stores with extensive product catalogs, active product feeds (Google Shopping, Meta Ads), and international traffic, where automated scanners and price parsers trigger massive add to cart actions.
For merchants and marketers, this means the end of frustratingly distorted statistics and the return of precise sales analysis data. For administrators and developers, it eliminates the need to constantly clean the database of millions of empty records and guarantees that the protection mechanism will not negatively impact Core Web Vitals.
Features – Back Office
Dashboard and Analytics
A central monitoring hub for blocked bot activity across your entire installation.
- Trigger segmentation – statistics breakdown by missing session cookies, Honeypot violations, and suspicious User-Agents.
Event Log
A clear list of blocked attempts complete with technical details for diagnostics.
- IP hit aggregation – repeated requests from the same IP address within a short time window are merged into a single entry with an occurrence counter.
Settings and Retention
Full control over the protection behavior and the volume of stored database logs.
- Automated cleanup – manage the log retention period with a strict limit of the 500 most recent rows in the event log.
Reset Statistics
Instantly zero out counters and clear log entries.
- Diagnostic tool – highly useful for verifying effectiveness after configuration changes or server maintenance.
CSV Data Export
Quickly download registered incidents for further spreadsheet analysis.
- Standardized format – UTF-8 output file with semicolon separators containing IP, User-Agent, block reason, store ID, and event count.
Features – Front Office
Honeypot Detection (Vanilla JS)
A dynamic field, invisible to humans, appended to the add-to-cart form.
- Zero dependencies – the code requires no external libraries and no modifications to theme template files (TPL/Twig).
Silent Server Response
Intercepts and halts bot requests before the cart creation mechanisms are triggered.
- Simulated success – the bot receives a response indicating a successful action, preventing bot developers from modifying their attack scripts.
Multi-layer HTTP Filters
Verifies request headers for browser consistency and authenticity.
- Parallel evaluation – combines signals from cookies, honeypot fields, and known automated tool strings within the User-Agent.
Frequently Asked Questions (FAQ)
Why do I have so many abandoned carts in PrestaShop?
Most often, this is caused by automated scripts and bots (e.g., price comparison tools, competitor scanners, malicious crawlers) that massively trigger the add-to-cart action in your store. The Anti-Bot Cart module detects and eliminates these fake requests.
Will the module delete existing empty carts from the database?
This module prevents the creation of new fake carts in the ps_cart and ps_guest tables. To safely remove historical, empty records from your database, we highly recommend using our free tool: Database Cleaner Lite.
Impact on Sales, Performance, and SEO
Although the module operates in the background and does not directly modify website content, it indirectly impacts key e-commerce and SEO metrics. Preventing unnecessary database write queries offloads server resources (CPU/RAM/DB I/O), which translates into a stable response time (TTFB) during traffic spikes. Furthermore, cleaning up abandoned cart data allows you to accurately measure the effectiveness of your conversion funnel and build correct audience groups in analytical (e.g., GA4) and advertising systems.
Notes and Recommendations
It is recommended to create a backup before installation. The module is designed to handle standard PrestaShop add-to-cart mechanisms. After deployment, perform a test purchase as a guest to ensure that your theme or third-party modules (e.g., custom AJAX checkouts) are passing requests correctly. If necessary, filtering can be permanently or temporarily disabled in the back office.
# Changelog ## [1.0.4] - 2026-10-09 ### Added - Block guest GET that adds a product and switches currency in one request (ghost carts). Redirects to the cart page. Counter: Currency and add. Upgrade script adds the stats column. ## [1.0.3] - 2026-09-30 ### Changed - Installation-wide config/stats (multistore: same BO view; `id_shop` informational in logs). - PS9 adaptation: CSRF `_token` / UserTokenManager, BO assets, compliancy 9.x. - Fixed install false-negative on PHP 8.1 (`ensureGlobalRow()` void in boolean chain). ## [1.0.0] - 2026-02-17 ### Added - Initial release of the module.
You might also like
Clean URLs Pro – remove IDs from PrestaShop URLs
FAQs
-
Are the modules compatible with my version of PrestaShop?
Each module in our store contains information about compatibility with specific PrestaShop versions. Please check this information carefully before purchasing. If you are not sure, contact us.
-
What problem does Anti-Bot Cart solve?
It stops bots and HTTP scripts that mass-create empty abandoned carts — usually with no email and often from one IP. The write is blocked before a fake cart can bloat tables and analytics.
-
Why is an abandoned-cart module not enough here?
Recovery assumes a real shopper. Bot carts have no buyer, so remarketing and marketing automation spend budget on artificial traffic.
-
How does silent blocking work?
A detected bot receives a normal 200 OK, not a 403 or 500. It gets no block signal, so it does not retry in a loop, and a real shopper notices nothing.
-
Does the filter apply to logged-in customers?
No. Checks cover guest sessions and suspicious script requests. Logged-in customers are not verified, and a module error does not break checkout.
-
How does it affect the database and TTFB?
It limits growth of cart and guest tables, which eases SQL load and helps keep TTFB low. Analytics, including conversion rate, reflect human traffic again.
-
Does the module change PrestaShop core files?
No. The front office script is plain Vanilla JS, with no heavy libraries and no core override. Store updates stay simple, and add-to-cart protection stays light.
16 other products in the same category:
Free PrestaShop Database Audit & Controlled Cleanup
Database Cleaner Lite is a free PrestaShop module designed for auditing and safely deleting statistical data and system logs. It helps administrators quickly assess...
Additional Product Fields and Options – Attributes without Combinations (Custom Fields)
This module enables the creation of additional product options without using native PrestaShop combinations. Each option can have a price impact (positive or negative) but...
Cash on Delivery (COD) with an Additional Fee for PrestaShop
A cash on delivery module for PrestaShop with the option to apply an additional fee . The fee is added to the order automatically and displayed as a separate line in the...
SEO Scanner - fast SEO auditing for products, categories and CMS pages in PrestaShop
PP SEO Scanner is an efficient diagnostic tool for PrestaShop, designed to automate on-site SEO auditing. The module analyses products, categories and CMS pages for...
Information and Announcement Bar for PrestaShop (Free Edition)
PP Top Bar is a lightweight and intuitive module that lets you add an eye-catching information bar to the top of your shop in just a few seconds. Inform your customers...
Take SEO and conversion further: a PrestaShop FAQ module with a built-in editor and FAQPage JSON-LD
The FAQ Builder module makes it easy to add question and answer (FAQ) sections directly to your PrestaShop product descriptions. The management interface sits just above the...
Ready-made cart link for PrestaShop (free version)
How does it work? The administrator creates a ready-made cart link -> sends it to the customer -> the customer opens it and lands in a prepared cart. PP Cart...
Unused Product Images — Free Server Cleanup for PrestaShop
Unused Product Images (Free) is a free PrestaShop module designed to optimize disk space and file limits (Inodes) on your hosting. The tool automatically locates and...
Backup Manager – Security and Automatic Database Backups
PP Backup Manager is a module for PrestaShop , which organises the process of performing database backups : manually in the administration or automatically when called...
Product Promotions Preview on the Product List in PrestaShop BO
Do you have many products in your store and want to quickly check which ones have promotions set? An additional column on the product list in the PrestaShop administration...
Clean URLs Pro – remove IDs from PrestaShop URLs
Clean URLs Pro removes numerical IDs from product, category, CMS category, CMS page, brand, and supplier URLs — without core modifications and with zero overrides. Simply...
Content page system, an alternative to PrestaShop CMS Pages: categories, pages and FAQ with...
Frustrated by the limited capabilities of PrestaShop's native CMS? PP Page is a powerful alternative that transforms your shop into a fully-fledged publishing platform....
Advanced PrestaShop traffic and performance optimization generator (htaccess)
Stack Pro is a protective module for PrestaShop that restricts artificial and automated traffic at the server level through controlled modification of the .htaccess file....
Login as Customer – Log into user accounts from PrestaShop Back Office
This module enables instant access to any customer account directly from the PrestaShop administration panel. It allows quick verification of issues reported by buyers...
PrestaShop Promotion Module: Free Gifts, Quantity Discounts, Buy X Get Y and Category Offers
The PP Promo module for PrestaShop makes it easy to create and automate popular sales campaigns, from "Buy 2, Pay for 1" offers and free gifts to discounts on selected...
Increase the long product description and image ALT text limit in PrestaShop 8/9
PP Limit Manager removes the length restriction applied to the long product description and product image ALT text in the new PrestaShop 8 and 9 product form. The module...
Do you need additional features or custom solutions?
- Module customisation tailored to your specific requirements.
- Extending functionality to enhance your store's capabilities.
- Developing bespoke modules designed to meet your unique needs.
- Integrating external systems and additional tools.
- Optimisation and improvements for better performance and user experience.
Do you have ideas on how to improve this software? Share your suggestions for optimisation, new features, or bug reports – we’ll be happy to review them!