Skip to content

Virtual try-on on Tray: how to install

On Tray, the Provei code goes in the theme code editor, in the layout used by every page, right before </body>. You paste it once, and the button shows up on the pages of products in your catalog.

  1. In the Provei dashboard, open Instalação (Installation).

  2. Choose Tray and click Continuar (Continue).

  3. If your account has more than one try-on, choose which one to install now.

  4. Click Copiar código (Copy code).

    Cole este código no tema da loja step with the Tray instructions and the Copiar código button

  1. In the Tray admin, open your store theme’s code editor.

  2. Open the layout file used by every page, usually the one that builds the footer.

  3. Paste the code once, at the end of the code, right before </body>.

  4. Save and publish the theme.

  1. In the Provei dashboard, click Já instalei (I’ve installed it).

  2. Paste the link to a product in your catalog and click Testar (Test).

  3. When you see Tudo certo: o código está nesta página. (All set: the code is on this page.), open the page and check the button.

See the possible results in Test the installation.

  • Não encontramos o código nesta página. (We didn’t find the code on this page.): check that you saved and published the theme and that you pasted the code in the layout used by every page. See Code not found.
  • Theme change: the code lives in the theme. When you switch themes, paste it again and test.
  • The button doesn’t show: the product must be in your catalog and active, and your store address must be enabled by Provei. See The button doesn’t show.