Page 1 of 1

Customize menu and homepage.

Posted: Wed Dec 27, 2017 11:22 pm
by tkalas
Hi,

i'm new in open cart eshop i'm trying to customize basic theme. I'm using version 3.0.2.0

  • My first problem is that, so i want to add information page to top menu. Defaultly is possible add this page only to bottom menu.
  • Second problem is that, so i want to customize homepage, i want to add simple image and some text, but i can add only some modules, image carousel, etc. Is possible edit some template for homepage ? Or i have to install some module which can do add plain text or image to homepage ?
Thanks for your advice.

T.

Re: Customize menu and homepage.

Posted: Thu Dec 28, 2017 12:34 am
by MarketInSG
welcome to opencart :)

If you wish to customise the software, you will need to have knowledge on HTML and PHP, before you are able to proceed further.

If not, try the marketplace for extensions that will do what you need: https://www.opencart.com/index.php?rout ... /extension

Re: Customize menu and homepage.

Posted: Thu Dec 28, 2017 8:02 am
by straightlight
Since this inquiry is about customizing a menu, along with the homepage, then JS skills will also be needed in this case.

Re: Customize menu and homepage.

Posted: Thu Dec 28, 2017 12:53 pm
by avarahvahin
You can add information pages on top by adding below code:
<li class="dropdown"><a class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-user"></i> <span class="hidden-xs hidden-sm hidden-md">{{ text_information }}</span> <span class="caret"></span></a>
<ul class="dropdown-menu dropdown-menu-right">
{% for information in informations %}
<li><a href="{{ information.href }}">{{ information.title }}</a></li>
{% endfor %}
</ul>
</li>

on file catalog/view/theme/YOURTHEME/template/common/header.twig before the line:
<li><a href="{{ wishlist }}" id="wishlist-total" title="{{ text_wishlist }}"><i class="fa fa-heart"></i> <span class="hidden-xs hidden-sm hidden-md">{{ text_wishlist }}</span></a></li>

And for any support you can contact me at: avarahvahin@gmail.com