This article provides a comprehensive guide on how to connect your WooCommerce store to Gelato. We'll walk you through the necessary steps to seamlessly integrate these platforms, enabling you to streamline your print-on-demand operations.
Before You Begin
Currently, our WooCommerce integration does not support Namecheap hosting. We recommend using alternative hosting providers to ensure compatibility and optimal performance.
Before diving into the integration process, let's ensure your WooCommerce setup is compatible with Gelato. Here's a quick checklist:
WooCommerce Version: Make sure you're using WooCommerce version 2.4.8 or higher for optimal compatibility with the Gelato app.
HTTPS Connection: Verify that your WooCommerce store has an active HTTPS connection and no redirects. You can use online tools like Redirect Checker to confirm.
WooCommerce REST API Access: Ensure your WooCommerce REST API is installed and accessible. Use the following link to install WooCommerce Legacy REST API or locate it in WooCommerce plugin section. Check your .htaccess file for the following entry: SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1. Refer to these resources for more information:
Enable REST API in WooCommerce
Log in to your WooCommerce store's Admin Panel.
Navigate to "WooCommerce → Settings → Advanced."
Go to the "Legacy API" tab.
Enable "Enable the legacy REST API."
Save your changes by clicking "Save Changes."
Configure Permalinks
For the WooCommerce REST API to function correctly, ensure your WordPress permalinks are not set to "Plain."
Go to "Settings → Permalinks" in your WordPress dashboard.
Under "Common Settings," select a link structure other than "Plain."
Save your changes by clicking "Save Changes."
To verify your WooCommerce API is active, open this URL in your browser (replace "your-site-url-here.com" with your actual domain): http://your-site-url-here.com/wc-api/v1/
If you see JSON code containing your store information, your API is working correctly.
If not, double-check your permalink settings.
Install and Activate the Gelato Plugin
In your WooCommerce admin panel, navigate to "Plugins → Add New."
Search for "Gelato" in the plugin search bar.
Click "Install Now" and then "Activate" to enable the Gelato plugin on your site.
Connect WooCommerce to Gelato
In your WooCommerce admin panel, find the new "Gelato" tab in the left-hand menu.
Click "Connect to Gelato."
Follow the prompts to grant the necessary permissions for the Gelato plugin to access your WooCommerce store.
Start Adding Products
You're all set! Now you can start creating and selling print-on-demand products. Head over to your WooCommerce product manager ("Products → Add Product") to design your offerings, set prices, and manage your inventory – all powered by Gelato's global production network.
For a detailed walkthrough on adding products, check out this helpful guide: Add products.