Different structure than demo shop - how to list categories for each catalog
Hi
In uCommerce I have multiple catalogs with categories. My page structure right now looks like:
category -> product
But my goal is to have:
catalog1 -> category* -> product
catalog2 -> category* -> product
... and so on
*their can be several categories under each catalog.
My starting point is the uCommerce Razor Shop, but I'am having trouble showing a list of the categories under the catalog. Should I add a 'Category' document type? and how should I edit the urlRewriting.config?
Here is a part of the url rewriting file for one catalog:
Different structure than demo shop - how to list categories for each catalog
Hi
In uCommerce I have multiple catalogs with categories. My page structure right now looks like:
category -> product
But my goal is to have:
catalog1 -> category* -> product
catalog2 -> category* -> product
... and so on
*their can be several categories under each catalog.
My starting point is the uCommerce Razor Shop, but I'am having trouble showing a list of the categories under the catalog. Should I add a 'Category' document type? and how should I edit the urlRewriting.config?
Here is a part of the url rewriting file for one catalog:
Best regards
Kim
Okay, I will answer this myself :)
It is really ease to customize the structure by changing the url rewrites.
If you want to have a catalog -> category -> product structure, you will have to edit the rewrite to:
Notice the "SecondHandCategoryRewrite":
And of course you will have to map the structure in Umbraco:
Best regards
Kim
is working on a reply...