- Posts: 44
- Thank you received: 0
Change display of zip code
12 years 6 months ago #157783
by benrud
Change display of zip code was created by benrud
-- url of the page with the problem -- : test.crossfitshorts.com
-- HikaShop version -- : HikaShop Essential: 2.3.0
-- Joomla version -- : Joomla! 3.3.0 Stable
-- PHP version -- : 5.4.27
-- Browser(s) name and version -- : ALL
-- Error-message(debug-mod must be tuned on) -- : see belowe
I need to change the order in which the zip code is displayed in checkout and on the receipt. It is currently displayed as zip, city, state and I need it to be city, state, and zip in both places (checkout and receipt).
Can someone please direct me to a tutorials on this?
Thanks,
Todd
-- HikaShop version -- : HikaShop Essential: 2.3.0
-- Joomla version -- : Joomla! 3.3.0 Stable
-- PHP version -- : 5.4.27
-- Browser(s) name and version -- : ALL
-- Error-message(debug-mod must be tuned on) -- : see belowe
I need to change the order in which the zip code is displayed in checkout and on the receipt. It is currently displayed as zip, city, state and I need it to be city, state, and zip in both places (checkout and receipt).
Can someone please direct me to a tutorials on this?
Thanks,
Todd
Please Log in or Create an account to join the conversation.
12 years 5 months ago #157815
by lousyfool
Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )
Replied by lousyfool on topic Change display of zip code
Looks like you'll have to edit the view -> HikaShop -> your template -> Frontend -> address -> address_template(.php)
by changing the present order of
to
by changing the present order of
Code:
{address_post_code} {address_city} {address_state}
to
Code:
{address_city} {address_state} {address_post_code}
Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )
Please Log in or Create an account to join the conversation.
12 years 5 months ago #157816
by lousyfool
Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )
Replied by lousyfool on topic Change display of zip code
However, I'd like to take the opportunity and amend as follows:
Different countries have different patterns for the order of city, postcode, state. I dare saying that for those of us who are dealing internationally, it would be a welcome additional feature, if this could be set per country (zone). Sure, finding the proper default already on install of HikaShop would be the crown on it, but burdening the dev crew with this might be asking for too much, haha. Anyhow, users being able to alter the settings per country would already be a cool step forward.
Definitely more of a "new feature request", but while we're on it...
Thanks.
Different countries have different patterns for the order of city, postcode, state. I dare saying that for those of us who are dealing internationally, it would be a welcome additional feature, if this could be set per country (zone). Sure, finding the proper default already on install of HikaShop would be the crown on it, but burdening the dev crew with this might be asking for too much, haha. Anyhow, users being able to alter the settings per country would already be a cool step forward.
Definitely more of a "new feature request", but while we're on it...
Thanks.
Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )
Please Log in or Create an account to join the conversation.
12 years 5 months ago #157841
by nicolas
Replied by nicolas on topic Change display of zip code
That's a good idea lousyfool, I'll add that to our todo list.
The following user(s) said Thank You: lousyfool
Please Log in or Create an account to join the conversation.
12 years 5 months ago #158134
by lousyfool
Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )
Replied by lousyfool on topic Change display of zip code
Hi benrud,
Thought I'll keep you posted on additional findings on the subject:
Sort of triggered by your post, I myself went to edit the address_template in the frontend as well. Then noticed that e.g. the status notification email remains unaffected. Before you notice and wonder as well, here is the rest of the story:
As per this thread , you need to also edit the address_template view in the backend as well. You'll find it when looking the usual way for HikaShop/order/your backend template/backend views.
Thought I'll keep you posted on additional findings on the subject:
Sort of triggered by your post, I myself went to edit the address_template in the frontend as well. Then noticed that e.g. the status notification email remains unaffected. Before you notice and wonder as well, here is the rest of the story:
As per this thread , you need to also edit the address_template view in the backend as well. You'll find it when looking the usual way for HikaShop/order/your backend template/backend views.
Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )
Please Log in or Create an account to join the conversation.
Time to create page: 0.052 seconds