Active
Project:
Ubercart Importer
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Sep 2009 at 10:06 UTC
Updated:
15 Nov 2011 at 11:39 UTC
Hi all,
I proudly present you my work for uc_importer conversion to D6. I did it because i choose to migrate to D6 for my webstore at http://www.bergayamuslim.com (but i haven't launched the D6 version yet), and i don't want to create the products one by one, i need uc importerd for D6/UC 2.
This uc importer work more then the original, i add a new feature such that it can export/import product stock from different attributes.
Instead of this, i also converted ubrowser to D6 to support this uc_import. I will post it soon :)
Just try it!
| Comment | File | Size | Author |
|---|---|---|---|
| uc_importer.zip | 22.89 KB | Rijalul Fikri |
Comments
Comment #1
undersound3 commentedHey,
First of all, thanks for your work.
What I am trying to do is importing a list of products into drupal. I setup a category hierarchy with taxonomy and added some products to some categories to see how the export file looks.
Now I want to edit this xml file and add the big list of products that i want to import back into drupal.
But adding one new
node to the xml will not put that product into the right category. Is this because the product first needs to exists in the database so it can see under which category it belongs?
One of your reasons for building this conversion is that you don't want to add the products by hand so I think I am overlooking of misinterpreting the functionality of this module.
Thanks,
undersound
Comment #2
carllee0413 commentedexport products
Fatal error: Call to undefined function ubrowser() in C:\AppServ\www\mit2\sites\all\modules\uc_importer\uc_importer.module on line 315Drupal 6.14
Ubercart 6.x-2.0-rc7
Thanks
Comment #3
undersound3 commentedHey Carllee0413,
I think you need this module:
http://www.ubercart.org/files/ubrowser-6.x-1.3.tar.gz
Greets,
Undersound3
Comment #4
vfalcao commentedHello.
I'm trying to use uc_importer, and I'm stuck with the following error while trying to import
some data from ubercart 1 to ubercart 2:
warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'uc_product_class_form' was given in /var/www/drupal6/includes/form.inc on line 372.
Am I doing anything wrong ?
Comment #5
cb1100sf commentedHi lads,
I tried this module's export but I got only a white screen. Did I missed something?
Comment #6
priyankap commentedHi folks,
I installed this module, gave import and export permissions in 'Permissions' tab for the administrator. I have logged in as the administrator now. Searched the whole site, but did not find import/export link. Secondly, I got a post where they mentioned the path as ../products/import.
I gave the file path, but what has to be put in directory option?
I tried just with the file path and this gave me a white screen.
Please help, how can I get the uc_import module working?
Comment #7
priyankap commentedHi All,
I realized my mistake... I im working on Drupal 6.4 on php 4 server....
Now I installed Drupal 6.16 on php 5 server and I got the import/export links under store administration->Products.
I added some dummy products and assigned attributes and categories to it.
Now I exported, and it gave me a good xml.
I went back to the site and deleted all the products, attributes and categories I had created.
I tried to import the same xml, but it gave me errors.
Something like this,
Error1:
Invalid argument supplied for foreach() in C:\wamp\www\drupal\sites\all\modules\uc_importer\uc_importer.module on line 516.
Error2:
Duplicate entry '33-0' for key 1 query: INSERT INTO uc_product_options (nid, oid, price, weight, ordering) VALUES (33,0,0,0,1),(33,0,0,0,2),(33,0,0,0,3) in C:\wamp\www\drupal\sites\all\modules\uc_importer\uc_importer.module on line 1338.
What can be wrong now?
People please help.
Comment #8
marcusahle commentedIn the uc_importer_export_products function:
When taxonomy_node_get_terms() is called you need to pass in $product rather than $product->nid In D6 it expects the whole node object rather than the nid.
Comment #9
ohthehugemanatee commentedHi marcusahle -
this is great work... since it seems likethis module is dead, why not put it into a sandbox on d.o? It'll be easier for people to contribute patches until it's really solid enough to be a full module.
Comment #10
harimohan commentedI was trying uc_importer 6.x. When I tried to export items it gives an xml file has only a header
" <?xml version="1.0" encoding="utf-8" ?> "
What it means ? help me please..