Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

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


djruffle

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??

Link to comment
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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...