News:

Looking for documentation? Take a look on our wiki

Main Menu

Im/exporting product atributes

Started by Bedet, April 06, 2005, 12:24:26 PM

Previous topic - Next topic

Bedet

For a new shop (shoes) i need to import all the attributs (sizes and colours) for approx 750 products.

As I can see its not possible to do a im/export using the csv import function.

Is there a work arround / hack / fix?

Danny Locksmith

If you know SQL and are familiar with the database  structure you can manipulate the tables directly

Bedet

I know, but I don't want the customer to access PhPmyadmin and play arround ;) when he is going to update his catalog.

I preffer a tool like the csv function for him to do this.

Danny Locksmith

Once you are familiar with the SQL required for this function you should be able to modify/hack the current CSV funtions to provide the functionality required, or maybe provide a separate application to do the job?
I think you would be a hereo if you worked it out and there are probably people who would help if you get stuck?

Bedet

I've found a way to import my attributes by hacking the csv import (classes/ps_csv.php):

As I don't use the spcial products i replaced the field 'product_special' with the 'attribute' field .

My import data is no with text value between a '"' and fields delimited by a ',' and it works fine for me! ;D


(>> DO NOT CHANGE 'csv_product_special' !!)


This trick might work for other fields as well, but offcourse at your one risc ;)

Danny Locksmith