b2bpartnerb2bpartner MemberComments: 1 Received thanks: 0 Member since: July 2016

Hello,

is there any way how to add more links to top menu or to add there some static text? See example:Example

 

Thank you.

Robert

 

Answers

  • Stephan PohlStephan Pohl AdministratorsComments: 502 Received thanks: 176 Member since: April 2010

    Hey Robert,

    it is possible to add links or text into the header but it depends on the position you want to add them. In general the Shopware Theme is divided into Smarty blocks (https://developers.shopware.com/designers-guide/getting-started/#template-blocks).

    So you can just go to the "Bare" theme, head to the "frontend/index/index.tpl" file and look up the position you want to extend. Now you're creating a new theme (using either the button in the Shopware Backend or using the CLI command - see: https://developers.shopware.com/designers-guide/getting-started/#custom-themes). Create a new file "frontend/index/index.tpl" and extend from the inherit template file:

    {extends file="parent:frontend/index/index.tpl"}

    Now just place your block into the newly created file and add the content you want. The rest is just styling Smile

    I would recommend looking into our designer's guide to get used to the inheriance system: https://developers.shopware.com/designers-guide/theme-startup-guide/

    Best regards,
    Stephan Pohl Shopware

  • b2bpartnerb2bpartner MemberComments: 1 Received thanks: 0 Member since: July 2016

    Thank you Stephan for explanation. Unfortunatrelly we do not have access to directories on the web server. I was looking for some way of change source code in the administration.

    Thank you.

    Robert

Sign In or Register to comment.