You can render macro's inside macro's (MACROCEPTION!). Have macro's per naming convention and then have a macro that renders out the macros if you're in a specific context (UCommerce.Runtime can tell you weather you're in a product or category page). So would the navigation as well so you can have two different macros that renders out the category or the product macro's.
Different templates per category or product
I have the need that certain categories gets rendered differently from others. The same for products.
Has anyone got experience or hints and tips for this?
You can render macro's inside macro's (MACROCEPTION!). Have macro's per naming convention and then have a macro that renders out the macros if you're in a specific context (UCommerce.Runtime can tell you weather you're in a product or category page). So would the navigation as well so you can have two different macros that renders out the category or the product macro's.
Hope that makes sence.
Regards
Morten
Hi Morten! Thanks for your reply. I'm not using macro's in my MVC solution, but I can use partial views as well of course. Thanks for this hint!
is working on a reply...