You are reading the developer documentation for the WooCommerce Odoo Connector.
Steps:
- Install Sync 🪬 Studio.
- Open Sync 🪬 Studio, click [New], paste the URL of this gist, then click [Import].
- Follow the documentation.
To install local WooCommerce add following specification to your docker-compose.yml::
services:
# ...
woo_db:
image: mysql:5.7
volumes:
- woo_db:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: pass
MYSQL_DATABASE: woo
MYSQL_USER: woo
MYSQL_PASSWORD: woo
woo:
image: wordpress:latest
depends_on:
- woo_db
ports:
- 8080:80
environment:
WORDPRESS_DB_HOST: woo_db:3306
WORDPRESS_DB_USER: woo
WORDPRESS_DB_PASSWORD: woo
WORDPRESS_DB_NAME: woo
volumes:
- woo:/var/www/html/wp-content
woo_ssl:
image: foxylion/nginx-self-signed-https
depends_on:
- woo
environment:
REMOTE_URL: http://woo:80
volumes:
woo:
woo_db:
Open http://localhost:8080/wp-admin/ and follow setup instructions
Navigate to Plugins >> Add New >> search for "woocommerce"
, click [Install Now]
and then [Activate]
.
Add some products.
Open Odoo and configure the sync project settings:
API_URL
tohttps://woo_ssl
.API_VERIFY_SSL
to0