US Shipping Address in Shipping Invoice Formatting

  • Posts: 23
  • Thank you received: 1
10 years 9 months ago #142899

-- url of the page with the problem -- : mywebsite.com/mypage
-- HikaShop version -- : 2.2.3
-- Joomla version -- : 3.2.1
-- PHP version -- : x.x.x
-- Browser(s) name and version -- : XXXXX x.x.x
-- Error-message(debug-mod must be tuned on) -- : Error_message

If you open an order, and click the "shipping invoice" button. On the screen that lists the invoice along with the formatted shipping address, the 3rd line containing the US zip/city/state/ is formatted incorrectly for delivery carriors to accept packages.. Example Line:
06477 Orange Connecticut (zip, city, state)
It should read (city, state, zip) and the state typically is abbreviated. So it should look like this:
Orange, Connecticut 06477 OR Orange, CT 06477

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
10 years 9 months ago #142990

Hi,

That's not a bug. That's the proper formatting in our part of the world.
If you want to change it, simply edit the files "address_template" via the menu Display>Views and change the order of the tags like you want.

Please Log in or Create an account to join the conversation.

  • Posts: 23
  • Thank you received: 1
10 years 9 months ago #143048

Awesome, thank you. Can you tell me if there is documentation on what items can be added to the form view? For example, there appears to be {address_city} {address_state} {address_postal_code}. What other options are available?

Edit:
Odd, I updated the line to show the post_code to be the last item on the right and it didnt update the view when I go back to the shipping label. Does the change only effect new orders?

Last edit: 10 years 9 months ago by woogerboy21.

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
10 years 9 months ago #143061

Hi,

You can use the column name of any of the custom address field that you have via the menu Display>Custom fields.
There are two different address_template view files, one for the frontend, one for the backend. You need to change both.
You probably didn't update the one which was use where you were looking for the change to appear.

Please Log in or Create an account to join the conversation.

  • Posts: 23
  • Thank you received: 1
10 years 9 months ago #143073

Odd, I only see the the address_template for front end's (no back end's).
And yes I have the filter in the upper right set to show both front and back end :)

Last edit: 10 years 9 months ago by woogerboy21.

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
10 years 9 months ago #143118

Please do a screenshot. There is no way that you don't have one for the backend, or you wouldn't be able to see the invoices/user details on the backend.

Please Log in or Create an account to join the conversation.

  • Posts: 23
  • Thank you received: 1
10 years 9 months ago #143126

Here you go.

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
10 years 9 months ago #143142

I see that you put a filter on the "address" view of the frontend. Remove the filter and search for "address_template" on the left search box and you'll see it.

Please Log in or Create an account to join the conversation.

  • Posts: 23
  • Thank you received: 1
10 years 9 months ago #143144

Excellent, thank you very much for the help.

Please Log in or Create an account to join the conversation.

Time to create page: 0.064 seconds
Powered by Kunena Forum