Discord Chat Integration: setup and help

Quick start

  1. Upload the mprdiscordchatintegration ZIP through Modules > Module Manager > Upload a module.
  2. Click Configure and open Discord Connection.
  3. Enter only your Discord invite code in Invite Code, for example AbCdEfG123.
  4. Keep Enable Discord Chat on and review Button Appearance, including Position and Button Style.
  5. Review Show on Mobile, Show on Pages and Fallback Delay (seconds) in Display Behavior, then save.
  6. Use Test link in Discord Setup to confirm the invite is valid.
  7. Open an allowed storefront page, interact or wait for the fallback, then click the button and confirm your Discord invite opens in a new tab.

Requires PrestaShop 1.6 or later and PHP 7.1 or later.

Setup manual

Install and configure

Follow the steps in Quick start.

Discord Connection

Open Configure in Module Manager. Create an invite for your Discord server before configuring the module. Prefer an invite that will remain valid for your intended use.

Setting Default What you configure
Enable Discord Chat Yes Allow the invite button to render on eligible pages.
Invite Code Empty Enter 2 to 64 letters, numbers, underscores or hyphens. Paste the code after discord.gg/, not the full URL.

For https://discord.gg/AbCdEfG123, enter AbCdEfG123. After saving, Discord Setup shows your code and a Test link. New identifier edits are validated. An invalid edit keeps the previous settings. The button requires an invite code; an expired Discord invite still opens its link.

Button Appearance

Setting Default When to change it
Position Bottom Right (bottom-right) Select Bottom Left (bottom-left) if other controls occupy the right corner.
Button Style Floating Icon (icon) Select Bar with Text (bar) to display text beside the icon.
Button Text Join our Discord Set your label. In icon mode it also supplies the accessible link label.
Button Color #5865F2 Set the background color.
Button Size (px) 60 Adjust the icon button diameter.
Margin from Edge (px) 20 Adjust the distance from the chosen screen edges.
Show Tooltip Yes Turn off the hover tooltip if it is unnecessary.
Tooltip Text Join us on Discord Set the tooltip wording.
Animation Pulse (pulse) Select Bounce (bounce) or None (none).

You can translate Button Text and Tooltip Text for your shop languages. An empty translation follows the default-language text, then the original stored value.

For a text button on product pages, select Bar with Text, enter your label, choose Bottom Left, set Show on Pages to Product Pages Only, and select None if you want no animation.

Display Behavior

Setting Default What you configure
Show on Mobile Yes Allow the button for devices detected as mobile by PrestaShop.
Fallback Delay (seconds) 0 Load on first interaction, or after this maximum wait. Zero uses a 10-second fallback.
Show on Pages All Pages (all) Select Product Pages Only (product), Category Pages Only (category) or Checkout Pages Only (checkout).

Checkout targeting matches cart, order, order-opc, orderopc and checkout. A custom checkout with another controller name will not match this selection.

The shared renderer inserts the button on the first interaction, such as scroll, click or touch, or when the fallback expires. It manages timing outside the template and sets the template's own delay to zero while rendering. You therefore do not need to add data-delay or a second timeout.

Storefront behavior

The module registers its local views/css/mprdiscordchatintegration.css file through displayHeader and renders its button through displayBeforeBodyClosingTag. The link opens https://discord.gg/YOUR_CODE in a new tab with noopener noreferrer.

You get an invite link with an inline SVG icon, local styling and the shared loader. The module does not load a Discord SDK or embed conversations in your shop. Visitors complete the join process in Discord with a Discord account. There is no Pre-filled Message field or message handoff in this version.

Customize the button

Use your theme's CSS for small appearance adjustments:

#mprdiscord-widget.mprdiscord-bar a {
  padding: 10px 18px;
  border-radius: 24px;
}
#mprdiscord-widget .mprdiscord-tooltip {
  background: #111;
  font-size: 12px;
}
#mprdiscord-widget.mprdiscord-bottom-left {
  bottom: 32px;
  left: 32px;
}

The wrapper exposes --mprds-color, --mprds-size and --mprds-margin, plus position, style and animation classes such as mprdiscord-bottom-right, mprdiscord-icon and mprdiscord-pulse.

To change the markup, copy the hook template to:

/themes/your-theme/modules/mprdiscordchatintegration/views/templates/hook/displayBeforeBodyClosingTag.tpl

The assigned array is mprdiscord; the default template aliases it to ds. Available keys are invite_code, position, style, cta_text, color, size, margin, show_tooltip, tooltip, animation and delay. There is no message key. Keep escaping, the accessible label and the link's new-tab protection in your override.

