Use uCommerce product node information elsewhere on a site?
Hi I was wondering if it was possible to display information from uCommerce products elsewhere on the site.
We have an information based site and I was thinking we'd use a store.site.com for a subdomain just for a more traditional retail experiece.
I wanted to use some of the product information on the informational site and was wondering if you can just pull product information out using the usual umbraco conventions?
You can just query the products by using Product.All().Where( ... )
How do you want to display those information ? You can easily assign two different hostnames to the same instance of uCommerce (using Umbraco). Then you can
extract the right information as your "normal site" by using our Libraries located in UCommerce.Api and UCommerce.Runtime
Use uCommerce product node information elsewhere on a site?
Hi I was wondering if it was possible to display information from uCommerce products elsewhere on the site.
We have an information based site and I was thinking we'd use a store.site.com for a subdomain just for a more traditional retail experiece.
I wanted to use some of the product information on the informational site and was wondering if you can just pull product information out using the usual umbraco conventions?
Thanks
You can just query the products by using Product.All().Where( ... )
How do you want to display those information ? You can easily assign two different hostnames to the same instance of uCommerce (using Umbraco). Then you can
extract the right information as your "normal site" by using our Libraries located in UCommerce.Api and UCommerce.Runtime
Hope that helps
//Morten
Hi Tom
Indeed it is.
You need to link the product with the umbraco node. My colleague have made an umbraco package design to link umbraco nodes with uCommerce entities: http://our.umbraco.org/projects/backoffice-extensions/ucommerce-multi-item-tree-picker Else a simple "id field" would do :) When you get the id you just fetch it with
Product.Get(ID)
is working on a reply...