jbuschow Posted February 28, 2015 Posted February 28, 2015 I'm trying to install ot_discount_coupon_codes_3_34_osc2.3_1_2_3_1_2_3. The installation went well I can create the coupon but when you try to check out you get the following error. Parse error: syntax error, unexpected '}' in /home/evaper/public_html/shop/checkout_payment.php on line 280 Below is the area where it's having a problem. Can someone tell me what i'm missing? ?> </div> <h2><?php echo TABLE_HEADING_COMMENTS; ?></h2> <div class="contentText"> <?php echo tep_draw_textarea_field('comments', 'soft', '60', '5', $comments); ?> </div> /* kgt - discount coupons */ if( MODULE_ORDER_TOTAL_DISCOUNT_COUPON_STATUS == 'true' ) { ?> <h2><?php echo TABLE_HEADING_COUPON; ?></h2> <div class="contentText"> </div> <div class="contentText"> <?php echo ENTRY_DISCOUNT_COUPON.' '.tep_draw_input_field('coupon', '', 'size="32"', $coupon); ?> </div> <?php } /* end kgt - discount coupons */ <div class="contentText"> <div style="float: left; width: 60%; padding-top: 5px; padding-left: 15%;"> <div id="coProgressBar" style="height: 5px;"></div> <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td align="center" width="33%" class="checkoutBarFrom"><?php echo '<a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '" class="checkoutBarFrom">' . CHECKOUT_BAR_DELIVERY . '</a>'; ?></td> <td align="center" width="33%" class="checkoutBarCurrent"><?php echo CHECKOUT_BAR_PAYMENT; ?></td> <td align="center" width="33%" class="checkoutBarTo"><?php echo CHECKOUT_BAR_CONFIRMATION; ?></td> </tr> </table> </div> <div style="float: right;"><?php echo tep_draw_button(IMAGE_BUTTON_CONTINUE, 'triangle-1-e', null, 'primary'); ?></div> </div> </div>
allaboutwicker Posted February 28, 2015 Posted February 28, 2015 Not sure if this is it, but I noticed you are missing ?> after the end of your coupon code as compared to mine as follows: /* end kgt - discount coupons */ ?> <div class="contentText">
De Dokta Posted February 28, 2015 Posted February 28, 2015 Not sure if this is it, but I noticed you are missing ?> after the end of your coupon code as compared to mine as follows: /* end kgt - discount coupons */ ?> <div class="contentText"> ... and an opening <?php /* kgt - discount coupons */ <?php if( MODULE_ORDER_TOTAL_DISCOUNT_COUPON_STATUS == 'true' ) { ?>
jbuschow Posted March 1, 2015 Author Posted March 1, 2015 Thanks, i'll test that to see if that fixes the problem, Jeff
Recommended Posts
Archived
This topic is now archived and is closed to further replies.