Copied to clipboard

Flag this post as spam?

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


  • Mattias Thurgren 4 posts 74 karma points
    Apr 13, 2016 @ 12:19
    Mattias Thurgren
    0

    Adding multiple content with tab information

    Hey guys!

    I have a problem where I cannot figure out how to solve.

    Lets say i have a company with products. I want to be able to add new products, delete products and edit current products.

    I also want to list these projects on a product page.

    I know how to add pages and so on. But does this require that i need to create a single page for each product? And then get all childpages information?

    I am greatful for any suggestion!

  • Steve Morgan 1346 posts 4454 karma points c-trib
    Apr 13, 2016 @ 12:56
    Steve Morgan
    0

    Hi Mattias,

    Welcome to Umbraco!

    I'd suggest you create child nodes for each product. Depending on how many products there are you might also want to think about having Category containers. Something like the structure below:

    • Products
      • Shoes
        • Shoe Product A
        • ....
        • Shoe Product Z
      • Tops
      • Trousers

    You'd create the following document types. Products (the container) Category (the subcontainer) Product (the end product).

    The thing I think you're not sure about is you can have content nodes without a template - e.g. you don't necessarily need to have a page at /products/shoes/shoe-product-a but you can just list all products from the /products/ page.

    There is a good example using news articles on the basic tutorial. Work through that and it should all make more sense!

    https://our.umbraco.org/documentation/Tutorials/Creating-Basic-Site/

    https://our.umbraco.org/documentation/Tutorials/Creating-Basic-Site/Articles-Parent-and-Article-Items

    HTH

    Steve

  • Mattias Thurgren 4 posts 74 karma points
    Apr 14, 2016 @ 13:27
    Mattias Thurgren
    0

    Hey Steve!

    Thanks for your tips!

    I have a further question on this topic.. Is it instead possible for me to just add one page (ex. a product page) where i send like the ID of the item and present the information there dynamically depending on the product linked?

  • Steve Morgan 1346 posts 4454 karma points c-trib
    Apr 14, 2016 @ 13:39
    Steve Morgan
    0

    Hi,

    Yes, I assume you mean with your product catalogue stored externally? You're probably looking at a custom controller then.

    https://our.umbraco.org/documentation/Reference/Routing/custom-controllers

    https://our.umbraco.org/documentation/Reference/Routing/custom-routes

    Kind regards

    Steve

Please Sign in or register to post replies

Write your reply to:

Draft