Jump to content


Corporate Sponsors


Latest News: (loading..)

allaboutwicker

Member Since 04 May 2007
Offline Last Active Jul 18 2011, 16:58
-----

Posts I've Made

In Topic: [Contribution] Discount Coupon Codes

16 July 2011, 20:28

View Posttoyzonline, on 16 July 2011, 18:39, said:

ANY 1?
Hi, I have a heavily modified code and it has been a long time since I changed it, but if you look at the error it seems to be saying there is an extra "<" somewhere and not another ending ">" somewhere to close it i think. Like I said it has been a long time and I am not very good at this coding stuff, but here is my code I found that I think is comparable to that part in yours and it is way different, but something in there may help you figure out your issue:

<?php
/* kgt - discount coupons */
if( MODULE_ORDER_TOTAL_DISCOUNT_COUPON_STATUS == 'true' ) {
?>
<tr>
<td><table border="0" width="100%" cellspacing="0" cellpadding="2">
<tr>
<td class="main"><b><?php echo TABLE_HEADING_COUPON; ?></b></td>
</tr>
</table></td>
</tr>
<tr>
<td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">
<tr class="infoBoxContents">
<td><table border="0" width="100%" cellspacing="0" cellpadding="2">
<tr>
<td class="main"><?php echo ENTRY_DISCOUNT_COUPON.' '.tep_draw_input_field('coupon', '', 'size="32"'); ?></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
</tr>
<?php
}
/* end kgt - discount coupons */
?>