Hi,
i am using ps-1.6.1.5, default theme.
the block categories module that prestashop provides freely,is not displaying any subcategories.
any suggesions how to do it
public static function getCategoryName($id){ $category = new Category ($id,Context::getContext()->language->id); return $category->name; }
public static function getsCategoryName($id){ $subcategories = Category::getChildren($id,Context::getContext()->language->id); foreach($subcategories as $category) { echo $category['name']."<br>"; } }
the above two functions display category and and subcategory names respectively by id,s.
now i want to link them to their category page separately for both functions .
any idea how to do this.
i have zero knowledge of coding
hi guys,
public static function getCategoryName($id){ $category = new Category ($id,Context::getContext()->language->id); return $category->name; }
through this code in controller.php , i managed to display the category name by specific id.
but how to modify it to display even sub categories in it.
i also want it to link to category page.
any additions to this .
Hi guys,
I have one problem, have a look at my attached image,
you can see that the categories are getting listed in one column only.
I am using block categories module to display it .
upon certain height i want it to take second column.
i have also attached screenshot of div, under tab-3, cat_hook is the custom hook for block categories module.
how to do it please help.
hi guys,
I am customizing my menu just the way it looks in this demo site http://mapplinks.net/demo/pm/nativebag/
it works like tb and tab content.
I have attached an image ,here when i click on Categories,
all subcategories should display on right hand empty side.
how to achieve it .
hello guys, I have one problem,I have to manage suppliers in the format i have shown below in menu
Fashion supplier
->supplier 1
->supplier 2
Electronic goods supplier
->supplier 1
->supplier 2
i really want to achieve this,please help
Hi guys,
I want to modify entire footer and its complete styling,
I was able to change html in footer.tpl but,
CSS is not applying ,
i want to create separate stylesheet for footer ,how to do it guys
I despiratly want to achieve this,
please help.
Hi guys,
have a look at the image i have attached,
there is some problem with styling of newsletter and social icons module,
i tried everything i knew,
please me sorting this out