Skip to main content
PrestaShop logo PrestaShop

Virtual try-on for
PrestaShop

Implement Provei.AI virtual try-on in your PrestaShop store by creating a simple module or editing the theme. Open-source solution compatible with PrestaShop 1.7+, ready for multi-store, and 100% customizable through a PrestaShop module or theme.

15-20 minutes Difficult

Virtual try-on compatible with PrestaShop 1.7+

Install through a PrestaShop module or theme

Multi-store support for multiple PrestaShop stores

Open source: customize your virtual try-on

Installation code

Copy the script from your Provei.AI dashboard and install it where this platform’s guide indicates. The USER_ID is unique to each account.

  • No apps or plugins are required.
  • The script is asynchronous and does not block loading.
  • Removing the script instantly disables virtual try-on.
Snippet Use the dashboard script
<!-- Provei Widget - Environment Visualizer -->
<script src="https://app.provei.ai/api/v2/snippet/SEU_USER_ID" async></script>

Step-by-step installation

Follow the path below to install the script in your PrestaShop store: Register on the displayHeader hook or edit head.tpl.

Through a PrestaShop Module (Recommended)

Create a module in /modules/provei/

  1. 1

    Create the PrestaShop module structure

    Create the /modules/provei/ folder in your PrestaShop store with provei.php, config.xml, and logo.png.

  2. 2

    Create the main provei.php file

    Implement the Module class with install() and hookDisplayHeader() methods to inject the virtual try-on script into your PrestaShop theme head.

  3. 3

    Configure config.xml

    Add config.xml with the PrestaShop module information (name, version, author, and compatibility).

Through a PrestaShop Theme (Alternative)

themes/[seu_tema]/templates/_partials/head.tpl

  1. 1

    Open the PrestaShop theme files

    Using FTP or a file manager, open the active theme folder in your PrestaShop store.

  2. 2

    Edit head.tpl

    Open your theme’s templates/_partials/head.tpl file to add virtual try-on.

  3. 3

    Insert the try-on script

    Add the Provei.AI virtual try-on code before the closing head tag in the PrestaShop template.

  4. 4

    Save and clear the cache

    Save the theme changes and clear the cache under Parâmetros Avançados > Desempenho.

Important notes

  • PrestaShop has no native interface for adding scripts to the theme head.
  • Module installation is recommended because it survives theme updates.
  • In a multi-store setup, configure the module for each PrestaShop store individually.
  • Always clear the cache after changes: Parâmetros Avançados > Desempenho > Limpar cache.

Benefits for PrestaShop stores

Provei.AI improves the shopping experience without requiring changes to your current flow.

Complete PrestaShop customization

Use PrestaShop’s open-source code to fully customize PrestaShop virtual try-on around your brand identity.

94% higher conversion

PrestaShop stores with virtual try-on convert 94% more visitors into buyers than stores without this technology.

40% fewer returns

Customers in your PrestaShop store who use virtual try-on return 40% fewer products after seeing them before purchase.

Full control through a module

Manage the try-on script through a dedicated PrestaShop module that you control and can disable at any time.

Native multi-store support

Works seamlessly with PrestaShop multi-store configurations, letting you configure virtual try-on for each store separately.

Independent of the theme

The module is separate from the theme, so settings are unaffected by design updates or template changes.

About the integration

PrestaShop is one of the world’s most popular open-source e-commerce platforms, giving you full control over your PrestaShop online store. Unlike closed platforms, PrestaShop enables deep customization, although implementing features such as virtual try-on requires a little more technical knowledge.

The best way to add Provei.AI virtual try-on to PrestaShop is to create a dedicated module that registers the displayHeader hook. This approach is better than direct theme editing for several reasons: it survives theme updates without losing settings, can be enabled or disabled as needed, works seamlessly in multi-store environments, and follows the platform’s development best practices.

If you do not have PrestaShop development experience, we strongly recommend hiring a specialized developer or partner agency. Although you can edit the theme directly to add virtual try-on, that approach is less reliable because updates may overwrite your changes.

Combining PrestaShop’s open-source power with Provei.AI virtual try-on creates a unique, fully customized shopping experience. Use the platform’s flexibility to position try-on where it makes the most sense for your product catalog and sales strategy.

