:::: MENU ::::

Virtual Try On Free Extensión for Magento powered by Nano Banana

Because your customers don’t just want to see themselves in the fitting room… they also want to see themselves on the screen.

IMPORTANT: This extension is still under development. Current limitations include:

  • No full support for configurable products (only works with the default selection).
  • Very few configuration options: the button will either be shown on all products or on none (you cannot choose where it will appear).
  • The prompt used is hardcoded 😬
  • The API class that sends the request to Nano Banana still needs some refactoring.
  • You’ll also need this other extension 👉 https://github.com/danidnm/ByDN-Magento-Customer-Avatar (yep, that one’s mine too).

🤔 What is this?

A module for Magento 2.4+ that adds a magic button to the product page and lets the user “try on” the item in their own photo. No hype: it’s not the Matrix, but it’s a cool extra to improve your online store experience.

🚀 Installation

composer require bydn/virtualmirror
bin/magento module:enable Bydn_VirtualMirror
bin/magento setup:upgrade
bin/magento cache:flush

If you’re one of those who drag folders into app/code and then ask in forums why it doesn’t work… it also works (go to my GitHub to download), but I don’t recommend it 😅.

⚙️ Configuration

Backend: don’t worry, there are barely any settings (for now)

🧪 Usage

1. In your user account, upload your photo under Account Information.

  1. Go to a product page.
  2. Click on “Try on me.”
  3. Let Nano Banana do the magic and Enjoy

🛠️ Requirements

  • Magento 2.4.8+ (tested). Probably works also in previews versions, but I didn’t test it.
  • PHP 8.3 / 8.4 (probably 8.2 and 8.1 as well, but not tested)

📜 License

If you fork, change, or share this extension:

  • Keep it free and open under the GPL-3.0 license.
  • Mention the original author in your README or composer.json.
    It’s polite. And we like polite devs.

That said, if you build a million-dollar SaaS with this, don’t forget to buy me a beer 🍺.

😩 Having problems?

Ping me

(No guarantees, but I’ll try to help)