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?
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.
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.
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?
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)
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.
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
Hi Petr!
Look here:
http://www.simm.dk/umbraco-corner/articles/making-custom-sections-and-trees-inside-umbraco---part-i.aspx
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
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
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
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
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
Hey Petr Snoblet
Did you find a soloution for your problem?
Peter
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?
is working on a reply...