Post by tkalas » Wed Dec 27, 2017 11:22 pm

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.

Newbie

Posts

Joined
Wed Dec 27, 2017 11:09 pm

Post by MarketInSG » Thu Dec 28, 2017 12:34 am

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


User avatar
Guru Member

Posts

Joined
Wed Nov 16, 2011 11:53 am
Location - Singapore

Post by straightlight » Thu Dec 28, 2017 8:02 am

Since this inquiry is about customizing a menu, along with the homepage, then JS skills will also be needed in this case.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by avarahvahin » Thu Dec 28, 2017 12:53 pm

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

Thanks,
Team Pamtechsolutions
dev@pamtechsolutions.com

View All My Extensions


User avatar
Newbie

Posts

Joined
Sat Nov 18, 2017 2:22 pm

Who is online

Users browsing this forum: Majestic-12 [Bot] and 63 guests