Announcement

Collapse
No announcement yet.

Automatically change country name in checkout

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Automatically change country name in checkout

    I'm currently rebuilding a trial version of my v6 store in v8.

    I want to be able to change my shipping charges according to where in the UK I'm shipping to, or which EU country I'm shipping to. Consequently the first page of my checkout asks for a shipping location from a list that goes like this...
    • United Kingdom (Mainland)
    • United Kingdom (Northern Ireland)
    • United Kingdom (Channel Islands)
    • United Kingdom (Isle of Man)
    • United Kingdom (Scottish Islands)
    • United Kingdom (Scilly Isles)
    • United Kingdom (Isle of Wight)
    • Austria
    • Belgium
    • etc...


    Assuming that the customer elects to have their order shipped to their invoice address, then the second page of the checkout shows the country as being whatever the customer selected from the above list (and they can't edit it). This value then carries forward to the receipt, the confirmation email and the order details I receive. This is ok, but what I'd really like is for all the UK entries to simply appear as 'United Kingdom'.

    I feel that this should be achievable by editing something in OrderScript.pl to be something along the lines of ...

    If (substr(InvoiceCountry, 0,14)) = = 'United Kingdom'
    { InvoiceCountry = substr(InvoiceCountry, 0,14}

    ... but I don't know what to edit!

    Does anyone have any ideas?
    Martin Durham

    ReallyCleverHomes - your one-stop-shop for home technology

    #2
    Hi Martin

    I'm going to run this past development to see if anything can be done to achieve what you want. I'll let you know when I have an answer from them.

    Regards
    Kiran Chandran
    Technical Support - SellerDeck
    http://www.sellerdeck.co.uk/

    Further help can also be found at http://community.sellerdeck.com/forumdisplay.php?f=27

    Comment


      #3
      Thanks Kiran

      I can't help feeling that it's relatively easy if you know which line writes back to the database - which probably means it isn't!
      Martin Durham

      ReallyCleverHomes - your one-stop-shop for home technology

      Comment


        #4
        Hi Martin

        I'm afraid development have come back to me saying that this is one for the wishlist. The reason being that there are too many changes involved and making these changes will effect other areas as well. So if I have your permission I'll add this request to our wishlist.

        Kind regards
        Kiran Chandran
        Technical Support - SellerDeck
        http://www.sellerdeck.co.uk/

        Further help can also be found at http://community.sellerdeck.com/forumdisplay.php?f=27

        Comment


          #5
          Hi Kiran

          Thanks for trying! I can see that it would be difficult for the shipping destination but thought it might be easier for the invoice address. By all means add it to the wishlist - though I suspect it's not something that many people are likely to want/need.
          Martin Durham

          ReallyCleverHomes - your one-stop-shop for home technology

          Comment

          Working...
          X