Skip to content

AI Price Checker

AI Price Checker adds a panel to the product edit page that answers one question fast: “How does my price compare to what competitors are charging — right now?” It uses Google Gemini with Search Grounding to find the exact same product at other retailers, reads the price each page actually shows, converts everything to a like-for-like ex-VAT figure, and ranks your price against the field.

AI Price Checker panel on the product edit page

Magento

Open Source 2.4.9 GA (and later 2.4.x).

PHP

Tested on 8.4 and 8.5.

AI engine

Google Gemini + Search Grounding (your own API key).

Storage

Ephemeral — no tables, no cron, nothing saved. Results are live.
  1. On any product, open the AI Price Checker panel. Optionally paste up to 3 competitor URLs — or leave them blank to auto-search.

  2. Click Check Competitor Prices. Gemini searches the web (and reads any URLs you gave it) for the exact product in your store’s country.

  3. Each competitor comes back with its price, whether the page showed it inc or ex VAT, stock status, a confidence rating, and a link.

  4. Every price is normalised to ex-VAT so the comparison is apples-to-apples, and your price is ranked against them (position, cheapest, % difference).

Cross-retailer price comparison is meaningless if one price includes VAT and another doesn’t. This is where most tools fall down — and where this one is careful.

  • The AI observes and reports what each page shows (the price and any inc/ex VAT label) — it is explicitly told not to do the VAT maths itself.
  • Magento then converts to ex-VAT deterministically in PHP, preferring an explicitly-stated ex- or inc-VAT figure, then the labelled price, and only assuming “inc” as a last resort (flagged, with confidence capped to low).
  • The store’s standard VAT rate is resolved from your Default Country (UK 20%, DE 19%, IE 23%, US/CA 0%, …) — or you can set a VAT Rate Override to force one.

Stores → Configuration → AgenticEcom · AI → AI Price Checker (the AI Price Checker panel itself appears on each product’s edit page, under the Price field).

AI Price Checker configuration

FieldWhat it does
Enable AI Price CheckerShow the 🔍 panel on product edit pages (per store).
Google AI API KeyYour own Gemini key (stored encrypted, sent in a request header, never the URL).
AI ModelThe Gemini model used for the grounded search.
VAT / Tax Rate Override (%)Force a VAT rate for ex-VAT conversion. Blank = auto-detect from your store’s Default Country.
Does it save competitor prices anywhere?

No — it’s completely ephemeral. There are no database tables and no cron jobs; each check is a live lookup and the results are shown inline. Run it whenever you want a current snapshot.

How does it avoid comparing inc-VAT against ex-VAT prices?

The AI reports the price and the VAT label exactly as the page shows them; Magento then converts everything to ex-VAT in PHP using your store’s standard rate. Explicitly-stated figures are used as-is; only a genuinely unlabelled price is assumed inc-VAT (and flagged with low confidence).

Will it match similar products or accessories?

It’s instructed to match the exact product only — by model number, SKU or exact name — not alternatives, bundles or accessories, and to use the current selling price (not RRP or out-of-stock prices).

Is it secure?

The panel sits behind the AgenticEcom_AiPricing::check permission and config behind ::config. Your API key is encrypted and sent in a header. Competitor URLs returned by the AI are validated (only well-formed http/https links are surfaced), so a malformed or unsafe link can’t reach the admin UI. Verified clean on PHP 8.4 and 8.5.