Jump to content


  • Content count

  • Joined

  • Last visited

  • Days Won


Everything posted by kgt

  1. This is the support thread for the Order Total contribution Discount Coupon Codes found here: http://www.oscommerce.com/community/contributions,4269
  2. See the README for help getting error messages to display on templated stores. A redirect to the shopping cart is not really something DCC normally does. If this happens, I suspect it's the result of incompatible/conflicting contributions. I'd need more information and a copy of your checkout_confirmation.php to know more.
  3. This is exactly the kind of discrepancy you can expect. (In the US, sales taxes are generally much smaller percentages, so the difference can usually be considered a "small error" for store owners who are trying to do this).
  4. If you're using version 3.3, what did comment out? The line that would have been commented out on line 116 was from version 2. Did you upgrade? If so, make sure you uploaded the new version of the discount_coupon.php class file.
  5. I think you are correct. Now that you have debug off, you shouldn't run into this again. Good work figuring the problem out and solving it. Just to clarify for everyone: Debug Mode should NOT be left on in production stores. It really is only for debugging. It's one of those things you should be turning on just to get the information and either look at it or send it to me, and then turning off again right away. It interferes with normal operation of DCC and osCommerce in more than one way.
  6. This should be due to an error in the install instructions. Make it: $contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_CATEGORIES, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_CATEGORIES_PRODUCTS . '</a><br>' . '<a href="' . tep_href_link(FILENAME_PRODUCTS_ATTRIBUTES, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_CATEGORIES_PRODUCTS_ATTRIBUTES . '</a><br>' . '<a href="' . tep_href_link(FILENAME_MANUFACTURERS, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_MANUFACTURERS . '</a><br>' . '<a href="' . tep_href_link(FILENAME_REVIEWS, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_REVIEWS . '</a><br>' . '<a href="' . tep_href_link(FILENAME_SPECIALS, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_SPECIALS . '</a><br>' . //kgt - discount coupons '<a href="' . tep_href_link(FILENAME_PRODUCTS_EXPECTED, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_PRODUCTS_EXPECTED . '</a><br>' . '<a href="' . tep_href_link(FILENAME_DISCOUNT_COUPONS, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_DISCOUNT_COUPONS . '</a>' ); /*************** '<a href="' . tep_href_link(FILENAME_PRODUCTS_EXPECTED, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_PRODUCTS_EXPECTED . '</a>' ); ***************/ //end kgt - discount coupons
  7. This is highly suspicious behavior that I would attribute to a general problem rather than something you might have done installing Discount Coupon Codes. The text of the errors you're getting is important. Always provide the error message. A link to your site may also help debug the problem.
  8. "The coupon code you have entered is not valid" message displays when: 1. No coupons could be found with a date range that matches today 2. No coupon could be found that matches the given code 3. A customer-level exclusion was found Double check none of the above is true. Also TRIPLE CHECK that your dates are REAL DATES. Make sure they're "9/22/2007" and not "9/22/0007".
  9. Cannot help much without an error message or some other info to help pinpoint the problem.
  10. It's more like fudging. Unless you're giving a 100% discount, the tax will always be calculated against the discounted price. People who try to use these as gift certificates (applied after tax) are fudging and accepting the small errors that can crop up trying to do it that way. Or they just don't understand what the difference is.
  11. Please review the installation instructions for admin/includes/boxes/catalog.php.
  12. Double check the changes made to includes/classes/order.php. Most calculation and display problems originate from missing/duplicate code in that file.
  13. If you do not want this check to even occur, you can comment out line 85 of includes/classes/discount_coupon.php: //if( discount_coupon::is_recalc_shipping() ) tep_redirect( tep_href_link( FILENAME_CHECKOUT_SHIPPING, 'error_message=' . urlencode( ENTRY_DISCOUNT_COUPON_SHIPPING_CALC_ERROR ), 'SSL' ) ); //redirect to the shipping page to reselect the shipping method Otherwise, it looks like it actually depends on "Display subtotal with applied discount?" being set to true? Do you have this set to false?
  14. It sounds like you have an older version. If so, try the newest version. There are some calculation changes between version 2 and 3 that makes 3 much more reliable.
  15. Did you make the changes to includes/modules/shipping/table.php?
  16. Yes, but not without fairly significant changes. The shopping cart is 100% different from the order process. It's an ENTIRELY different set of code.
  17. Look in Reports in your administration section.
  18. The PERL upgrade should not affect anything. Please see the README for help generating a debug output.
  19. Please see the README for help generating debug output.
  20. See the README for help getting debug output.
  21. Not sure what you mean... you are trying to "open" the module in your administration interface, correct?
  22. The "Display subtotal with applied discount?" is not there for fun. It's supposed to work. If it's not, then I don't know what to tell you. Try getting a debug output and send that to me for review.
  23. That's the right line. Replace it with the code provided in the install instructions. It should work fine.
  24. Is your coupon set up as a shipping discount or an item discount? If it's an item discount, you need to make it a shipping discount. Otherwise the item price really is -1.25.
  25. For all: PLEASE NOTE RC1 was released AFTER the latest version of Discount Coupon Codes. Though it should work if you do an manual installation, DO NOT COPY OVER EXISTING FILES with the files from the installation zip if you have RC1.