Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Remove MY Account links


pjb

Recommended Posts

Posted

Ok this question might annoy some, but can the My Account links be removed? If so how?

 

Also can the login links that appears on My Billing Information php be removed?

 

Thanks

Pete

 

Here is the long winded version of my question:

Basically I've combine PWA with the shipping combo bit in FEC and added some code (thanks to support)when a customer buys stuff they go straight to the billing bit in PWA, therefore completely by-passing the account options and shipping bit. However the account options can still be got to via the links. So I would like to remove these; hence hiding the account options.

 

This is a temporary solution until I get to grips with PHP, but will also give me the option to open the create account in the future when need.

 

Thank again

Posted

Look into the catalog\includes\header.php search for account and remove the links code you want.

Posted
Look into the catalog\includes\header.php search for account and remove the links code you want.

 

Thank you, that works a treat, do you know how to remove the links below (log yorself, login page in etc.)as well; extracted from php pages ?

 

Opening page:

What's New Here?

Welcome Guest! Would you like to log yourself in? Or would you prefer to create an account?

 

 

Customer details page:

My Billing Information

NOTE: If you already have an account with us, please login at the login page.

 

 

Pete

Posted

the greeting is in the catalog\index.php

 

		  <tr>
		<td class="main"><?php echo tep_customer_greeting(); ?></td>
	  </tr>

 

for the customers details? they can still access the pages by manually editing the address bar of the browser. Probably you need to delete the account related pages or put a redirect at the top of the script. catalog\checkout_payment.php and catalog\checkout_shipping.php have a change address button if that's what you want to remove

Posted
the greeting is in the catalog\index.php

 

		  <tr>
		<td class="main"><?php echo tep_customer_greeting(); ?></td>
	  </tr>

 

for the customers details? they can still access the pages by manually editing the address bar of the browser. Probably you need to delete the account related pages or put a redirect at the top of the script. catalog\checkout_payment.php and catalog\checkout_shipping.php have a change address button if that's what you want to remove

 

Sorry, i'm probably beind dim, but i'm not sure what you mean. I found the line on the index page, but what i want to try and do is remove the links: "log yourself in? and "create an account" and on the billing page, remove the link: "login page".

 

Pete

Posted

the greeting text itself is in catalog\includes\languages\english.php

 

the login in the billing page I am just guessing is coming from somewhere else. Maybe from the PWA contrib? You have to see the files there if that's the case and ask the question in the support thread of PWA.

Posted
the greeting text itself is in catalog\includes\languages\english.php

 

the login in the billing page I am just guessing is coming from somewhere else. Maybe from the PWA contrib? You have to see the files there if that's the case and ask the question in the support thread of PWA.

 

Thanks for your help it is very much appreciated

Pete

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...