Skip to content
This repository has been archived by the owner on Nov 30, 2017. It is now read-only.

Get taxonomy url #277

Open
eliysha opened this issue Apr 20, 2015 · 0 comments
Open

Get taxonomy url #277

eliysha opened this issue Apr 20, 2015 · 0 comments

Comments

@eliysha
Copy link

eliysha commented Apr 20, 2015

Hi,

I would like to generate a custom menu without KnpMenuBundle.

I have all taxonomies

$repository = $this->container->get('sylius.repository.taxonomy');
$taxonomies = $repository->findAll(); // Load all the taxonomies!

But I'm dealing with an issue : don't know how to get url of each taxon and parent url in order to do something like this :

-Parent 1
---- Child 1
---- Child 2

-Parent 2
---- Child 1
---- Child 2

can you help me ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant