My first osCommerce contribution

by

in ,

Hi all,

Now a days I am working on osCommerce. Recently I am working on Online Calling Card /Phonecard Selling. I developed it in osCommerce (the leading opensource online shopping cart tools in php). I used a module named Unique Virtual Products.

I modified it a littlebit and posted to osCommerce contribution section.

You may download it from here Unique Virtual Products 0.7.

Cheers !


Comments

12 responses to “My first osCommerce contribution”

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

  2. 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. @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. 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. Thanx Frank for your contribution.

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

  8. […] first osCommerce contribution December 8, 2006 — Arafat Rahman http://arafatbd.net/2006/12/08/my-first-oscommerce-contribution/ Possibly related posts: (automatically generated)Another osCommerce ContributionosCommerce Tools […]

  9. After reading the article, I feel that I need more info. Could you share some resources please?

  10. If you want to see a reader’s feedback 🙂 , I rate this article for 4/5. Decent info, but I have to go to that damn google to find the missed parts. Thank you, anyway!

  11. Wow, looks good , never knew that oscommerce had such cool adddons. Keep it up.

  12. After:tep_db_query( UPDATE .TABLE_PRODUCTS_PINS. SET pdocurts_pin_used=’ .$insert_id. WHERE pdocurts_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

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.