Post by MindFlare » Tue Oct 03, 2017 10:23 am

I have started working on customer's new website that the owner installed a fresh copy of OC 2.3.0.2 onto and Customer Address Book Entries is displaying addresses with Postal Code or ZIP Code as "{postcode)" and not that actual Postal/ZIP code data. Example...

B Boy
123 Main St.
Apt. 4
Fakeville, ON
{postcode)

Image

Apparently, the owner was manually updated some language files over the weekend -- not sure if that has something to do with it. Looks like a typo, ) instead of } but I cannot find this piece of code anywhere. Some friendly guidance would be appreciated.

Other info:
- Problem occurs in default theme and Journal theme
- Address edit screen displays Postal/ZIP code correctly
- Extensions installed: vQmod 2.6.3, Local copy OCMOD (v1.3) by iSenseLabs, Formula-Based Shipping (v300.1) by Clear Thinking, LLC

Thanks in advance!
Last edited by MindFlare on Tue Oct 03, 2017 10:02 pm, edited 1 time in total.

User avatar
Newbie

Posts

Joined
Tue Oct 03, 2017 9:53 am
Location - Canada

Post by paulfeakins » Tue Oct 03, 2017 5:22 pm

Search your codebase for "{postcode)".

If you have SSH access you can do it with grep.

If not you can download all the files and use something like Notepad++ to search.

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Legendary Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by thekrotek » Tue Oct 03, 2017 5:45 pm

Address format is defined for each particular country. Just go to ACP, System -> Localisation -> Countries, open the desired country and correct the typo.

Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com


User avatar
Expert Member

Posts

Joined
Sun Jul 03, 2016 12:24 am


Post by MindFlare » Tue Oct 03, 2017 9:59 pm

Hi all. That was it, exactly. The owner had manually updated the country address formatting and used a ) instead of }. Thanks everyone.

User avatar
Newbie

Posts

Joined
Tue Oct 03, 2017 9:53 am
Location - Canada
Who is online

Users browsing this forum: No registered users and 1 guest