Update Everyday Automaticaly DB Table/Field from ASCII - .CSV is project number 375458
posted at Freelancer.com. Click here to post your own project.
Bid Count: 22
Average Bid:
$ 171
02/21/2009 at 4:41 EST
Project Creator:
elina
Employer Rating: (No Feedback Yet)
02/13/2009 at 5:38 EST:
We need the script to be portable, for example i want to be able to use it to another joomla/viruemart installation, just changing some lines of code like domain or to add/remove virtuemart_dbfields/tables and also the ability to use different ascii/csv/excell file. Please use #comments in your script.
We need, from the desktop sync application (.exe), to choose the file (.csv,ascii,excell) for upload, and also to enter the server (domain or IP). When the user puss the button it will update existing db product fields, add new db products (if any new in the .csv/ascii/excell), and also to remove db products that there isn't any more in the .csv/ascii/excell.
You have to setup also a cron job to update the 'Stock' field every day for example at 06:00.
In the near future, we will need you to develop the same project for magento platform
02/13/2009 at 5:47 EST:
I uploaded a sample file with 30 products. This is the explaination because it is in greek language
DB tables --> jos_vm_product field - jos_vm_product_price
Col.A --> product_sku
Col B --> product_desc + product_name
Col.C --> product_unit ## It's a text area in virtuemart admin. You can enter it as it is...
Col F --> product_tax_id ## ='2' -- All the products using taxID=2 (19%)
Col.N --> ##is the product price(with tax included). Tables: product_id from jos_vm_product and product_price_id , product_price from jos_vm_product_price ### Here there are 2 tables involved...
Col.O --> product_in_stock ## (values from 0 - 999)
##Col.N is the Gross Price (with tax included) (Col.M is the Net Price without tax).
***I believe that you have to bypass default values for all fields. Only this way the products will be published right away. For example it's critical for every product to have product_publish=Y etc.
*** I have to be able to change/control those 'columns' which your script will update Mysql of other joomla/virtuemart installations...
|
Job Type |
|