Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Changing boxes on My Account Page


2020

Recommended Posts

Posted

Hi, i use an oscommerce webshop, and i have customized it since few months.

 

I am trying to change these boxes below:

 

It's on "my account" page. As you can see, it contains 2 boxes side-by-side, but i want to change to one under the other.

 

Can any one help me? i couldn't find the especific code for do that.

 

 

Thanks for any help.

Posted
Here you can see the boxes:

 

printscreen1boxesmyaccokt1.th.jpg

 

In the file /catalog/login.php:

 

Find the section :

		  <tr>
		<td class="main" width="50%" valign="top"><b><?php echo HEADING_NEW_CUSTOMER; ?></b></td>
		<td class="main" width="50%" valign="top"><b><?php echo HEADING_RETURNING_CUSTOMER; ?></b></td>
	  </tr>
	  <tr>
		<td width="50%" height="100%" valign="top"><table border="0" width="100%" height="100%" cellspacing="1" cellpadding="2" class="infoBox">

 

and replace it with:

		  <tr>
		<td class="main" width="100%" valign="top"><b><?php echo HEADING_NEW_CUSTOMER; ?></b></td>
	  </tr>
	  <tr>
		<td width="100%" height="100%" valign="top"><table border="0" width="100%" height="100%" cellspacing="1" cellpadding="2" class="infoBox">

 

Now find this:

			</table></td>
		<td width="50%" height="100%" valign="top"><table border="0" width="100%" height="100%" cellspacing="1" cellpadding="2" class="infoBox">

 

and replace it with this:

			</table></td>
	  </tr>
	  <tr>
		<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
	  </tr>
	  <tr>
		<td class="main" width="100%" valign="top"><b><?php echo HEADING_RETURNING_CUSTOMER; ?></b></td>
	  </tr>
	  <tr>
		<td width="100%" height="100%" valign="top"><table border="0" width="100%" height="100%" cellspacing="1" cellpadding="2" class="infoBox">

 

and that's it!

cheers

---john---

  • 4 weeks later...

Archived

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

×
×
  • Create New...