Hello,
I am creating my second website with cobalt 8 but still didn't get how it really works:) Maybe it's because the lack of tutorials, or i can't find them.
So, I have a task but can't find how it should be properly accomplished with Cobalt8, I hope you can help me.
I need to create a website with products catalog, which should be grouped by categories, and it would be great that web admin could add records and new categories form frontend. Also I need add custom fields in categories (for example. country of the manufacturer, additional photos). If user comes to some category he should see some specific information that is relevant to that manufacturer and all the products of this manufacturer.
I can't do that because admin can't create categories from frontend and he can't add some additional info to them.
What I did:
In the section I have created manufacturers category, also I have type with all the fields I need for manufacturers which submits to this category.
In the manufacturers category I created products subcategory and type for submitting products to this subcategory. In the producs type I have select field where I use SQL Source for selecting manufacturers from parent category ("SELECT id
as id, title
as text FROM #__js_res_record
WHERE type_id
= 1") so that admim could add manufacturer name to this product.
Problem:
So manufacturers aren't categories, they are simply articles, and if i come to manufacturer page i only can get a manufacturer info but not all products related to this manufacturer. Of course I can use api for rendering articles list but i need to get them all and then filter throw the manufacturer name. And I don't think it will be a good decision.
Also if i do it this way when I come to product breadcrumbs didn't show manufacturer category, because there is no such.
I am waiting your response and advice, because now I dont know I am doing it the right way:)
Hello, I am creating my second website with cobalt 8 but still didn't get how it really works:) Maybe it's because the lack of tutorials, or i can't find them. So, I have a task but can't find how it should be properly accomplished with Cobalt8, I hope you can help me.
I need to create a website with products catalog, which should be grouped by categories, and it would be great that web admin could add records and new categories form frontend. Also I need add custom fields in categories (for example. country of the manufacturer, additional photos). If user comes to some category he should see some specific information that is relevant to that manufacturer and all the products of this manufacturer. I can't do that because admin can't create categories from frontend and he can't add some additional info to them.
What I did: In the section I have created manufacturers category, also I have type with all the fields I need for manufacturers which submits to this category. In the manufacturers category I created products subcategory and type for submitting products to this subcategory. In the producs type I have select field where I use SQL Source for selecting manufacturers from parent category ("SELECT
id
as id,title
as text FROM#__js_res_record
WHEREtype_id
= 1") so that admim could add manufacturer name to this product.Problem: So manufacturers aren't categories, they are simply articles, and if i come to manufacturer page i only can get a manufacturer info but not all products related to this manufacturer. Of course I can use api for rendering articles list but i need to get them all and then filter throw the manufacturer name. And I don't think it will be a good decision. Also if i do it this way when I come to product breadcrumbs didn't show manufacturer category, because there is no such.
I am waiting your response and advice, because now I dont know I am doing it the right way:)