Hello!
I wonder if someone can please help me! I downloaded the contributions, fixes etc... for the Discount Coupons and it looked like it was going to work great!
Then a hick-up.... I was able to set it all up, get the code, set the parameters of time etc... and when I tried to buy something and cash out, this is the message I received....
Fatal error: Cannot redeclare class order in
/home/content/( EDIT USER)/html/includes/classes/discount_coupon.php
on line 13
HERE ARE THE CODES from that file:
<?php
/*
$Id: order.php,v 1.33 2003/06/09 22:25:35 hpdl Exp $
osCommerce, Open Source E-Commerce Solutions
[url="http://www.oscommerce.com"]http://www.oscommerce.com[/url]
Copyright © 2003 osCommerce
Released under the GNU General Public License
*/
class order {
var $info, $totals, $products, $customer, $delivery, $content_type;
function order($order_id = '') {
$this->info = array();
$this->totals = array();
$this->products = array();
$this->customer = array();
$this->delivery = array();
if (tep_not_null($order_id)) {
$this->query($order_id);
} else {
$this->cart();
}
}
I am a bit of a noobie, point me in the right direction, tell me what needs to be done, I can usually get er done with a little help!
Thanks!
Char :)