Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

chupeman

Pioneers
  • Posts

    2
  • Joined

  • Last visited

Profile Information

  • Real Name
    Carlos

chupeman's Achievements

  1. Hello, I am novice and not much experience with programming... I am trying to use this contribution. If I have register_globals off, it does not work, if I turn them on, everything works (with a few warnings). Are there any patches to OPC to make it register_globals = off compatible? Am I missing something? Any help is appreciated! Thanks in advance
  2. Hello, first of all thanks to everybody in here that helps the community. I hope one day become expert to help others... ;) Does anybody have shipped COD's? I have included the arrays to send the data, but I am missing the value for the COD Flag. Here is what I have: //Added to array for fedex: ,???? => $HTTP_POST_VARS['cod'] // COD Flag // if COD, add COD flag if ($HTTP_POST_VARS['cod'] == 1) { $shipData[????] = 'Y'; } else { $shipData[????] = 'N'; //Added to data manifest: cod => $cod, //arrays for shipping // arrays for COD $cod = array(); $cod[] = array('id' => 0, 'text' => 'N'); $cod[] = array('id' => 1, 'text' => 'Y'); //to the form <tr> <td class="main" align="right">COD?</td> <td class="main"> </td> <td class="main"><?php echo tep_draw_pull_down_menu('cod',$cod); ?></td> </tr> //and <input type="hidden" name="cod" value="<?php echo $HTTP_POST_VARS['cod']; ?>"/> What else do I need to ship COD's and print the second and third labels? Any help is really appreciated!
×
×
  • Create New...