My first osCommerce contribution

7 Responses to “My first osCommerce contribution”

  1. rajeeban Says:

    I have tested unique virtual products 0.7, but it is not sending pins with email.

  2. Frank Says:

    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.

  3. Frank Says:

    @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.

  4. Frank Says:

    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

  5. Arafat Rahman Says:

    Thanx Frank for your contribution.

  6. raju Says:

    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.

  7. johnaa Says:

    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.