I'm trying to use the Merchello Bazaar starter site. I need to add some plain text pages such as Return Policy, Testimonials, whatever. I realize these would be regular Umbraco pages but how do I add those to the Bazaar Nav?
The model passed to the every view in the Bazaar, include the BazaarNav are of type MasterModel which is a typed IPublishedContent model via Umbraco's PublishedContentWrapped class.
So it will act just as if you were on any normal Umbraco page.
Example - Assuming your "Store" content is at the root and you have a document type "Policy" or "Testimonial" you could find these by:
var policy = Model.Descendant("Policy");
var testimonials = Model.Descendants("Testimonial);
@Biagio Not sure if I understand this correctly, but I think you have quite a few options - all available through Umbraco. It will just depend on what you are trying to do.
Related products could be done via a multi node tree picker (MNTP), you could use the Relations API based on the Product content node or use the tree itself Ancestor(s), Descendant(s), Children ...
Another possibility would be to use Examine ...
Lots of ways. What specifically are your trying to do?
Add Umbraco pages to Merchello Bazaar navigation?
I'm trying to use the Merchello Bazaar starter site. I need to add some plain text pages such as Return Policy, Testimonials, whatever. I realize these would be regular Umbraco pages but how do I add those to the Bazaar Nav?
Hey Kenny,
The model passed to the every view in the Bazaar, include the BazaarNav are of type MasterModel which is a typed IPublishedContent model via Umbraco's PublishedContentWrapped class.
So it will act just as if you were on any normal Umbraco page.
Example - Assuming your "Store" content is at the root and you have a document type "Policy" or "Testimonial" you could find these by:
Let me know if you hit any snags =)
How to made the reverse? That is: How to find content or similar from store to pages that are children of root node ( no store node ) ?
@Biagio Not sure if I understand this correctly, but I think you have quite a few options - all available through Umbraco. It will just depend on what you are trying to do.
Related products could be done via a multi node tree picker (MNTP), you could use the Relations API based on the Product content node or use the tree itself Ancestor(s), Descendant(s), Children ...
Another possibility would be to use Examine ...
Lots of ways. What specifically are your trying to do?
is working on a reply...