How to create custom category tree with custom posts in magento 2

Viewed 13

Hello i am trying to build a custom category with its own custom posts and then create the urls for them. So far i ve managed to create them in the database as offers with their own attributes. Every offer has a category and a brand. My module has this path apps/code/vendor/myapp/

and inside here i have the etc folder with the route file whice creates the url mysite.com/myapp/

now i would like to to create this url mysite.com/myapp/offers/the_name_of_the_offer

how can i accomplise such a thing?

so far i ve managed to display all my offers in one view. but i dont know how can i display the single offer view and inside ofcource its attributes

0 Answers
Related