Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Non-Case Sensitive Form


zalik22

Recommended Posts

<?php

echo '<td class="main">' . tep_draw_separator('pixel_trans.gif', '20', '1') . tep_draw_input_field('promo_code', '', 'size="10"') . tep_draw_separator('pixel_trans.gif', '5', '1') . 'Promotion Code (optional). Update cart to see discount.</td>';

?>

 

If the customer enters "CHECK" or "chEck" or "check" I want the text to be recognized as the same! Anybody know how to do this?

 

Thanks.

Link to comment
Share on other sites

<?php

echo '<td class="main">' . tep_draw_separator('pixel_trans.gif', '20', '1') . tep_draw_input_field('promo_code', '', 'size="10"') . tep_draw_separator('pixel_trans.gif', '5', '1') . 'Promotion Code (optional). Update cart to see discount.</td>';

?>

 

If the customer enters "CHECK" or "chEck" or "check" I want the text to be recognized as the same! Anybody know how to do this?

 

Thanks.

 

Nevermind, I figured it out.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...