Add an AI Agent to WooCommerce
Add an AI agent to WooCommerce at the WordPress level, then train it on products, policies, and support pages.
How to install Simple Agent on WooCommerce
You will paste a single <script> tag in your WooCommerce site's WPCode Footer or WordPress wp_footer hook. No plugin, no app installation. WooCommerce official docs on custom code →
- 1
Get your agent token
Log into Simple Agent → your agent → Widget tab → copy the token shown under 'Embed code'.
- 2
Install WPCode
In WordPress Admin, go to Plugins → Add New Plugin, search for WPCode, install it, and activate it.
- 3
Open Header & Footer
Go to Code Snippets → Header & Footer. You should see Header, Body, and Footer boxes.
- 4
Paste in Footer
Paste the complete widget snippet in the Footer box: <script src="https://simple-agent.me/widget/loader.js" data-agent-token="YOUR_TOKEN_HERE" async ></script>
- 5
Replace the token and save
Replace YOUR_TOKEN_HERE with your actual agent token, then click Save Changes.
- 6
Clear cache and validate the store
Purge any WordPress, host, or CDN cache. Open a private browser tab and test the widget on the home page, a product page, and the cart.
- 7
Train on WooCommerce content
In Simple Agent, add product, category, shipping, return, FAQ, and sitemap URLs as knowledge sources so the agent can answer store-specific questions.
Add Simple Agent to your WooCommerce site
Starter plan available. No per-message charges. Flat pricing.
Criar meu agenteMensagens ilimitadas · Preço fixo · Cancele quando quiser
Frequently asked questions
- Is WooCommerce a separate install path from WordPress?
- No. WooCommerce runs inside WordPress, so the widget is installed through WordPress-level custom code.
- Should I paste the widget in Header or Footer?
- Footer is the better default for a chat widget because it loads after the page content. Use Header only when a provider explicitly requires it.
- Will Simple Agent know my products automatically?
- The widget install only loads the chat. Add WooCommerce product, category, policy, and sitemap URLs as Simple Agent sources to train the agent.
Simple Agent on other platforms
Ative seu agente em 40 segundos
Mensagens ilimitadas. Preço fixo. Embed em qualquer site com uma linha.
Criar meu agenteMensagens ilimitadas · Preço fixo · Cancele quando quiser