Whole Foods Web Sale Item Highlighter
Free to download on every platform. Comes pre-installed on BotFone, BotPad and BotFlip — with extra free apps included.
About this app
WHAT IT DOES
This tool scans Whole Foods product pages to identify sale items and Prime member deals, making them instantly visible. It extracts product names, regular and sale prices, savings amounts, and Prime deal indicators from the page. Sale items are highlighted directly on the page with a colored outline and a floating badge (🛒 SALE for sale items, ⭐ PRIME for Prime deals, and 🎯 SALE+PRIME for items with both). The panel displays total potential savings, count of sale items, Prime deals, and items with both discounts. A toggle lets you hide non-sale items to focus only on deals, and savings are tracked by product category (produce, meat, dairy, pantry, etc.) to show where you're saving the most.
WHERE IT RUNS
The script activates on Whole Foods pages (wholefoodsmarket.com), including product listings, category pages, and search results. It automatically detects product pricing data using multiple extraction strategies that work across different Whole Foods layouts. The panel appears as a draggable overlay that stays accessible as you browse deals.
HOW TO USE
Navigate to a Whole Foods product listing page. The panel will appear showing total savings, sale item count, Prime deals, and items with both discounts. Sale items are highlighted on the page with colored outlines and badges — green for sale, blue for Prime, and purple for both. Use the "Min $" input to set the minimum savings threshold for highlighting (default $0.50). Toggle "Prime on/off" to show or hide Prime deal badges. Toggle "Sale only" to hide all non-sale items from view, focusing only on deals. The "Scan" button manually updates the page data, and "Clear Highlights" removes all visual highlights from the page. The category breakdown shows savings by department, helping you identify the best value categories.
THE TECHNICAL MECHANISM
The script employs a multi-strategy DOM extraction approach for Whole Foods' product interface. It first attempts structured selectors targeting known class names like .product-card, .item-card, and .product-tile, then falls back to heuristic detection of product containers based on content patterns including currency symbols and pricing indicators. Price extraction identifies multiple price points in the text—the highest value is treated as the regular price, and the lowest as the sale price. Savings are calculated as regularPrice - salePrice, and savings percentage is derived from this difference. Sale detection uses pattern matching for keywords like "sale", "save", and "was", while Prime deal detection looks for "Prime", "member deal", or "Member Deal" indicators. In-page highlighting is applied by adding CSS classes to product elements, which trigger pseudo-element badges and colored outlines. The panel's "Sale only" toggle adds a CSS class to hide non-sale items without removing them from the DOM, allowing instant toggling. Category extraction attempts to find product categories from dedicated elements or by parsing text patterns like "in [Category] sale". All settings are persisted using GM_setValue.
THE PANEL
The panel is fully draggable by its header and remembers its position on the page across sessions. It can be collapsed to a small bubble using the minimize button, then restored by clicking the bubble. The panel resizes automatically to fit its content and can be closed with the Escape key or by clicking the close button. The panel's position and state persist globally, so it returns to the same location on subsequent visits.
PLEASE NOTE
Requires the free BotGentz extension to run. Whole Foods may update its site structure, which could affect the script's ability to detect sale data — updates will be released as needed. All product data is read from the page and displayed locally; nothing is transmitted externally. This tool is for informational purposes only and does not provide financial advice. The script does not modify your Whole Foods account or perform any transactions. Sale detection is based on price comparison and text patterns on the page and may not capture all available deals. Always verify savings at checkout. The script adds visual highlights to product elements for convenience; these highlights are not permanent and do not affect the page's underlying functionality.