# FAQ

# Output variables on shopping experiences

You can access all variables and properties of the product shopping experiences in order to display information from additional fields or master data, for example. This opens up completely new possibilities. To do this, activate the "Twig Compiler" switch in the shopping experience.

# Example:

  • To display the information, enter

    {{ page.product.translated.name }}

    in a text field and the product name will be displayed in the frontend.
  • To output the content of an additional field, use

    {{ page.product.customFields.TECHNICALNAME|raw }}

    You can find the technical name of the field under:
    Admin > Settings > System > Additional fields > Set > Field.

# Tip:

  • With

    {{ dump(page.product) }}

    you can output all variables (works ONLY in the DEV environment).
  • In order not to burden the performance of your shop unnecessarily, you should leave the switch deactivated if you do not want to access variables.

# No shopping experiences are displayed:

Check if:

  • the plugin is active
  • a shopping experiences has been assigned to a product
  • an individual layout has been assigned to the product. Note that in this case only shopping experiences with the position: "Position last element of the page" are displayed. (from plug-in version: 4.1.3).