Skip to content
This repository was archived by the owner on Dec 1, 2020. It is now read-only.

[-] MO: Level 1 subcategories pointing to home#32

Open
axometeam wants to merge 1 commit into
PrestaShop:masterfrom
axometeam:patch-3
Open

[-] MO: Level 1 subcategories pointing to home#32
axometeam wants to merge 1 commit into
PrestaShop:masterfrom
axometeam:patch-3

Conversation

@axometeam
Copy link
Copy Markdown
Contributor

If you add the a level_depth 0 category to the links set (root category) every children categories point to the homepage instead of its own category page. This commit also fixes a warning occuring if the $cat variable is not instanciated due to the conditional test above.

If you add the a level_depth 0 category to the links set (root category) every children categories point to the homepage instead of its own category page. This commit also fixes a warning occuring if the $cat variable is not instanciated due to the conditional test above.
@MrManchot
Copy link
Copy Markdown

Up

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants