Custom Locations via Shortcode

Custom Locations via Shortcode

If you use a page builder — such as Elementor, Divi, or Gutenberg — or want to place the try-on button in a custom section of your product templates, you can drop it in anywhere using a shortcode.


The Shortcode

[mirrago_tryon]

Simply paste this shortcode wherever you'd like the Virtual Try-On button to appear.


How It Works

💡 Smart context detection: The shortcode automatically detects the active product on single product pages — no product ID or extra parameters required.


Where You Can Use It

  • Gutenberg — add a Shortcode block and paste [mirrago_tryon].
  • Elementor — use the Shortcode widget.
  • Divi — use the Code or Text module.
  • Custom templates — place it directly within your product template files.

✅ This gives you complete freedom over button placement, beyond the standard display locations in Button Design.