Jump to content

Üst Yatay Menü Derinlik Sorunu


tkirgiz

Recommended Posts

prestashop 1.6 ile default tema ile kozmetik sitesi oluşturdum fakat çok kategori olduğu için üst menü çok uzuyor üst menü derinliğinin 2 kategoride kalmasını daha derinlerinin gözükmemesini  istiyorum yardımlarınız için teşekkürler 

 

Parfümler kategorisi ve 1 alt kategori gözüksün marka kategorileri gözükmesin öasaüstü görüntüsünü altta ekledim

post-830008-0-11904200-1408347166_thumb.jpg

Link to comment
Share on other sites

modules>blocktopmenu>blocktopmenu.php dosyasını açın ve aşağıdaki satırı bulun.

if (isset($category['children']) && !empty($category['children']))

Aşağıdaki ile değiştirin. En sonuna bir koşul daha ekledik.

if (isset($category['children']) && !empty($category['children']) && ((int)$category['level_depth'] == 2))
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...