Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 3 of 3

Thread: Details for ShippingMethod Allowed States

  1. #1
    tacklediscounts is offline Junior Member
    Join Date
    Apr 2009
    Location
    London, England
    Posts
    12

    Default Details for ShippingMethod Allowed States

    I have added a full list of states/proviences by inserting into [dbo].State

    I now need to assign these new states to the correct shipping method and its allowed states. What is the correct [dbo] to use for this? I used to know this but lost the file containing the information, I thought it might be something along the lines of...

    INSERT [dbo].ShippingMethodSetAllowedStates

    Unfortunately, I don't have direct access to the database structure to see all the names and have been unsuccessful searching the forums.

    Could the details be provided as well, as in the example below for [dbo].State

    INSERT [dbo].State(CountryID,Name,Abbreviation,DisplayOrder)

  2. #2
    George the Great is offline Senior Member
    Join Date
    Nov 2006
    Location
    Cleveland, OH
    Posts
    1,792

    Default

    INSERT INTO [dbo].[ShippingMethodToStateMap]
    ([ShippingMethodID]
    ,[StateID]
    ,[CreatedOn])
    VALUES
    (<ShippingMethodID, int,>
    ,<StateID, int,>
    ,<CreatedOn, datetime,>)
    GO
    <a href="http://www.aspdotnetstorefront.com">Shopping Cart Software</a>

  3. #3
    tacklediscounts is offline Junior Member
    Join Date
    Apr 2009
    Location
    London, England
    Posts
    12

    Default

    fantastic
    thanks for the info george!