Add attribute values directly into MYSQL for batch editing
Permalink
Hi all, I'm using the Concrete5 Community Store block and it is working nice but I need to add in over 900 existing items. I have done this by importing a .csv to the correct table in the MySQL DB but I now also need to give them values to a few product attributes. Can anyone please enlighten me as to where the values are stored for each product so that I can create a a csv to match the table and import batched data?
I have run searches within the database for existing values and they only seem to appear in attributesearchindex and atDefault but I can seem to find how to bind atDefault to each product.
I admit I may have completely the wrong idea here to any help would be greatly appreciated.
Richard.
I have run searches within the database for existing values and they only seem to appear in attributesearchindex and atDefault but I can seem to find how to bind atDefault to each product.
I admit I may have completely the wrong idea here to any help would be greatly appreciated.
Richard.
Attributes on the other hand are much trickier and aren't really suitable for directly manipulating via the database. My advice here would be to handle this via the API - you would write a script to read the CSV, find the product and add the attribute values programmatically.