US Shipping Address in Shipping Invoice Formatting
- woogerboy21
-
Topic Author
- Offline
Less
More
12 years 7 months ago #142899
by woogerboy21
US Shipping Address in Shipping Invoice Formatting was created by woogerboy21
-- 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
-- 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.
12 years 7 months ago #142990
by nicolas
Replied by nicolas on topic US Shipping Address in Shipping Invoice Formatting
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.
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.
- woogerboy21
-
Topic Author
- Offline
12 years 7 months ago - 12 years 7 months ago #143048
by woogerboy21
Replied by woogerboy21 on topic US Shipping Address in Shipping Invoice Formatting
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?
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: 12 years 7 months ago by woogerboy21.
Please Log in or Create an account to join the conversation.
12 years 7 months ago #143061
by nicolas
Replied by nicolas on topic US Shipping Address in Shipping Invoice Formatting
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.
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.
- woogerboy21
-
Topic Author
- Offline
12 years 7 months ago - 12 years 7 months ago #143073
by woogerboy21
Replied by woogerboy21 on topic US Shipping Address in Shipping Invoice Formatting
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
And yes I have the filter in the upper right set to show both front and back end
Last edit: 12 years 7 months ago by woogerboy21.
Please Log in or Create an account to join the conversation.
12 years 7 months ago #143118
by nicolas
Replied by nicolas on topic US Shipping Address in Shipping Invoice Formatting
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.
- woogerboy21
-
Topic Author
- Offline
12 years 7 months ago #143126
by woogerboy21
Replied by woogerboy21 on topic US Shipping Address in Shipping Invoice Formatting
Here you go.
Please Log in or Create an account to join the conversation.
12 years 7 months ago #143142
by nicolas
Replied by nicolas on topic US Shipping Address in Shipping Invoice Formatting
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.
- woogerboy21
-
Topic Author
- Offline
12 years 7 months ago #143144
by woogerboy21
Replied by woogerboy21 on topic US Shipping Address in Shipping Invoice Formatting
Excellent, thank you very much for the help.
Please Log in or Create an account to join the conversation.
Time to create page: 0.280 seconds