Author Topic: Importing Data Directly Into Database  (Read 458 times)

kory27

  • Beginner
  • *
  • Posts: 39
Importing Data Directly Into Database
« on: April 14, 2012, 18:07:25 PM »
Hello,

I have a question.

I have a large amount of categories and products in flat csv files.

I would like to import them directly into the database tables.

Are there known issues with this?  Do I need to import them in certain order?

I am concerned that there are backend operations VM does when creating, for instance, a category in the admin area.

Any insight is appreciated.

Thanks.

franzpeter

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 323
    • 2in1-online
Re: Importing Data Directly Into Database
« Reply #1 on: April 16, 2012, 02:43:31 AM »
It should work. You have to pay attention on the slugs. There should not be any double entries. Else it will not work (slugs need to be there by default for categories, manufacturers, products a.s.o. in the language files).

kory27

  • Beginner
  • *
  • Posts: 39
Re: Importing Data Directly Into Database
« Reply #2 on: April 18, 2012, 16:09:01 PM »
Hello,

I did it with 0 errors on both the jml_virtuemart_categories and jml_virtuemart_categories_en_gb tables, but they aren't showing in the VM Admin, but show in the db.

They show a "1" for published, and appear to look just like the sample date, which I left in for reference.

Any ideas?

Thanks in advance. 

Kory

rightminddesigns

  • Jr. Member
  • **
  • Posts: 116
Re: Importing Data Directly Into Database
« Reply #3 on: April 22, 2012, 17:20:24 PM »
Hello,

I have a question.

I have a large amount of categories and products in flat csv files.

I would like to import them directly into the database tables.

Are there known issues with this?  Do I need to import them in certain order?

I am concerned that there are backend operations VM does when creating, for instance, a category in the admin area.

Any insight is appreciated.

Thanks.

Try this extension: http://extensions.joomla.org/extensions/migration-a-conversion/data-import-a-export/19745

VirtueMart Forum

Re: Importing Data Directly Into Database
« Reply #3 on: April 22, 2012, 17:20:24 PM »