I'm implementing a site using uCommerce these days, and we want the client to be able to decide the shipping prices based on weight the uComponents DataTypeGrid. I've created a custom shipping service, but I'm wondering how and what is the best way to define this shipping datatype? It doesn't seem to be possible to add custom datatypes to Shipping methods. Creating a new category and product for shipping, and get that from the shipmentservice seems to be the only option right now, but that's not exactly a smooth way to do it. Another way would be to create a "Shopsettings" node in the content part of Umbraco, and fetch that from the shipmentservice, but that's not exactly smooth either..
Have anyone done anything like this before? Can it be done at all? Would love some advice on how to do this :)
From my knowledge I think it's assumed the custom shipping service calculation will be done 'outside' uCommerce (for example using external shipping API's etc.) and the shipping value returned back into uCommerce, so I'm guessing either solutions you have suggested are as 'valid' as any.
Hope that helps, I'm sure the guys from uCommerce will chip in soon.
It seems that having a node with the DataTypeGrid control as a node in the content section might be the best choice. We decided to make a tiny webservice using the ASP.NET WebApi, and have the custom shipping service consume that instead. Seems like a pretty OK way to do it, right now atleast :)
Create custom shipping price table
Hello!
I'm implementing a site using uCommerce these days, and we want the client to be able to decide the shipping prices based on weight the uComponents DataTypeGrid. I've created a custom shipping service, but I'm wondering how and what is the best way to define this shipping datatype? It doesn't seem to be possible to add custom datatypes to Shipping methods. Creating a new category and product for shipping, and get that from the shipmentservice seems to be the only option right now, but that's not exactly a smooth way to do it. Another way would be to create a "Shopsettings" node in the content part of Umbraco, and fetch that from the shipmentservice, but that's not exactly smooth either..
Have anyone done anything like this before? Can it be done at all? Would love some advice on how to do this :)
- Jesper
Hey Jesper,
Welcome to the forum!
From my knowledge I think it's assumed the custom shipping service calculation will be done 'outside' uCommerce (for example using external shipping API's etc.) and the shipping value returned back into uCommerce, so I'm guessing either solutions you have suggested are as 'valid' as any.
Hope that helps, I'm sure the guys from uCommerce will chip in soon.
Rich
Hi Rich, and thank you!
It seems that having a node with the DataTypeGrid control as a node in the content section might be the best choice. We decided to make a tiny webservice using the ASP.NET WebApi, and have the custom shipping service consume that instead. Seems like a pretty OK way to do it, right now atleast :)
is working on a reply...