Skip to main content

Woocommerce Integration

This guide will help you connect your WooCommerce store to Whatmore in just a few simple steps.

What You Need

From WooCommerce:
  • WooCommerce plugin installed (version 3.5 or higher)

  • Admin access to your WordPress dashboard

  • SSL certificate (your site should use https://)

From Whatmore:
  • Active Whatmore account

  • Access to Whatmore dashboard


Step 1: Get Your WooCommerce API Keys

Open WooCommerce Settings

  1. Log in to your WordPress admin panel

  2. Go to WooCommerceSettings

  3. Click on the Advanced tab

  4. Click on REST API

Create a New Key

  1. Click the Add Key button

  2. Fill in the details:

    • Description: Type "Whatmore Integration"

    • User: Select your admin user

    • Permissions: Choose Read/Write

  3. Click Generate API Key

Save Your Keys

⚠️ Important: Copy both keys immediately - you won't be able to see them again!

  • Consumer Key: Starts with ck_

  • Consumer Secret: Starts with cs_

Paste them somewhere safe (like a notepad) - you'll need them in the next step.


Step 2: Connect Product API in dashboard

Choose Custom Store

In your Whatmore Dashboard Setup Tab, when selecting your store type:

  1. Open the store type dropdown menu

  2. Select "Custom"

Add Your Product cURL Command

You'll see a text box where you need to paste a cURL command. This command will fetch product details from your WooCommerce store.

Your cURL Command Format:
curl https://yourstore.com/wp-json/wc/v3/products/PRODUCT_ID \
-u YOUR_CONSUMER_KEY:YOUR_CONSUMER_SECRET
Step by step to create your command:
  1. Start with: curl <https://yourstore.com/wp-json/wc/v3/products/>

  2. Add any product ID from your store (e.g., 123)

  3. Add a space, then type: -u

  4. Add a space, then paste your Consumer Key (starts with ck_)

  5. Add a colon : (no spaces)

  6. Paste your Consumer Secret (starts with cs_)

Example:
curl https://myshop.com/wp-json/wc/v3/products/123 \
-u ck_abc123xyz:cs_xyz789abc

Paste this complete cURL command into the text box shown below:

💡 Tip: To find a product ID, go to your WooCommerce Products page and look at any product's URL or ID column.

Map your fields

Whatmore will show you Whatmore fields and a dropdown to select woo commerce fields. This will help us map the correct entities for your products. Just select the keys based on table given below.

Whatmore FieldWooCommerce Field
Product Titlename
Product ID/SKU IDid
Discounted Priceprice
MRPregular_price
Product Linkpermalink
Product Imageimages[0].src
CurrencyEnter Manually

That's it! Your WooCommerce Product API is now connected to Whatmore.


Common Issues

"Invalid Key" Error

  • Double-check you copied the complete Consumer Key and Secret

  • Make sure there are no extra spaces at the beginning or end

  • Verify your keys have Read/Write permissions

"Product Not Found"

  • Make sure the product ID in your URL exists in your store

  • Try using a different product ID

  • Check that your products are published (not drafts)

"Connection Failed"

  • Verify your store has an SSL certificate (URL starts with https://)

  • Check that WooCommerce REST API is enabled

  • Make sure WordPress permalinks are set to anything except "Plain"