My first osCommerce contribution

Standard

http://arafatbd.net/2006/12/08/my-first-oscommerce-contribution/

Advertisements

7 thoughts on “My first osCommerce contribution

  1. Hi,

    Thanks for the update. I am testing it right now. I looks fine.

    Some issues:

    1. Need to add filename and tables not only in /catalog/admin/include, but also in /catalog/include
    2. Language are not used consistantly. Like in product_attributes is not visible
    3. Would like to have PIN of Serial also published into order_history

    Good work.

  2. @rajeeban: You must add the download file as a product attribute, then check the PIN code checkbox. It does not fill automatically when viewing. Check database if field is filled with 1. Then after order is complete, serial or PIN is displayed besides the download file.

  3. After:

    tep_db_query(“UPDATE “.TABLE_PRODUCTS_PINS.” SET products_pin_used='”.$insert_id.”‘ WHERE products_pin_id = ‘”.$pin_res[‘products_pin_id’].”‘”);

    Add:

    //Update status history with PIN Number
    $sql_data_array = array(‘orders_id’ => $insert_id,
    ‘orders_status_id’ => $order->info[‘order_status’],
    ‘date_added’ => ‘now()’,
    ‘comments’ => $pin);
    tep_db_perform(TABLE_ORDERS_STATUS_HISTORY, $sql_data_array);

    This adds the serial into the order history

  4. Wow, Congrats. Keep it up.

    I will start using oscommerce very soon as I have an Order to implement complete ecommerce solution for one of my client.

  5. johnaa

    I test ed on V0.6, it work well.
    but v0.7 didnot work for me, I got blank screen, PHP editor complain “php $end un-expected”.
    I test on Mysql 5 and PHP 5.

    Please help

Comments are closed.