Verify and troubleshoot

Use Test link to test the invite separately from the widget. Then check a product page, a category page and checkout against your targeting choice. Test first interaction and a fresh page left untouched for the fallback. Check translated text and the mobile setting.

If the button is absent, check the enabled switch, code, page/controller match and mobile detection. Confirm your theme executes both registered hooks and loads the local stylesheet. Check JavaScript errors if the interaction loader never releases the button.

If the button overlaps another control, adjust Position, Margin from Edge (px) or your theme CSS. If the invite fails, replace it with a valid code in Discord Connection. The module cannot renew expired Discord invites.

Disable or uninstall

Set Enable Discord Chat to No and save to pause the button while keeping settings. Uninstall through Module Manager to remove its menu and module configuration. Manage the server, membership and invites in Discord.

Reference screenshots

Use the setting names above when a reference screenshot differs from your installed version.

Discord Chat Integration, Admin discord appearance

Discord Chat Integration, Storefront button tooltip

Discord Chat Integration, Admin discord connection

Discord Chat Integration, Storefront button visible

Discord Chat Integration, Storefront mobile button

Discord Chat Integration, Admin discord behaviour

Questions

1

Does the Discord invite button send shopper identity or save conversations?

The button opens your invite at https://discord.gg/ in a new tab without adding shopper identity or a message. It uses local styling and an inline SVG icon and does not save Discord conversations in PrestaShop.

Known Issues

5

Settings labels remained untranslated

ResolvedUpdated:
Fixed in: 1.1.18
Translated module settings could still display in English.

Chat link accessible name did not match its text

ResolvedUpdated:
Fixed in: 1.1.18
Screen readers could announce the wrong label instead of the visible contact text in the current shop language.

Outdated setup warning after saving

ResolvedUpdated:
Fixed in: 1.1.18
The setup warning did not immediately reflect saved settings.

Asset combination compatibility

ResolvedUpdated:
Fixed in: 1.1.14
Discord integration assets did not combine correctly with native storefront asset optimization.

Older chat settings not migrated

ResolvedUpdated:
Fixed in: 1.1.13
Chat settings from older installations could be lost when the updated settings storage was used.

Feature Requests

5

Implemented

One-click module updates

Implemented
Check for and install module updates from the back office.

Multilingual interface

Implemented
Use translated module labels and messages in French, German, Spanish, Italian and Polish.

Installation checks and repair

Implemented
Check the module installation and restore missing back-office menu entries.

Discord contact link

Implemented
Let shoppers open the configured Discord contact destination from the storefront.

Visitor text per language

Implemented
Configure visitor-facing chat text for each shop language.

Changelog

v1.1.132026-09-02

  • Addedcomplete FR/DE/ES/IT/PL translations
  • FixedMigrate chat config from ps_configuration to ConfigTable
Older releases

v1.3.02026-04-20

  • Addedadmin menu management via MenuInstaller for streamlined module setup
  • AddedLicense management tab with key management and renewal options
  • Addedself-healing integrity checks for automatic diagnostics and repair
  • Addedcomplete FR/DE/ES/IT/PL translations

v1.2.02026-02-16

  • AddedPrestaShop 9 and Hummingbird theme compatibility
  • Addedconfigurable widget tooltip text displayed on mouse hover
  • Improvedmobile button positioning with adjustable bottom offset to avoid browser navigation bar
  • Fixedwidget appearing on checkout pages when hide-on-checkout option is enabled
  • Addedconsent-aware loading: widget defers until functional cookie consent category is accepted

v1.1.02025-06-20

  • Addedoption to open Discord invite in a new tab or in an embedded popup overlay
  • Addedconfigurable button icon: Discord logo, generic chat bubble, or community icon
  • Improvedbutton animation options: pulse, bounce, or static display
  • Fixedwidget not rendering on category pages when PS theme uses deferred DOM insertion

v1.0.02025-05-30

  • Initialrelease with Discord Chat Integration
  • InitialFloating Discord community button displayed on all front-end pages
  • InitialConfigurable Discord invite URL and button corner position
  • InitialBack-office toggle to show or hide independently on desktop and mobile devices

Demo

Test the full module before you buy

Buy a licence later and keep your settings.

  • Your 30-day demo Test it on your own shop for 30 days from the first install.
  • Ready demo shop Explore a ready demo shop in your browser.
  • No registration No account, email or store domain needed.
Launch demo shop

By downloading, you accept the demo terms and privacy policy.

By opening this demo you accept the demo terms and the privacy policy.

Loading...
Back to top