DevGroup-ru / dotplant2

E-Commerce CMS - Yii Framework 2 (yii2, shop)
http://dotplant.ru/
Other
640 stars 253 forks source link

Categories show bug #263

Closed gabriele-carbonai closed 7 years ago

gabriele-carbonai commented 8 years ago

In administration I have "Catalog" like first category. Now if I add new category, for example "Rings" and save the new category and then press the preview button, this will be in "Catalog" category with url: /catalog and there is no way for see the new categories. every category have the same url /catalog, and if I try to change manually for example with /rings ( slug name ) will be return 404 page. I try with catalog/rings and nothing change. it is a bug ?

Nks commented 8 years ago

@gomonkey yes, it's a bug. Now you can resolve this issue like this:

I found http://example.com/backend/route/index controller which can do something with routes, but now it's not working because jquery trying to call when page not loaded fully and I think that javascript on edit page isn't works too.

bethrezen commented 8 years ago

Catalog root model should also have slug 'ring'. Static part in route is for some little performance optimization. Make sure you have matching static_part and root category slugs.

ivansal commented 8 years ago

@gomonkey also new root category should be in the new category group and you should change param category_group_id in table routes

Philosoft commented 7 years ago

closed due to lack of information in passed year