Copied to clipboard

Flag this post as spam?

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


  • Jakob 4 posts 24 karma points
    Oct 11, 2011 @ 10:56
    Jakob
    0

    Product categories next to main menu on every page

    Hi tea commerce community,

    I'm in the process of building my very first umbraco solution. I have a lot of experience developing webforms webpages, so the real problem is to learn all this XSLT and/or Razor, and it being a ecommerce site, doesn't make my job any easier - but I've coped with it so far. I have however run into some problems, that I hope you can help me with.

    I would like to place my product categories in my main menu. By that I mean, that I would like to place the categories before or after the menu item, HTML wise. Unless of cause that won't be any easier to accomplish, than just having them as regular nodes, with the ability to arrange them amongst the other menu items, from the backend and all.

     

    Hope you can help me,
    Jakob

  • Rune Grønkjær 1372 posts 3103 karma points
    Oct 11, 2011 @ 11:18
    Rune Grønkjær
    0

    Hi Jakob,

    Welcome to Umbraco and Tea Commerce. You won't regret starting to use Umbraco. It's a fantastic cms.

    First off. Are you using our new Starter Kit as basis for your website?

    My answer to your question is, that you should just move your category nodes up in the content structure. This way they will be visible in the main menu. If you are using our starter kit that is. In most other cases this will still be true though.

    /Rune

  • Jakob 4 posts 24 karma points
    Oct 11, 2011 @ 11:38
    Jakob
    0

    Really? I'm using you're starter kit version 1.2.0.2 since I had some major problems using your new 2.0.1.0 starter kit. It kept telling me that there were an XSLT error for some reason. If not an XSLT error then some other issues.

    I had downloaded your old starter kit just before the new one got released, so I decidede to use that instead.

    Back to the possible solution: Do you mean that I should create a category, on the en/da node of the Umbraco website? I assume that you wan't me to enable that document type to be nested in the language document type, or something similar since I'm not able to place categories in the language node at the moment.

     

    Oh and I'm certain that I won't regret using your ecommerce solution. ;)

  • Rune Grønkjær 1372 posts 3103 karma points
    Oct 11, 2011 @ 11:53
    Rune Grønkjær
    0

    The xslt error in the starter kit v2 is most properly because you need to set the domain on the "da" node in your content. Typical error. And if it's not too late, please use the v2 starter kit as it's much better :)

    Back to the solution: Yes, you should create the category under the "da" and "en" nodes, then it will be displayed in the menu. And yes, that means you need to enable the categories doc type under the language doc type.

    Thanks for the kind words on Tea Commerce. It's always great when people like to use your stuff :)

    /Rune

  • Jakob 4 posts 24 karma points
    Oct 11, 2011 @ 11:58
    Jakob
    0

    Ultimate noob question: How do I set the domain on the da node? :P

    Thanks so much for your help, I do have a second question - but I'll open up a new question for that. :)

  • Rune Grønkjær 1372 posts 3103 karma points
    Oct 11, 2011 @ 12:47
    Rune Grønkjær
    0

    No problem.

    Right click the node and choose "manage hostnames". Then a delete the old ones and add your own. Should be the domain without http://

    /Rune

  • Jakob 4 posts 24 karma points
    Oct 11, 2011 @ 13:44
    Jakob
    0

    Great, thanks again.

Please Sign in or register to post replies

Write your reply to:

Draft