Jump to content
Sign in to follow this  
djruffle

PWA and create_account.php problem. Country field on not showing.

Recommended Posts

I have installed PWA into my oscommerce installation and all seems fine apart from the on the create_account.php page.

 

From the country input box on doesn't show anymore:

 

example.gif

 

I have found the code that is the problem:

 

<td class="main"><?php echo tep_get_country_list('country', STORE_COUNTRY) . ' ' . (tep_not_null(ENTRY_COUNTRY_TEXT) ? '<span class="inputRequirement">' . ENTRY_COUNTRY_TEXT . '</span>': ''); ?></td>

 

and if you remove the php code and change to:

<td class="main"></td>

 

All the other boxes are then created i.e. telephone etc etc but obviously the country box isn't created!

 

Has anyone else had this problem or does anyone know whats wrong with the php code in the above code? Or is it likely to be a problem with the function itself??

Share this post


Link to post
Share on other sites
I have installed PWA into my oscommerce installation and all seems fine apart from the on the create_account.php page.

 

I have found the code that is the problem:

 

<td class="main"><?php echo tep_get_country_list('country', STORE_COUNTRY) . ' ' . (tep_not_null(ENTRY_COUNTRY_TEXT) ? '<span class="inputRequirement">' . ENTRY_COUNTRY_TEXT . '</span>': ''); ?></td>

 

Has anyone else had this problem or does anyone know whats wrong with the php code in the above code? Or is it likely to be a problem with the function itself??

 

I haven't had this problem but preparing to install PWA. I noticed a difference in your code to mine which is version 1.2.5.b. Here is the code I found in my version.

<td class="main"><?php echo tep_get_country_list('country') . ' ' . (tep_not_null(ENTRY_COUNTRY_TEXT) ? '<span class="inputRequirement">' . ENTRY_COUNTRY_TEXT . '</span>': ''); ?></td>

 

Hope this helps. I am actually looking for a thread on PWA so if you know of one please reply with a link to it. Thanks and good luck!

trip

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×