Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

rawandy

Archived
  • Posts

    7
  • Joined

  • Last visited

Posts posted by rawandy

  1. I can't seem to get this one working either :-/. Wont login when im in the admin panel, and when I try to login to the admin area at the forum I get redirected to /forum/ instead of /phpbb2/ , it forwards me to the forum folder automaticly, so its basicly impossible to get inside the admin panel there too.

     

    Hope Gabriel gets back and helps us :o.

     

    I've read everything and I cant find anything to help me.

  2. Thanks for all the help!. Its almost perfect now :D.

     

    If you want to take a look, scroll down here:

    http://www.importhandel.no/product_info.php?products_id=140

     

    :)

     

     

    I want to add a table around the related products, just like the table above with the product info in.

    Not currently sure how I would do that correctly, if you want to tell me how then thanks :)

     

    I just can't thank you guys enough, perfect script and perfect coding :D. Please do continue with your excellent effort and work.

     

    Cheers,

    Andree

  3. Dang, I can't edit or delete the last post!.

     

    I actually managed to fix it myself :D. I started again with a clean general.php and modified it correct this time, found out that I misunderstood you the first time :s.

     

    But now everything alright!. Secondly I had problems because the default language on my admin is Norwegian, how should I go about that?. It dosent matter for me that it is in English, but I need to have Norwegian as default!.

     

    Thanks again,

    Andree

  4. Hi!.

     

    Nice contribution!.

     

    I just tried installing this one, I have a modded version of oscommerce, I can't get it to work apperantly :(.

     

    I edited all files as mentioned in the "new_install" text, but I get this error when I try to enter the Admin pages:

     

    Fatal error: Cannot redeclare tep_get_products_description() (previously declared in /home/apache/htdocs/kunder/importhandel.no/www/admin/includes/functions/general.php:523) in /home/apache/htdocs/kunder/importhandel.no/www/admin/includes/functions/general.php on line 539

     

     

    My site seems to work fine, except when I view products, then I get this error:

     

    1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'RELATED_PRODUCTS_MAX_DISP' at line 14
    
    SELECT pop_products_id_slave, products_name, products_model, products_price, products_quantity, products_tax_class_id, products_image FROM products_related_products, products_description pa, products pb WHERE pop_products_id_slave = pa.products_id AND pa.products_id = pb.products_id AND language_id = '4' AND pop_products_id_master = '219' AND products_status='1' ORDER BY rand() limit RELATED_PRODUCTS_MAX_DISP
    
    [TEP STOP]

     

     

    I've probably done some mistakes in the general.php, please help me out :'( .

     

     

    Here's some code from General.php LINE: 523 to 551:

     

    		function tep_get_products_description($product_id, $language_id) {
    	  $product_query = tep_db_query("select products_description from " . TABLE_PRODUCTS_DESCRIPTION . " where products_id = '" . (int)$product_id . "' and language_id = '" . (int)$language_id . "'");
    	  $product = tep_db_fetch_array($product_query);
    
    	  return $product['products_description'];
    	}
    
    
    
    
    
    
    
    
    
    
     function tep_get_products_description($product_id, $language_id) {
    $product_query = tep_db_query("select products_description from " . TABLE_PRODUCTS_DESCRIPTION . " where products_id = '" . (int)$product_id . "' and language_id = '" . (int)$language_id . "'");
    $product = tep_db_fetch_array($product_query);
    
    return $product['products_description'];
     }
    
     function tep_get_products_url($product_id, $language_id) {
    $product_query = tep_db_query("select products_url from " . TABLE_PRODUCTS_DESCRIPTION . " where products_id = '" . (int)$product_id . "' and language_id = '" . (int)$language_id . "'");
    $product = tep_db_fetch_array($product_query);
    
    return $product['products_url'];
     }

     

    Thanks!. Hope we can get this running :).

     

    Sorry for beeing a noob :P

     

    Andree

  5. First of all, I want to say hi, my first post ever here so :).

     

    Ok. Then i'll start:

     

    First off all, I want to offer people cod and regular shipping, im located in Norway.

    I've installed both the servicepakke shipping module, and banktransfer, as a payment module.

     

    My problem is that I got both COD and regular shipping, and some choose regular shipping, and on the next page, where they choose their payment alternatives, they choose COD, which means that they get their shipping price cheaper. Why is this possible?. I mean like, if you choose COD, you shouldent be able to choose a payment alternative, since COD is the payment/shipping alternativ, is it possible to get this to go automatic, if they choose COD?.

     

    COD = Postoppkrav in norwegian.

    COD = Cash on delivery

     

    Hope to hear something from someone!.

     

    Thanks in advance.

     

    Best regards:

    Andree

×
×
  • Create New...