Contact our support team if you need specialized help implementing virtual try-on in your PrestaShop store.

Frequently asked questions

Quick answers about installation and how it works.

1 How do I install virtual try-on on PrestaShop?

You can install PrestaShop virtual try-on in two ways: create a custom module (recommended) that registers the displayHeader hook, or edit your theme’s head.tpl file directly. The module approach is better because it survives theme updates and can be enabled or disabled easily.

2 Do I need to know how to code to install PrestaShop virtual try-on?

Yes. Module installation requires basic PHP knowledge and familiarity with the PrestaShop module structure. If you do not have PrestaShop development experience, hire a specialized developer or use a ready-made module. Editing the theme is simpler but less recommended.

3 What is the best way to add virtual try-on to a PrestaShop store?

The PrestaShop module approach is definitely the best. Unlike direct theme editing, an independent module survives theme updates, can be disabled for troubleshooting, works correctly in multi-store setups, and follows PrestaShop development best practices.

4 Does virtual try-on work with every PrestaShop version?

Provei.AI virtual try-on is compatible with PrestaShop 1.7 and later, including PrestaShop 8.x. Older versions (1.6 and below) may require adapting the module code. Always check compatibility before installation.

5 Does it work in a multi-store PrestaShop setup?

Yes. The PrestaShop module can inject virtual try-on into every store in your multi-store setup or only selected stores. This gives you full control over each virtual-store configuration.

6 Do I need to clear the cache after installing PrestaShop virtual try-on?

Absolutely. PrestaShop has an aggressive cache system. Always clear the cache under Parâmetros Avançados > Desempenho > Limpar cache after installing or changing the virtual try-on module. Clearing your browser cache is also recommended when testing.

7 Where can I find the virtual try-on code for my PrestaShop store?

The virtual try-on JavaScript code is available in your Provei.AI dashboard with your unique USER_ID. Each PrestaShop store receives a specific code. Copy it into your module or theme by following our installation documentation.

8 Is PrestaShop virtual try-on really open source?

Yes. The PrestaShop integration is fully open source. You have access to the module code and can modify it as needed. PrestaShop itself is also open source, enabling deep customization of virtual try-on for your business.

Other platforms

Explore other platform installation guides.

Shopify logo

Shopify

Shopify virtual try-on with a five-minute installation for your store.

View installation guide
WooCommerce logo

WooCommerce

The best WooCommerce virtual try-on. Integrate in five minutes and increase sales with AI.

View installation guide
VTEX logo

VTEX

Enterprise VTEX virtual try-on for large B2B and B2C operations.

View installation guide
Nuvemshop logo

Nuvemshop

Accessible, easy-to-install Nuvemshop virtual try-on for Brazilian stores.

View installation guide
Magento logo

Magento

Virtual try-on for Magento 2 and Adobe Commerce with multi-store, B2B, and enterprise support.

View installation guide
Tray logo

Tray

Tray virtual try-on installs in five minutes. Increase Tray e-commerce sales with AI technology.

View installation guide
Squarespace logo

Squarespace

Elegant Squarespace virtual try-on for designers and premium brands.

View installation guide
Wix logo

Wix

Wix virtual try-on for site creators. Simple Custom Code installation in minutes.

View installation guide
Yampi logo

Yampi

The best virtual try-on for Yampi, built for Brazilian social-commerce merchants.

View installation guide
Loja Integrada logo

Loja Integrada

Use virtual try-on on Loja Integrada and increase conversions in minutes.

View installation guide
Bagy logo

Bagy

Bagy virtual try-on: increase conversions in minutes with a simple installation

View installation guide
Magazord logo

Magazord

The best Magazord virtual try-on to increase sales in your Brazilian online store.

View installation guide
Dooca logo

Dooca

Dooca virtual try-on installs in five minutes for stores with no monthly fee.

View installation guide
Wbuy logo

Wbuy

Wbuy virtual try-on for stores selling through live streams and social commerce.

View installation guide
WAKE logo

WAKE

WAKE Storefront virtual try-on through a JavaScript snippet in the product template.

View installation guide

Ready to activate Provei.AI?

Copy the dashboard script and publish it in your store in just a few minutes.

Talk to a specialist

We use necessary storage for the site to work. Usage analytics is enabled only with your permission.

Read the Cookie Policy