How to install the accessibility widget in PrestaShop
The DockAccess Accessibility Widget module (formerly Assist For WCAG) adds the accessibility widget to every page of your PrestaShop shop (1.7.7 or later, 8.x and 9.x). Once connected to your DockAccess account, it shows in the back office whether the widget works, your plan and how many widget views were used this month. The look of the widget, its accessibility options and the accessibility statement are set in your DockAccess account, on the Accessibility widget tab of the site.
Installing the module
Step 1: Add the site and copy its token
You can also find the token of every site later in “My sites”, under the address of the site, with a copy icon.
Step 2: Install the module
Download the module (assistforwcag.zip). In the PrestaShop back office, go to Modules → Module Manager, click Upload a module and choose the file, or drop it into the window. The installation starts by itself; when it ends, click Configure.
Step 3: Connect the shop with your DockAccess account
In the module settings, paste the site token, enter the e-mail address (or user name) and the password of your DockAccess account and click Connect.
DockAccess checks that the token belongs to your account and that the address of the shop is one of the site's domains. The password is used only for this one connection and the module does not store it. The account must have a confirmed e-mail address.
If the module says that the shop address is not one of the site's domains, add it in the site settings on the My sites list and connect again.
Step 4: Check that the widget works
After connecting, the module settings show:
The module refreshes the status once a day, when the back office is opened. The Refresh the status button gets it straight away. Finally, open your shop in a browser and check that the accessibility widget button is visible.
Updating from version 1.x
After the update to version 2.0, the widget keeps working with the token saved before. Connect the shop with your account (step 3) to see its status and plan in the back office.
Disconnecting
The Disconnect button in the module settings ends the connection with your DockAccess account. The widget keeps working in the shop. To see its status again, connect the shop again. Uninstalling the module disconnects the shop as well.
You can also add the widget without the module, with the code from the script documentation pasted into the theme.
Related posts
- Triggering Accessibility Widget Events
- How to install the accessibility widget in Joomla
- Accessibility widget script
- How to install the accessibility widget in MODX
- How to install the accessibility widget in WordPress
Still looking for answers?
Ask our experts using online chat
Download for Google Chrome
Download for Edge
Download for Firefox