Skip to main content

WooCommerce Integration

This Enthusiast plugin enables the import of product data directly from WooCommerce.

First, install the enthusiast-source-woocommerce package using pip:

pip install enthusiast-source-woocommerce

Then, enable the plugin by adding it to the settings.py:

CATALOG_PRODUCT_SOURCE_PLUGINS = [
    ...
    "enthusiast_source_woocommerce.WoocommerceProductSource",
]

Set WooCommerce consumer key and secret by setting enviroment variables

WOO_CONSUMER_KEY=consumerkey
WOO_CONSUMER_SECRET=consumersecret

OR continue reading to implement Consumer Key and Secret instead in sources configuration.

Save the changes and restart the web server and the worker.

Syncing WooCommerce Products to a Data Set

Log in as an admin user and go to Manage → Data Sets from the left-hand menu.

Then. click on "Sources" next to the desired data set.

Add a source using “WooCommerce” as the plugin and provide a JSON configuration with the following attributes:

Provide base url to your shop.

{
  "base_url": "BASE_URL",
}

If you decide to add Consumer Key and Secrect directly to sources

{
    ...
  "consumer_key": "consumerkey",
  "consumer_secret": "consumersecret"
}

By default synchronization will obtain 20 products per page.

You can change this by setting up "per_page" in your config.

Min. 10, max 100

{
    ...
  "per_page": 10
}

Example configuration for source

{
    "base_url": "http://localhost:8080",
    "consumer_key": "mykey",
    "consumer_secret": "mysecret",
    "per_page": 10
}

Metadata

Release files for enthusiast-source-woocommerce 2.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for enthusiast-source-woocommerce 2.0.0
File Size Uploaded Provenance Actions
enthusiast_source_woocommerce-2.0.0.tar.gz 2.8 kB Without provenance Details for enthusiast_source_woocommerce-2.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for enthusiast-source-woocommerce 2.0.0
File Interpreter ABI Platform Actions
enthusiast_source_woocommerce-2.0.0-py3-none-any.whl Python 3 none any Details for enthusiast_source_woocommerce-2.0.0-py3-none-any.whl

Total release size: 6.4 kB

Release files / enthusiast_source_woocommerce-2.0.0.tar.gz

Download URL enthusiast_source_woocommerce-2.0.0.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
8125ced5cc30010d3ee4d3476d35de86f77ce6f18d958bd7e7b2cb8e3f731199
BLAKE2b-256 checksum
How to use checksums
e9823838df4ff1592ddd54e57dd054ec61c6afced8d45bac877b04651fd788ca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.5.1 CPython/3.12.16 Linux/7.0.0-1019-azure

Release files / enthusiast_source_woocommerce-2.0.0-py3-none-any.whl

Download URL enthusiast_source_woocommerce-2.0.0-py3-none-any.whl
Size 3.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
448124d7a660a4e2d1bdc71dc80c53308f13984d4b759266f9d035b6ef27cdda
BLAKE2b-256 checksum
How to use checksums
dbe5760ddf9ac910cd0cb68f44b9067bc3dc7bab56ec5bd2622c64716de2bd88
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.5.1 CPython/3.12.16 Linux/7.0.0-1019-azure

Security for enthusiast-source-woocommerce 2.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page