Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


These support forums are now closed for new topics and comments.
Please head on over to http://eureka.ucommerce.net/ for support.

  • Tizer 170 posts 201 karma points
    Jul 31, 2013 @ 14:14
    Tizer
    0

    How to integrate demo shop into exisiting nav?

    How do I get the shop node to integrate into an existing sites navigation?

    I have this code which targets the home node and below.... but don't have the experience, know how. knowledge to include a node which resides below this node

    Totally stumped :(

    @inherits umbraco.MacroEngines.DynamicNodeContext
    @{ 
    var root = @Model.AncestorOrSelf("Home");    
    }
    <ul>
    @foreach (var page in root.Children.Where("Visible"))
    { 
    <li class="@page.listClass">
    <a href="@page.Url">@page.Name</a>
    </li>
    }
    </ul>

     

  • Nickolaj Lundgreen 233 posts 1132 karma points
    Jul 31, 2013 @ 14:22
    Nickolaj Lundgreen
    0

    Im not quite sure what you are trying to accomplish. Is the shop node part of the Model node list?

  • Kasper Holm 47 posts 180 karma points
    Jul 31, 2013 @ 14:39
    Kasper Holm
    1

    if youve installed the razor store it has placed it self as a sibling to your Home node, what you want is properly to move it, in under your home node if you want it to appear in the menu, if you just want to acces the razor store to look at i would set up a different hostname for it, and add that to the razor store root node :)

    hope this helps :)

  • Tizer 170 posts 201 karma points
    Aug 08, 2013 @ 08:56
    Tizer
    0

    I tried your solution Kasper, and all the navigation stopped working in the store (categories, products etc) - so I moved it back - is there a setting I should have changed?

  • Kasper Holm 47 posts 180 karma points
    Aug 08, 2013 @ 10:34
    Kasper Holm
    0

    well the demo shop menu properly asumes that it is root node, why yous stopped working, i dont know.

    but if i were you i would set up a sub site for the demo shop, ex. shop.domain.com and set it to the host for the shop :)

Please Sign in or register to post replies

Write your reply to:

Draft