Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


These support forums are now closed for new topics and comments.
Please head on over to http://eureka.ucommerce.net/ for support.

  • Jesper Haug Karsrud 15 posts 77 karma points
    Feb 28, 2013 @ 15:46
    Jesper Haug Karsrud
    0

    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

  • Rich Green 2246 posts 4008 karma points
    Feb 28, 2013 @ 15:57
    Rich Green
    0

    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

     

  • Jesper Haug Karsrud 15 posts 77 karma points
    Mar 04, 2013 @ 12:37
    Jesper Haug Karsrud
    1

    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 :)

Please Sign in or register to post replies

Write your reply to:

Draft