Forums

Covering OroCommerce, OroCRM, OroPlatform topics, including community updates and company announcements.

Forums OroCommerce Variable "organization_name" does not exist.

This topic contains 1 reply, has 2 voices, and was last updated by  wgozdzicki 11 months, 3 weeks ago.

  • Creator
    Topic
  • #32133
    Ayman Hussein
    Ayman Hussein
    Participant

    I created new controller and new view

    view:

    when try to access this action /GetProducts

    I got the following error:

    Variable “organization_name” does not exist.


    arh922

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • #32134

    wgozdzicki
    Participant

    Hi,

    you are extending default Oro twig file which needs a lot of different variables by default.

    You can override it if you don’t need them but you will lose a lot of OroCommerce functionality or you will have to handle it by yourself.

    If you want to keep OroCommerce functionality, please check out e.g. indexAction() of ProductController. It uses layouts.
    If you want to learn more about layouts, please follow: Layout documentation.
    If you want to customize your theme, please read: Theme customization documentation.

    Best regards
    Wiktor

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.

You will be redirected to [title]. Would you like to continue?

Yes No
sso for www.magecore.comsso for oroinc.comsso for oroinc.desso for oroinc.frsso for marketplace.orocommerce.comsso for marketplace.orocrm.com