I have a very basic shopping cart with only a few product to order some booklets and no need for payment providers in this case..
Right now I have a setup in Website application i Visual Studio with database tables for products and orders - just using Northwind database, but I think I only need tables for Product, Order and OrderDetails.
I have hightlighted to most important columns I need.
What is the best approach to use productdata from nodes in Umbraco in a .NET usercontrol with product nodes from Umbraco?
Can I update the Product table on publish and unpublish (or delete) to match the data in Umbraco?
Use product data from Umbraco nodes
I have a very basic shopping cart with only a few product to order some booklets and no need for payment providers in this case..
Right now I have a setup in Website application i Visual Studio with database tables for products and orders - just using Northwind database, but I think I only need tables for Product, Order and OrderDetails.
I have hightlighted to most important columns I need.
What is the best approach to use productdata from nodes in Umbraco in a .NET usercontrol with product nodes from Umbraco?
Can I update the Product table on publish and unpublish (or delete) to match the data in Umbraco?
/Bjarne
Hello,
It might be good to start with this old topic: http://our.umbraco.org/forum/developers/extending-umbraco/10412-Store-webshop-products-as-nodes-or-in-a-custom-table
If you want to use a custom table you can show the data with a UserControl or Razor.
If you want to manage your custom tables from Umbraco you might like this package: http://our.umbraco.org/projects/developer-tools/dewd
Jeroen
Hi Jeroen
I haven't use dewd before, but it seems the data are maintained in a custom section and setup with custom sql queries?
I have the following structure in content section and I would like that the data are maintained from here.
A few years back I had product data in the content stucture and was using the eventshandlers to add the data to a custom table something like this:
/Bjarne
is working on a reply...