# Woocommerce Settings

<p class="doc-lead">Woocommerce Settings connect Freespace ERP to your WooCommerce store API and set defaults used when importing orders from <a href="#/sales/woocommerce-orders">Woocommerce Orders</a>.</p>

<div class="doc-toc">
<p class="doc-toc-title">On this page</p>
<div class="doc-toc-section">
<div class="doc-toc-links">
<a href="#/settings/woocommerce-settings?id=overview">Overview &amp; Form View</a>
<a href="#/settings/woocommerce-settings?id=fields">Fields</a>
<a href="#/settings/woocommerce-settings?id=actions">Actions</a>
<a href="#/settings/woocommerce-settings?id=related">Related</a>
</div>
</div>
</div>

<hr class="doc-section-divider">

<h2 id="overview">Overview &amp; Form View</h2>

Go to <b>Settings → Ecommerce → Woocommerce</b>.

<!-- screenshot pending -->

<hr class="doc-section-divider">

<h2 id="fields">Fields</h2>

| **Field** | **Description** |
|-----------|-----------------|
| URL | WooCommerce site URL. |
| Consumer Key / Consumer Secret | REST API credentials from WooCommerce. |
| Default Sale Type | Sale type applied to imported orders. |
| Default Customer | Customer when order has no mapped customer. |
| Default Pay Mode / Cash Account | Payment defaults on converted invoices. |
| Default Center / Default Employee | Billing center and sales person on import. |

<hr class="doc-section-divider">

<h2 id="actions">Actions</h2>

Update, Reset, Cancel.

<hr class="doc-section-divider">

<h2 id="faq">FAQ</h2>

<p><b>Where do I get Consumer Key and Secret?</b></p>
<p>Generate REST API keys in WooCommerce → Settings → Advanced → REST API with read/write access for order import.</p>

<p><b>What defaults apply on import?</b></p>
<p>Default Customer, Pay Mode, Center, Employee, and Sale Type fill gaps when the WooCommerce order lacks mapped ERP masters.</p>

<p><b>Can I map WooCommerce SKUs to items automatically?</b></p>
<p>Item matching uses item code/SKU mapping during order conversion — ensure web item codes align with WooCommerce SKUs.</p>

<p><b>Why are orders not syncing?</b></p>
<p>Verify URL includes https, credentials are valid, and cron/manual fetch runs from <a href="#/sales/woocommerce-orders">Woocommerce Orders</a>.</p>

<p><b>Does import create customers?</b></p>
<p>Uses Default Customer when no match — configure customer mapping rules on the WooCommerce orders screen per your setup.</p>

<p><b>Can I use multiple WooCommerce stores?</b></p>
<p>One settings record per company context — multi-store may require separate companies or custom integration.</p>

<hr class="doc-section-divider">

<h2 id="related">Related Topics</h2>

<ul>
<li><a href="#/sales/woocommerce-orders">Woocommerce Orders</a></li>
<li><a href="#/sales/sale-types">Sale Types</a></li>
<li><a href="#/sales/customers">Customers</a></li>
</ul>
