WooCommerce
WooCommerce is popular e-commerce plugin for Wordpress. As you may know, It has a huge community that you can depend on for plugins and support.
An integration always has two sides. You need to create a sales channel in your Cottoncast account. And your WooCommerce store needs our plugin.
- Goto Settings > Sales channels
- Click Add a new channel
- Enter a description, choose a language and click add WooCommerce channel
- Enter your shop's domain
- Click save
Keep the tab open. You will need the Channel ID and Secret in the next step.
You can download and install the plugin via your WooCommerce store's admin.
The plugin can also be installed and maintained using composer.
composer require cottoncast/woocommerce
Don't forget to activate the plugin.
You will need the channel ID and secret from the created sales channel in the previous step.Goto Settings > Sales channels in your CottonCast account. Select the sales channel for your store.
Goto settings > Cottoncast in your WooCommerce store.
You will see at least these settings:
Setting | Description |
Username | Should match channel ID |
Secret | Should match secret |
Order endpoint | https://api.cottoncast.com/order |
Config endpoint | https://api.cottoncast.com/integrations/config |
That's it. You are done. Your shop and our system are now talking to each other.
Make sure to disable WP_CRON and use a proper cronjob.
Our plugin downloads images and processes them. That takes some time, memory and computing power. Make sure the plugin does not hit any limits.
Last modified 3yr ago