News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Data from sql table into orders/details

Started by lol2x, July 04, 2013, 22:57:06 PM

Previous topic - Next topic

lol2x

I am trying to add tracking number service into my VM shop. I made tracking_number column into SQL table virtuemart_products, now on orders/details page i want to show (using the API) route of that shipping. I dont know php very well so i can't do that alone, i have something like that:


$params = array(
'mode' => 'package',
'courier' => 'DHL',
'package' => 'HERE I NEED TO WRITE PACKAGE NUMBER FROM MYSQL',
'output' => 'xml',
'detailed' => true,
);


I have no idea how can i put the value from mySql into that array() Anybody can help?


Milbo

For the product? you sell unique products? I doubt it.

You must use the plugin table for that and learn how to use the plugin tables.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

lol2x