Connecting Wheel of Fortune Widget to PrestaShop

To add the Wheel of Fortune Widget to your PrestaShop website, follow these steps:

  1. Go to your Wheel of Fortune Widget account and configure your widget settings in the admin panel, including colors, contact type, integrations, etc.
  2. Navigate to the "Code" tab in the widget settings modal window and copy the code snippet. It should look like this:
<script    src=""    async defer></script><wheel-widget id="YOUR_ID"></wheel-widget>

Make sure to replace "YOUR_ID" with your actual widget ID, which you can find in your admin panel.

  1. Log in to your PrestaShop admin panel and navigate to "Design" > "Theme & Logo".
  2. Select the theme you want to add the widget to and find the "header.tpl" file.
  3. Click on the "Edit" button to open the editor.
  4. Paste the code snippet you copied in step 2 just above the closing </head> tag.
  5. Save your changes and preview your website to ensure that the Wheel of Fortune Widget appears correctly.

That's it! Your website visitors can now spin the wheel and engage with your brand. If you want to change the widget ID, simply update it in your admin panel and the widget will reflect the changes automatically.