Copied to clipboard

Flag this post as spam?

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


  • Petr Snobelt 923 posts 1535 karma points
    Feb 06, 2009 @ 10:41
    Petr Snobelt
    1

    New content section for e-commerce

    Hi, when I thinking about my new ecommerce project I find out it may be better storing orders as normal content , rather then storing it in my own db tables, this way it is db independent and it give me all umbraco functionality (sort, delete, create etc. and modifing properties in UI).

    I create prototype, which create orders by xslt extension and it works fine, but now I must store orders in dedicated node in content section.
    Will be better, If I can create new section, which works like content and I can put orders here.

    Is there a way how can I create new content section?

    Thanks for help

    Petr

  • Simon Justesen 436 posts 203 karma points
    Feb 06, 2009 @ 11:44
  • Petr Snobelt 923 posts 1535 karma points
    Feb 06, 2009 @ 15:14
    Petr Snobelt
    0

    Hi Simm,
    nice article, but I allready know how to create new section, but what I don't know is how to create new content 'datastore' and set my new section for it.
    I don't want create any custom pages, I want reuse (duplicate) umbraco content section, but I don't know how to create second 'master' and how to point my new section to that new master.

    Petr

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Feb 06, 2009 @ 22:02
    Dirk De Grave
    0

    Hi Petr,

    I'd not use the umbraco tables for storing orders... as umbraco and cms tables should be used for what it is meant for.... content that could be versioned? Do you need orders to be versioned? Do those orders ever change once created? IMHO, that would be big overkill. I'd store custom order data in custom tables and use Simon's technique for listing orders in the admin backend.

    Just my 2 cents.

    Regards,
    /Dirk

  • Petr Snobelt 923 posts 1535 karma points
    Feb 08, 2009 @ 19:48
    Petr Snobelt
    0

    Hi Dirk,
    I want versioning and all others benefits and flexibility which umbraco content allready have. My prototype works really well. Only one thing missing - move it into another sections. Is there any way?

    Thanks

  • Ronnie Hegelund 48 posts 710 karma points
    Feb 09, 2009 @ 09:42
    Ronnie Hegelund
    0

    Hi Petr.

    I would still create my own tree, take a look at loadContent.cs in the umbraco source. ill think that can do the most of the work for you.

    /Ronnie


  • Petr Snobelt 923 posts 1535 karma points
    Jun 25, 2009 @ 13:10
    Petr Snobelt
    0

    Hi Ronnie,

     my problem isn't in creating tree, I read some blogposts about it, but I want create my own content section, with same tree as content tree allready has. I want split presentation data and ecommerce data (which allready use umbraco tables as backend)

    Petr

  • pnr 131 posts 226 karma points
    Jan 14, 2010 @ 20:11
    pnr
    0

    Hey Petr Snoblet

    Did you find a soloution for your problem?

    Peter

  • Edward Dudley 80 posts 121 karma points
    Jan 18, 2010 @ 10:25
    Edward Dudley
    0

    I also agree with Petr that this would be useful - the Umb content tree is very useful for storing data due to the ease of using data types, etc.  If there was a quick way to duplicate the content section instead of creating a whole new section this would be useful.

    Any easy solution?

Please Sign in or register to post replies

Write your reply to:

Draft