8 replies [Last post]
gagarine@drupal.org's picture
Offline
Joined: 01/23/2008
Juice: 27
Was this information Helpful?

Hello,

In admin/store/products/export it's possible to export all product from any category? Now i just can export product former selected one by one... Also if i select two products i have an empty xml file. But anyway i can't select all products, i have a lot of category and sub-category withe a lot of products...

An other thing:
I think import module is a little bit bugy because just after an export of one product, the info messages display this message in the page store/products/export (same issue in the demo of ubercart):

<?php
Array
(
    [
vocabularies] => Array
        (
            [
0] => 3
       
)

    [

categories] => Array
        (
            [
0] => 22
           
[1] => 13
       
)

    [

manufacturers] => Array
        (
        )

    [

attributes] => Array
        (
        )

    [

classes] => Array
        (
        )

    [

products] => Array
        (
            [
0] => 28
       
)

)

?>

So what can i do?

Thanks

Lyle's picture
Offline
AdministratoreLiTe!
Joined: 08/07/2007
Juice: 6846
Re: import module: Export all product from any category

Maybe the exporter just isn't well-documented. You should be able to select several products on the right side and hit the Select button. This should put little thumbnails in the bottom. You can switch categories and continue adding products if you want. Once you have all the ones you want to export, then click the Export button to generate the XML.

I can't tell if you're already doing that or not, but I do need to write down these instructions somewhere.

gagarine@drupal.org's picture
Offline
Joined: 01/23/2008
Juice: 27
Re: Re: import module: Export all product from any category

Thanks for your reply,

Quote:

You should be able to select several products on the right side and hit the Select button

Yeah I do and that work:) thanks

But i have more than 3'000 products... so select product after product is not possible. A solution to export all products quickly?

gagarine@drupal.org's picture
Offline
Joined: 01/23/2008
Juice: 27
Re: Re: Re: import module: Export all product from any category

up ?

Lyle's picture
Offline
AdministratoreLiTe!
Joined: 08/07/2007
Juice: 6846
Re: Re: Re: Re: import module: Export all product from any categ

If all of your products are in one (or reasonably few) catalog term, you can drag your mouse over all of the options to select them all.

gagarine@drupal.org's picture
Offline
Joined: 01/23/2008
Juice: 27
Re: Re: Re: Re: Re: import module: Export all product from any c

yeah that the problem... i have "a lot" of term and sub term. I don't find a good solution for import/export from CSV or XML files...

All my catalog term:

roulements
-à billes
-à billes à contact oblique
-à billes de précision
-à rouleaux cylindriques
-à rouleaux côniques
-à rotule sur billes
-à rotule sur rouleaux
-à rouleaux torroïdaux CARB
-à aiguilles
-axiaux
-galets de came
-pour paliers Y
-paliers Y en tôle
-paliers Y en fonte
-paliers Y synthétiques
-paliers SNL
-paliers lisses
-rotules
-embouts à rotule
-roues libres
-douilles à billes
-technique lineaire
-billes
-accessoires

entraînement, antivibration
-courroies
-poulies
-chaînes
-roues dentées
-accouplements
-cardans
-roues-roulettes
-amortisseurs à gaz
-amortisseurs caoutchouc (silent blocs)

étanchéité
-bagues d'étanchéité (simmerings)
-joints O-Rings
-joints V-Rings
-râcleurs
-manchettes
-joints de pistons
-plaques de matières à joints
-presse-étoupe
-mastics, pâtes à joints

pneumatique
-tubes
-raccords
-unités de traitement d'air
-vérins

lubrification
-huiles
-graisses
-pompes à graisse
-graisseurs
-graisseurs automatiques
-systemes de graissage centralisé

outillage
-outils de montage de roulements
-outils de démontage de roulements
-extracteurs
-appareils de mesure
-appareils de contrôle
-appareils de chauffage
-outils à main
-servantes d'atelier
-clés dynamométriques
-outillage électrique
-machines d'atelier
-outillage pneumatique

gagarine@drupal.org's picture
Offline
Joined: 01/23/2008
Juice: 27
Re: Re: Re: Re: Re: Re: import module: Export all product from a

Yeah.. ubercart is very nice. But i don't understand the import/export logic...

The problem is that:
I have an other soft to manage all product (with complexes client price calculating). I can export cvs or xml from this soft. After that i would like import the data in ubercart (with a xslt transformation for example). But in my soft the categories is just "string"... they don't have a correspondence with drupal therm id.

My dream:
myInternalSystem -> xml -> xslt? -> xmlforubercart -> ubercartimporter -> product and therm update/add/remove

Ubercart -> onclickexport -> xmlforubercart -------> in my backup Smiling

What appends with products CCK field? Can i import categories from my xml file?
on of the question is how map categories during importation...

Lyle's picture
Offline
AdministratoreLiTe!
Joined: 08/07/2007
Juice: 6846
Re: Re: Re: Re: Re: Re: Re: import module: Export all product fr

If your old system doesn't have any kind of numeric id for your categories or products, you can just make them up. I don't know anything about XSL, but you may be able to figure out a way to add the id tag with an "auto-increment" value.

In your Übercart site, you should create the CCK fields beforehand, and then you can add to the <fields> tag the data that you want to put into it.

gagarine@drupal.org's picture
Offline
Joined: 01/23/2008
Juice: 27
Re: Re: Re: Re: Re: Re: Re: Re: import module: Export all produc

ok thanks is see the way...

Now I test http://www.ubercart.org/forum/general_discussion/2933/node_import_module... and if that don't work like i would like -> xsl... but I think is a little bit harder.