Pro add-on · Store

Product Compare for WordPress

Adds a compare button to product cards and a side-by-side comparison table.

$199/yr or $549 once — all 35 add-ons Same admin as the free core Enable or disable without losing data
What it does

Product Compare, in practice.

Adds an 'Add to Compare' button to shop-grid cards and the single product page through the ambikly_product_card_actions and ambikly_product_detail_actions filters. Clicking it toggles the product id in an ambikly_compare cookie that lasts seven days and holds at most your configured maximum; when the list is full the oldest id drops off. A floating tray lists the chosen products with remove buttons and a Compare button that activates at two items. That button calls GET /ambikly-pro/v1/compare, which returns published products with image, price, sale price, SKU, weight, dimensions and summary, rendered as a side-by-side table inside the [ambikly_compare] container or appended to the page.

CapabilitiesStore
  • Compare button on grid cards and product pages
  • Selection kept in a seven-day cookie
  • Oldest item drops off when the list is full
  • Floating tray with per-product remove buttons
  • Compare button enabled once two products are chosen
  • Rows for image, name, price, sale price, SKU, weight, dimensions, summary
  • Dimensions composed from length, width and height
  • Only published products are returned
Where it shows up

Storefront, admin and settings.

On the storefront

  • Add to Compare button on cards and product pages
  • Floating compare tray
  • [ambikly_compare] table container
  • Side-by-side comparison table

Settings you control

  • Maximum products to compare (minimum 2, default 4)
  • Label on the trigger button and tray
For developers

Routes and hooks.

Built on the same Addon SDK as every other Pro add-on — extend it instead of replacing it.

REST routes

  • GET /ambikly-pro/v1/compare

Core hooks it listens to

  • ambikly_product_card_actions
  • ambikly_product_detail_actions
  • wp_enqueue_scripts
  • rest_api_init

Works with

When it earns its place

Three stores that want Product Compare.

1

Electronics with close specifications

A store selling headphones or routers has products that differ mainly in weight, size and a few summary lines. Shoppers pick two to four models from the grid and read them side by side instead of opening tabs, which shortens the path to a decision.

2

Furniture that must fit a space

A furniture store's customers care about dimensions above all. The compare table lists length, width and height for each chosen piece in one row, so a shopper can check which desk or shelf fits the wall they have measured before adding it to the cart.

3

Sale-price shopping

During a promotion a shopper on a kitchenware store collects several similar items and opens the table. Regular and sale prices sit in adjacent rows, making it obvious which product carries the bigger reduction without reading each product page in turn.

Setup

From toggle to live in a few minutes.

  1. Enable it

    Ambikly → Add-ons → Product Compare → toggle on. Pro must be active; nothing else to install.

  2. Set it up

    Open its settings panel and set: maximum products to compare (minimum 2, default 4); label on the trigger button and tray.

  3. Find it in use

    The storefront surfaces, admin screens and settings it adds are listed under “Where it shows up” above; nothing needs placing by hand unless a shortcode is named there.

  4. Turn it off without losing anything

    Disable the add-on from the same screen. Its settings and data stay in place, and a lapsed license pauses it the same way — the store keeps running.

FAQ

About Product Compare.

How many products can shoppers compare at once?

As many as your Max products setting allows, with a floor of two and a default of four. When a shopper adds one more than the maximum, the oldest selection is dropped rather than blocking the click, so the tray never fills up permanently.

Does the compare list survive a page refresh?

Yes. Product ids are stored in an ambikly_compare cookie that expires after seven days, so the tray repaints with the same products on every page during that time. Nothing is written to the database for the selection itself.

Where does the comparison table appear?

If the page contains the [ambikly_compare] shortcode, the table renders inside it and the page scrolls there. If not, the script appends a container to the end of the page so the table still appears. A dedicated compare page gives the cleanest result.

Which product fields are compared?

Image, name, price, sale price, SKU, weight, dimensions and the short description. Dimensions are built from the product's length, width and height fields, so they display as, for example, 30 x 20 x 10. Unpublished products are excluded from the table.

Get Product Compare with every other add-on.

Pro is $199 a year or $549 once, for all 35 add-ons. Enable this one from the same admin the day you need it.