F
F
FIKSER2018-08-11 14:31:40
opencart
FIKSER, 2018-08-11 14:31:40

How to make changes to the page code on OpenCart?

There are many pages in the footer of the site, I want to remove them from there:

spoiler
37qpw3kMTymKqzoi4evGCw.png

I could only remove the store’s working hours (in the footer), but I couldn’t remove it in the header. In the admin panel, the date of the store’s work is not registered anywhere, but it is on the site.
spoiler
6HA-xnX-Qr_WvdfBHDJfWA.png

Where can I find the code that is responsible for the list of pages in the footer and the working hours of the store, if in the admin. panel this field is empty?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
A
Alex-1917, 2018-08-11
@alex-1917

The menus in the header and footer displays the template. And which pages to show there or there, there should be a checkbox in the settings of each page. Searched there?
It's about the generic template.
Another option for displaying menus is modules - perhaps there is a module, where the choice of what to show in the header or in the footer is already in the module settings ...
Without admin screens, it's a little clear.

D
Darkhan Kamaliev, 2018-08-11
@darakanoit

I asked for a link to see the code.
Usually in opencart I did this.
I find some element through ctrl shift i , I
look for these lines of code in the template, and from there I try to fish out where my legs grow from.
Most of the time it worked.
Such things can come from the controller or the model.

F
FIKSER, 2018-08-11
@FIKSER

I figured out the footer, the information was in footer.tpl, the name of the elements did not match a little.
But I can’t remove the store’s working hours in the site header, although the field with the store’s working hours is empty in the control panel.

Z
zoozag, 2018-08-13
@zoozag

shop working hours, if in admin. panel this field

Did you look in the standard store settings or in the template settings?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question