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...
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?
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?
Comment