Create new category

Questions around the TYPO3 integration and plugins
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
nse.online
Posts: 1
Joined: 17 Oct 2019, 11:52

Create new category

Post by nse.online » 17 Oct 2019, 12:06

Hello,

I am new to Aimeos shop. This why I have this question maybe.

I have category "Home" and after that on the second level I have 2 other subcategories.
Now I want to create another category called "Test" on first level and then also 2 other subcategories. See pics in the attachment.
How can I do that?

Typo3 version 9.5

BR
Steven
Attachments
Capture_.PNG
Capture_.PNG (136.26 KiB) Viewed 1133 times

User avatar
aimeos
Administrator
Posts: 7889
Joined: 01 Jan 1970, 00:00

Re: Create new category

Post by aimeos » 18 Oct 2019, 11:08

There can only be one category tree with one root node so add all "level 1" nodes below "Home". In the tree template you can remove displaying the "Home" category if you don't want it. Replace

Code: Select all

array( $this->treeCatalogTree )
by

Code: Select all

$this->treeCatalogTree->getChildren()
in your local copy of https://github.com/aimeos/ai-client-htm ... rd.php#L81
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply