PrestaShop
Add ASE to PrestaShop 1.7 or 8 through the theme footer or a custom-code module.
Before you start
You need a widget key for this site. Create one under Keys & Embed after adding your domain; the embed code shown there is the snippet used below:
<script src="https://app.ase.support/widget/ase.js" data-key="pk_YOUR_KEY" defer></script>
Steps
- Open your theme's footer template (
themes/yourtheme/templates/_partials/footer.tpl) and paste the snippet before the closing body section, or use any "custom JavaScript / HTML" module and place the code in the footer. - Save and clear the cache under Advanced Parameters → Performance → Clear cache.
- Open the storefront in a private window and check the bubble.
Check
- Open the site in a private window; the chat bubble appears in the corner you chose in Agent Settings.
- Send a test question. If the answer is generic, assign a knowledge base category to the agent under Agent Access.
- If nothing appears, see troubleshooting.
Notes
- Child themes keep the change through theme updates.
- The agent answers from your knowledge base; add your delivery and return policies first.
A native PrestaShop extension that installs the widget without touching theme files is in development. The script method above is the supported way today and will keep working.