Hi All,
I am new to EE and learning things step by step. What i want to do seems simple but i’m struggling to get the results that i want.
I have a channel called Products and a category called Products, within the category Products there are many sub categories.
My particular scenario is this i have a product menu like this:
+Air Elimination Test
-Sterilizers
-Benchtop Sterilizers
My category like this:
+Products
+Air Elimination Test
-Sterilizers
-Benchtop Sterilizers
I have 2 product entries assigned to category sterilizers and 1 product assigned to benchtop sterilizers.
I want to use 1 template which i have named air_elimination_tests to show the overall products in the category and then the individual product entry.
To differentiate the sterilizers entries from the benchtop sterilizer entries i have added a heading in the url like this http://www.mysite.com/air_elimination_tests/sterilizers. i have conditionals that if sterilizers is the 2nd segment then show entries from sterilizers category, if benchtop sterilizers is the 2nd segment then show entries from the benchtop sterilizers category.
This part works fine but my problem comes in when i want to display the actual entry on it’s own - i want the url to remain as http://www.mysite.com/air_elimination_tests/sterilizers/entry_title or www.mysite.com/air_elimination_tests/benchtop_sterilizers/entry_title but what i get is all entries from the category. My link to the entry is:
a href={title_permalink=air_elimination_tests/sterilizers}>Read full product info…
I had this working fine when just using http://www.mysite.com/air_elimination_tests/entry_title so i am guessing it is because i have added sterilizers and benchtop_sterilizers into the URL.
I’m not sure what i can do to get around this or how else to go about it to get the result i would like.
I hope someone can help me.
cheers,
Ben.