Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

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

Posted

@@abbott75

 

So, dont include the following comments:

 

ADD this code after:

/* kgt - discount coupons */

 

 

 

Chris

Posted

@@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!

  • 4 years later...
Posted

I have the addon installed, but how do I get it to show up with a product?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...