This screen explains the steps to follow to configure the synchronization of products, stock and sales of your WooCommerce (WordPress) ecommerce with your Stockagile account. To learn more about how the synchronization between Stockagile and your ecommerce works you can read the article How the synchronization between Stockagile and ecommerce works. If you want to synchronize only the stock but not the products and their features, please contact our Support through the corresponding section in the platform.
Steps to generate WooCommerce passwords
- Make sure we have installed the WordPress WooCommerce plugin. Important to know that we synchronize from Version 5 of Woocommerce.
- Once installed, in the WordPress side menu, position the mouse over the WooCommerce button and click on the Settings button in the menu that has opened.
- Go to the Settings tab.
- In the Advanced tab, click on the REST API button located just below the tabs.
- Click on the Add Key button.
- Here, create a key by filling in the following fields:
- Description: Stockagile writes.
- User: select an administrator user from the list.
- PermitsSelect Read/Write.
- Once you have filled in the fields, click on Save API key.
- Next, the screen will show you 2 keys: the Customer Key and the Customer's secret key. These codes will be necessary for the configuration of the page from Stockagile.
Steps to set up WooCommerce sales synchronization.
- Within Stockagile, drop down the Ecommerce menu on the side menu and enter the Pages view.
- Enter inside the configured Ecommerce page. In case you do not have any page configured, select new page at the top right.
- A form will automatically open, and here you can fill in the details of our new page; we will have to add (see images at the end):
- Platform: in this case Woocommerce.
- Name: will be used to identify the channel within Stockagile.
- Web URL: you must include the https:// at the beginning for it to be valid.
- Stock warehouses: here you must determine from which warehouses the stock will be issued.
- Warehouse: this will be the channel's main warehouse.
- Default delivery creation policy: you will be able to choose whether the stock should leave the main warehouse by default or the warehouse with the largest stock (as long as it is selected in point 3).
- Default payment method.
- Ticket configuration.
- Order serial number: you can create a specific serial number in the Configuration section.
- Price level: you can also create a specific one for this ecommerce.
- Consumer key: WooCommerce customer key.
- Client secret: WooCommerce customer secret key.
- Brand: the name of the brand attribute in WooCommerce is the attribute that Stockagile uses to load brands in WooCommerce. If not reported Stockagile adds "Brand" to the brand attribute.
- Click on the copy WooCommerce Webhook field button at the bottom.
- In the Wordpress side menu, hover over the WooCommerce button and click on the Settings button in the menu that has opened.
- Go to the Settings tab.
- In the Advanced tab, click on the Webhooks button just below the tabs.
- Here, create a webhook by clicking on the Add Webhook button with the following fields:
- Name: type Stockagile order creation.
- Status: select Active.
- Subject: select Order created.
- Delivery URL: paste the text copied in point 3.
- Secret: paste only the text just after the "key=" of the text copied in the "3".
- API VersionSelect Integration with WP REST API v3
- Save by clicking on Save webhook and you will see a message informing you that the webhook has been successfully created.
- Create another Webhook by clicking again on the Add Webhook button with the following fields:
- Name: type Stockagile order update.
- Status: select Active.
- Subject: select Order updated.
- Delivery URL: paste the text copied in point 4.
- Secret: paste only the text just after the "key=" of the text copied in point 4.
- API version: select WP REST API v3 integration.
- Save by clicking on Save webhook.
Comments
0 comments
Please sign in to leave a comment.