Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Checkout Leave Comment - Have Prewritten Words Here...


mikeap4

Recommended Posts

Find the comments textarea code in checkout_payment.php

 

Probably looks like this:

 

				<td><?php echo tep_draw_textarea_field('comments', 'soft', '60', '5'); ?></td>

Change it to:

 

				<td><?php echo tep_draw_textarea_field('comments', 'soft', '60', '5','Character Name - Type Your Character Name Here'); ?></td>

It's always a good idea to backup a file before editing it.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

The comments field in checkout_shipping.php would be the one to change, as thats the first time it appears. The comments in checkout_payment.php gets populated with the comments entered in checkout_shipping.php, if you change that page you might lose some info :)

Link to comment
Share on other sites

Thanks for that.

 

I wasn't sure from the screenshot exactly which file he was referring to.

:blink:

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Thanks guys it worked :D

 

also I have 1 more problem...

 

At the top where it says how many Items you have in your Cart it always has an extra 0 on it.... like if you have 1 item it will say "1 0", if you have 2 items it will say "2 0".

 

Which file would i edit to fix this and what part of the files?

Link to comment
Share on other sites

I thought there were a lot of posts about an extra zero in the shopping cart, but I sure couldn't find any.

 

Care to post (or PM me) your URL?

:unsure:

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...