# ShopSavvy for WooCommerce

> A WooCommerce plugin that displays real-time competitor price comparisons on your product pages. Automatically matches products by barcode, UPC, EAN, ASIN, or SKU.

*Source: https://shopsavvy.com/integrations/woocommerce*

- **Type:** Integration (E-Commerce)
- **Language:** PHP
- **Status:** live
- **Repository:** https://github.com/shopsavvy/woocommerce-shopsavvy (GPL-2.0)

## Setup

### 1. Get a ShopSavvy Data API key

Create a key at shopsavvy.com/data. Keys look like ss_live_ followed by 32 characters. Keep it out of source control.

### 2. Install

Get the integration from its repository and follow the README's install section: https://github.com/shopsavvy/woocommerce-shopsavvy

```bash
git clone https://github.com/shopsavvy/woocommerce-shopsavvy.git
```

### 3. Add your API key

Enter your key where WooCommerce asks for ShopSavvy credentials, as the README describes. Store it as a secret, not in code.

### 4. Make your first call

Look up a product by barcode, ASIN or URL and read its current offers. The shopsavvy/woocommerce-shopsavvy README has the full example: https://github.com/shopsavvy/woocommerce-shopsavvy#readme

## Features

- Automatic price comparison widget on product pages
- Admin dashboard with API key management
- Shortcode for embedding anywhere
- Smart caching with WordPress transients

## Use Cases

- Show customers your competitive pricing
- Monitor competitor prices from your WooCommerce admin
- Embed price comparisons in custom pages

## What data, how often, which direction

- **Data:** Product records, current offers from tens of thousands of retailers and price history back to 2011, dense from 2019, from the ShopSavvy Data API. Prices are in US dollars.
- **How often:** Every offer carries the time it was last checked. With the Data API you can schedule refreshes hourly, daily or weekly for retailers we can re-check through an official retailer API; other retailers update as ShopSavvy sees them.
- **Direction:** ShopSavvy data flows into WooCommerce. Requests carry only what you ask about (identifiers, search terms or schedules) and your API key.

## FAQ

### Do I need an API key?
Yes. The WooCommerce integration calls the ShopSavvy Data API, which needs a Data API key. Create one at shopsavvy.com/data, then add it as the setup steps above show.

### What data does it return?
ShopSavvy product records (title, brand, model, barcode, ASIN), current offers from tens of thousands of retailers with price, availability and condition, and price history back to 2011, dense from 2019. Products can be looked up by barcode, ASIN, URL or model number. Prices are in US dollars.

### How fresh are the prices?
Every offer carries the time ShopSavvy last checked it, so you can see how current each price is. Through the Data API you can schedule refreshes hourly, daily or weekly for retailers we can re-check through an official retailer API; other retailers update as ShopSavvy sees them.

### Is my API key stored securely?
Store it as a secret in your own configuration, not in source code. The key is sent to the ShopSavvy API (api.shopsavvy.com) over HTTPS in the Authorization header. You can revoke a key and create a new one at shopsavvy.com/data/api-keys.

### Is it open source?
Yes. The source is on GitHub at https://github.com/shopsavvy/woocommerce-shopsavvy under the GPL-2.0 license.

## Related Integrations

- [WordPress](https://shopsavvy.com/integrations/wordpress.md): Price comparison block, shortcode, and widget for WordPress
- [Shopify](https://shopsavvy.com/integrations/shopify.md): Competitor price intelligence for Shopify merchants
- [PHP SDK](https://shopsavvy.com/integrations/sdk-php.md): Official PHP SDK for Laravel, Symfony, and WordPress

## Links

- Data API documentation: https://shopsavvy.com/data/documentation.md
- Data API plans: https://shopsavvy.com/data#pricing
- All integrations: https://shopsavvy.com/integrations.md
