Jump to content


Corporate Sponsors


Latest News: (loading..)

- - - - -

Discount Code


  • You cannot reply to this topic
21 replies to this topic

#21 krys

  • Community Member
  • 18 posts
  • Real Name:Krystal

Posted 17 June 2011, 11:28

I have finally got the code installed and set up up my first discount, I go into my site to test it out and as going through checkout I get this error message
Parse error: syntax error, unexpected '}' in /home/flishclo/public_html/checkout_payment.php on line 277

I've checked the code on that line and its blank. Nothing there at all... but the problem is now no one can check out- not good! Can any one assist?
<?php
$radio_buttons++;
}
?>

</div>
?php
// Discount Code 2.6 - start
if (MODULE_ORDER_TOTAL_DISCOUNT_STATUS == 'true') {
?>

<h2><?php echo TEXT_DISCOUNT_CODE; ?></h2>

<div class="contentText">
<?php echo tep_draw_input_field('discount_code', $sess_discount_code, 'size="10"'); ?>
</div>
<?php
}
// Discount Code 2.6 - end
?>

#22 marketingarts

  • Community Member
  • 31 posts
  • Real Name:Dan

Posted 20 October 2011, 18:40

I am having a few problems with this mod. The first one is I do not know where to ask for support.
I am looking for support for this http://high-quality-php-coding.com/discount_code_module_for_oscommerce.html

I think this is the right place, but may be wrong. If so, I am sorry, there isn't a forum link posted anywhere on
the many download pages that this mod has.

Most important problem is that is breaks the cart after adding paypal express mods. I get the error

1054 - Unknown column 'dc.customers_id' in 'field list'

instead of going to paypal, so no-one can order anything from the cart.

Everything inside the admin area looks fine, but none of the codes that I create work.

Any help would be appreciated... or can someone recommend a discount plugin that works?