My first osCommerce contribution
December 8, 2006 — Arafat Rahman
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 !
































December 10, 2006 at 5:57 am
I have tested unique virtual products 0.7, but it is not sending pins with email.
December 13, 2006 at 4:29 pm
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.
December 13, 2006 at 4:32 pm
@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.
December 13, 2006 at 5:24 pm
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
December 14, 2006 at 4:04 pm
Thanx Frank for your contribution.
December 18, 2006 at 3:16 pm
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.
February 11, 2007 at 8:42 pm
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
June 19, 2008 at 12:13 pm
[...] 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 [...]
April 15, 2009 at 7:43 pm
After reading the article, I feel that I need more info. Could you share some resources please?
April 22, 2009 at 12:56 pm
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!