Jump to content


  • Content count

  • Joined

  • Last visited

  1. Thanks! That worked like a charm. :thumbsup: I may have some answers too. When I first installed this contribution I couldn't create coupons either. It had something to do with the field values not being received. I changed all insert and update values in coupons.php to $_POST[""] values and then everything worked. example tep_db_input($coupons_description) . "', '" . tep_db_input($coupons_discount_percent) ."', " . to tep_db_input($_POST["coupons_description"]) . "', '" . tep_db_input($_POST["coupons_discount_percent"]) ."', " .
  2. I have a unique sort order for the module. :)
  3. First of all, thank you for this great contribution. It is exactly what I needed. :) I have run into a little problem though. And I haven't been able to find the problem myself. I hope you can help me. It's the same problem some other people here seem to have. If I use a coupon code on the "checkout_payment.php" page and I go to "checkout_confirmation.php" page, the discount isn't shown. I first have to refresh the page for it to be visible. The same happens when I go back to the "checkout_payment.php" page and remove the coupon code. I have to refresh the confirmation page for the discount to be removed. The discount is calculated, even if it isn't showing. Because when I confirm the order without refreshing the page, the discount is used on the final order. As far as I can figure out it has something to do with the $this->info['coupon'] being empty in de order class. But I can't seem to fix it. :) In your common_problems.txt you talked about something like this. But the discount coupon has a unique sort order in order total. Can you help me(us) with this problem? :blush: