Jump to content

SpinerC

Members
  • Content count

    135
  • Joined

  • Last visited

Posts posted by SpinerC


  1. After losing my entire store from a hosting change, I started from scratch again with the basics, and again and again due to errors... frustrated I started to try to get some help. I ran across the Mini Template System and had a discussion with the creator about the look and design I was seeking. Within a few short days, I had exactly what I was looking for and at a reasonable set up fee. The small changes I have made since then, were so easy with the Mini Template System and when I wanted something added that was beyond my scope of abilities, the cost was reasonable and done in a timely manner. I love the osCommerce platform and with the Mini Template System, it takes all the guess work and allows for a custom appearance and flowing use. I highly recommend the Mini Template System.


  2. 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 :)

×