abbott75 Posted October 14, 2012 Share Posted October 14, 2012 I posted this in the main DCC thread, but it seems like a ghost town in there... Trying to install on 2.3.3 I have it all working, however I had to fiddle with this step: OPEN catalog/checkout_payment.php FIND on line 269: <h2><?php echo TABLE_HEADING_COMMENTS; ?></h2> <div class="contentText"> <?php echo tep_draw_textarea_field('comments', 'soft', '60', '5', $comments); ?> </div> <?php ADD this code after: /* 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 */ In 2.3.3, the last <?php isn't there. I removed the ?> and <?php from the code to add, and the contribution appears to work, however on checkout_payment.php I can see the code "//* kgt - discount coupons */ if( MODULE_ORDER_TOTAL_DISCOUNT_COUPON_STATUS == 'true' ) { ?>" and "} //* end kgt - discount coupons */" Would I be ok to remove that line and the comments, or will my world implode?? Thanks Quote Link to comment Share on other sites More sharing options...
Guest Posted October 14, 2012 Share Posted October 14, 2012 @@abbott75 So, dont include the following comments: ADD this code after: /* kgt - discount coupons */ Chris Quote Link to comment Share on other sites More sharing options...
abbott75 Posted October 14, 2012 Author Share Posted October 14, 2012 @@DunWeb Thanks. Removing the comments did nothing. I removed the line of code that was showing, and the contrib seems to work, I might just leave it now. There will be plenty more testing before going live so I'm sure I'll find any errors before going live. Cheers! Quote Link to comment Share on other sites More sharing options...
multimixer Posted October 14, 2012 Share Posted October 14, 2012 @@abbott75 Check for my answer at your other identical question abbott75 1 Quote My community profile | Template system for osCommerce - New: Responsive | Feedback channel Link to comment Share on other sites More sharing options...
Guest Posted December 5, 2016 Share Posted December 5, 2016 I have the addon installed, but how do I get it to show up with a product? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.