Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding a new comment window to checkout_payment.php


netwerkjim

Recommended Posts

Posted

Hi, I because we sell over 1000 different items it is near impossible to get everything listed on our website. So what I did was take a list of items that are all priced the same and entered it as if it were just one item in our catalog the same way you would list a single item. On this list I put instructions to put the item number (each item on the list has a stock number) the description of the item that is listed, and the amount of that item you want to purchase. I also changed the wording on the comments window to Put the item numbers here in this window. Now I wanted to upgrade this process a little so to make it easier for both us and the customer by putting in two more windows on both sides of the original one. that way I could make one window the ITEM NUMBER the second window DESCRIPTION and the third one QUANITY. So I managed to figure out how to install the two extra windows and they are displayed on the checkout_payment.php page. The problem is I can't figure out how to link the two new windows to the customers email and also to our email so that we can see a figure listed for each window when a customer makes a purchase from this list of products. the information from the original window is sent to both us and the customer but not the info from the two new windows. I have looked at the code to try and find out where the link is for the original window to the email addresses is located so i can duplicate the same for the two new windows, but I have not had any luck finding this link. Can someone help me with this, or maybe show me a better way to do this? Here is what the code looks like for the original window and one of the new windows I installed.

 

 

<TD><TABLE class=infoBox cellSpacing=1 cellPadding=2 width="100%" border=0>

<TBODY>

<TR class=infoBoxContents>

<TD height="233"><table cellspacing=0 cellpadding=2 width="100%" border=0>

<tbody>

<tr>

<td width="6">?</td>

NEW <td width="374"><textarea name=comments rows=10 cols=8></textarea>

OLD <textarea name=comments rows=10 cols=30></textarea>

</td>

</tr>

</tbody>

</table></TD>

</TR>

</TBODY>

</TABLE></TD>

</TR>

<TR>

 

 

 

Thanks Jim O

Archived

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

×
×
  • Create New...