Portal Engine Questions on portal engine and web parts.
Version 6.x > Portal Engine > Change products to global products View modes: 
User avatar
Member
Member
josip.krajina-josakra - 3/29/2012 3:28:42 AM
   
Change products to global products
Again me..
We are also using gloabl products for all our sites.
Now, we can set the product as gloabl when we are creating the product manually, but when we set that the document should also vreate a product it is always on the site from the document.

Is their a way to define if the product should be site related or gloabl when created out of the doc,
and is their the possibiliy to change the product after creation from one site to gloabl?

thanks
Josip

User avatar
Member
Member
kentico_michal - 3/29/2012 6:30:39 AM
   
RE:Change products to global products
Hi,

There is no option for changing the product to global product in the CMS Desk. However, you could accomplish that by setting the SKUSiteID of the SKUInfo object to 0 as shown here:
SKUInfo skuiObj = SKUInfoProvider.GetSKUInfo(skuId);
skuiObj.SKUSiteID = 0;
SKUInfoProvider.SetSKUInfo(skuiObj);

Best regards,
Michal Legen

User avatar
Member
Member
josip.krajina-josakra - 3/29/2012 7:18:18 AM
   
RE:Change products to global products
Thanks

Josip