Hello. I was wondering to know if it's possible to extend uCommerce, and create my own data type.
I had a issue so i needed to link products with Umbraco content documents, i didn't found a way how i can do that, for now i am using temporary solution and using text datatype in product definition which links to content document by the name. It's bad practice to link things by the string :-) Also customer asked about possibility to have dropdown(single linking) or some listbox(multiple linking) with Umbraco content nodes.
Unfortunately there's no way to extend the uCommerce data types at this point. It's on the feature list for an upcoming release. In the meantime your doing it exactly right.
Custom Data Type in uCommerce
Hello. I was wondering to know if it's possible to extend uCommerce, and create my own data type.
I had a issue so i needed to link products with Umbraco content documents, i didn't found a way how i can do that, for now i am using temporary solution and using text datatype in product definition which links to content document by the name. It's bad practice to link things by the string :-) Also customer asked about possibility to have dropdown(single linking) or some listbox(multiple linking) with Umbraco content nodes.
Thanks.
Hi Igor,
Unfortunately there's no way to extend the uCommerce data types at this point. It's on the feature list for an upcoming release. In the meantime your doing it exactly right.
Hi Soren,
Was just to see if this is possible in any of the latest releases? Version 2.5?
This would be handy as we will have a need to be able to relate media items to a category/page as well as things like related links, pages etc...
Thanks for your help!
Kenny
Not yet. I'm hoping it might make it into uCommerce 3, but it depends on how much time is left over after QA is done on the integration piece.
Thanks Soren.
I am knee deep this morning in a work around and think I am getting there! Will let you know how i get on :)
Kenny
Hi Soren,
Is there any option to add custom data field to product? at this point? thank you.
Yep. Docs are available at http://docs.ucommerce.net/ucommerce/v6/extending-ucommerce/custom-data-type.html
is working on a reply...