Adding subcategories to main categories
I added categories to my restaurant review demo following the features library videos. Now i was trying to add subcategories. I created a model of subcategories and did the association with the category. Now i want subcategories to be create when i create the main category. Then later on will add ajax to the view so that when a user select a category of a restaurant then a subcategory will come up. At the moment im mixed up on making and doing the right way of the category subcategory relationship.
Posted over 5 years ago by