Jump to content

[Solved] Category position v 1.3.2


Jeet Kune Do

Recommended Posts

For category positioning I use the following method in prestashop version 1.3.2.
(I know the new version has a better feature, but I don't want to upgrade yet because the template)

Rename the categories like
01. LED Sopt Lights
02. LED Down Lights
03. LED Highbay Lights
and so on…

The problem is that I have the module Top horizontal menu v1.1 which displays the numers.

Could you be please so kind to write which code disables the display of the numbers in front?


Thank you in advance!

Link to comment
Share on other sites

Somebody? Please it's urgent!


open tbl module and find ( foreach - number product)


#NIKS Thank you very much for your answer.

Could you please be more specific what should I do? I really don't understand
Should I open the sql table, module files....

I don't now where to start.

Sorry for my stupidity
Link to comment
Share on other sites

go to the folder module Top horizontal menu v1.1
Put here code from a file menu.tbl (or something like that)
We show that the delete ........ If I understand correctly - you want to remove Number of products (near to the name)?

Link to comment
Share on other sites

I should use numbers in order to control the position of my category.

For example:

01. Cars
02. Motorbikes
03. Customs

The problem is that the Top horizontal menu v1.1 don't hide those numers. It' show exactly like above.

I would like that module to show like the category three (by default the numbers are hidden into the categorys names)

Cars
Motorbikes
Customs

I hope I could explain my self better.

Thank you in advance.

Link to comment
Share on other sites

I should use numbers in order to control the position of my category.

For example:

01. Cars
02. Motorbikes
03. Customs

The problem is that the Top horizontal menu v1.1 don't hide those numers. It' show exactly like above.

I would like that module to show like the category three (by default the numbers are hidden into the categorys names)

Cars
Motorbikes
Customs

I hope I could explain my self better.

Thank you in advance.


here you can surf the tbl and some php know))) I'm not familiar with it.
I would have done 2. menu)
In the first independently scored the numbers menu, and the second without the numbers.
And cherezdoval least through postion (unvisible)
Link to comment
Share on other sites

You can use code given below to remove integer part
Replace the category name geting code with

  if(count(explode('.', $categorie->name)) > 1)
     $name = str_replace('.', '', strstr($categorie->name, '.'));
   else
     $name = $categorie->name;




Thank you very much for your suggestion.

I attached the top menu file, maybe you could help me where to add this code.

I will really appreciated!

blocktopmenu.php

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...