Jump to content

mitchsb

Members
  • Content count

    13
  • Joined

  • Last visited

1 Follower

Profile Information

  • Real Name
    Mitch Brown
  1. mitchsb

    Coupon Addon

    When I installed the Discount Coupon Addon, I got this error. What am I doing wrong? Fatal error: include() [<a href='function.include'>function.include</a>]: Cannot redeclare class ot_discount in /home/content/88/9452888/html/cart2/catalog/admin/modules.php on line 130
  2. mitchsb

    Discount Coupon Code addon

    Is there an answer to the last error I got?
  3. mitchsb

    Discount Coupon Code addon

    OK, I put that in and now I get this: Fatal error: include() [<a href='function.include'>function.include</a>]: Cannot redeclare class ot_discount in /home/content/88/9452888/html/cart2/catalog/admin/modules.php on line 130
  4. mitchsb

    Discount Coupon Code addon

    I have yet to get an answer to this question. Please help somebody.
  5. mitchsb

    Discount Coupon Code addon

    I've uploaded the same file, discount_codes.php, to the same place, catalog/admin/includes/languages/english/, 4 times now, and I still get the same error.
  6. OK, as I'm fairly new to Oscommerce and I don't know how to install addons, I have questions. I tried to install the Discount Coupon Code addon today. I did as the instructions say, but I can't get it to work. It said to install these files: catalog/admin/discount_codes.php catalog/admin/includes/languages/english/discount_codes.php catalog/includes/modules/order_total/ot_discount.php And to modify catalog/includes/modules/order_total/ot_tax.php file to go from: function process() { global $order, $currencies, $tax_discount; // Discount Code 3.1.1 reset($order->info['tax_groups']); while (list($key, $value) = each($order->info['tax_groups'])) { if (!empty($tax_discount[$key])) $value -= $tax_discount[$key]; // Discount Code 3.1.1 if ($value > 0) { to: function process() { global $order, $currencies; reset($order->info['tax_groups']); while (list($key, $value) = each($order->info['tax_groups'])) { if ($value > 0) { I did all of this. However, I can't figure out where to go to install the module. I think I found the place, but I'm not sure. I went to "order total" and installed "MODULE_ORDER_TOTAL_DISCOUNT_TOTAL". I have no idea if this is the right one. But when I looked at it, I got the following: Warning: include(/home/content/88/9452888/html/cart2/catalog/includes/languages/english/modules/order_total/ot_discount.php) [function.include]: failed to open stream: No such file or directory in /home/content/88/9452888/html/cart2/catalog/admin/modules.php on line 129 And this: Warning: include() [function.include]: Failed opening '/home/content/88/9452888/html/cart2/catalog/includes/languages/english/modules/order_total/ot_discount.php' for inclusion (include_path='.:/usr/local/php5_3/lib/php') in /home/content/88/9452888/html/cart2/catalog/admin/modules.php on line 129 Please help.
×