Timeline for How do i get the base parent category name?
Current License: CC BY-SA 3.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 13, 2017 at 12:54 | history | edited | CommunityBot |
replaced http://magento.stackexchange.com/ with https://magento.stackexchange.com/
|
|
Aug 18, 2014 at 14:05 | comment | added | Marius♦ |
If count($pathParts) == 4 then the category is of level 2 and you end up on elseif case. Where the top level category is loaded and the name is shown.
|
|
Aug 18, 2014 at 13:58 | comment | added | Attila Naghi | but , but what will happen is current category is of level 4 ? if(count($pathParts) == 4 ) ? | |
Aug 18, 2014 at 13:55 | comment | added | Marius♦ | @Chester. Sorry. My bad. I fixed it. | |
Aug 18, 2014 at 13:55 | history | edited | Marius♦ | CC BY-SA 3.0 |
added 8 characters in body
|
Aug 18, 2014 at 13:48 | vote | accept | Attila Naghi | ||
Aug 18, 2014 at 13:45 | comment | added | Attila Naghi | I dont understand this part: isset($parts[2]. where is declared $parts ? | |
Aug 18, 2014 at 13:36 | history | answered | Marius♦ | CC BY-SA 3.0 |