in

dashCommerce

An ASP.NET Open Source e-Commerce Application

Problem with multiple shipping providers

Last post 10-09-2008 10:09 AM by Mattias. 6 replies.
Page 1 of 1 (7 items)
Sort Posts: Previous Next
  • 09-15-2008 5:45 AM

    Problem with multiple shipping providers

     Hi!

     

    My guess is that I am doing something really stupid wrong here, but since I can't figure it out, I figured I might as well ask and see if someone can point me in the right direction.

    I've written my own shipping provider based on the simpleweight one included in the package. My problem is when I add the new provider to the site. Now when I try and navigate the tabs on the existing simple weightprovider, it sends me to the new one (it is selected in the menu, and the tabs links to it's controls).My new provider has it's own sitemap and I've changed the view letters. And I've added the new sitemap provider to the web.config. 

     Now, if I manually add &providerId=xx to the url, then I reach the correct page when navigating through the tabs.

    So any pointers?

  • 09-16-2008 12:28 AM In reply to

    Re: Problem with multiple shipping providers

    I have the same exact problem.  I created my own sitemenuprovider, named it different of course, referenced it from the page, but it always goes back to the simpleweight provider.

     

    BTW: what shipping provider did you create?

  • 09-16-2008 4:19 AM In reply to

    Re: Problem with multiple shipping providers

     I am adding a provider for the Swedish Postal Service, Posten.

  • 09-17-2008 5:10 AM In reply to

    • Dic k
    • Top 25 Contributor
    • Joined on 02-11-2008
    • Posts 41

    Re: Problem with multiple shipping providers

    Hi,

     I thought this should be fixed in the latest version. The bug is reported here with a fix;

     http://www.codeplex.com/dashCommerce/WorkItem/View.aspx?WorkItemId=15359

  • 09-17-2008 5:23 AM In reply to

    Re: Problem with multiple shipping providers

     That did the trick! Thanks a bunch.

  • 10-07-2008 7:17 PM In reply to

    Re: Problem with multiple shipping providers

    I tried this but it did not fix it.  I even checked out the latest code from SVN but the fix wasnt made there as far as I can tell.  mattias can you send me the file that you changed?

  • 10-09-2008 10:09 AM In reply to

    Re: Problem with multiple shipping providers

     Code sent.

     One line of code differs as far as I can tell. Ie I have one that you don't. In the btnSetProvider_Click handler Ihave this line after your two:

     


            Response.Redirect(string.Format(WebUtility.ScrubUrl() + "?providerId={0}", ddlProviders.SelectedValue), true);

     

    Not sure it that makes any difference or not.

Page 1 of 1 (7 items)