Lost password?    Lost username?    Create an account
OverviewDownloadsForumSupport
CSV Improved

CSV Improved

Rate CSVI on Joomla! Extension Directory

Which version?

Joomla! 1.5
VirtueMart 1.1.x

CSVI 1

CSVI 3

VirtueMart 2.x Not Supported
Joomla! 2.5
VirtueMart 1.x Not Supported
VirtueMart 2.x CSVI 4/5

JD iDEAL Gateway

JD iDEAL Gateway

Integrate iDEAL payments into your site with JD iDEAL Gateway. JD iDEAL Gateway supports VirtueMart 1 and 2, RSForm!Pro, Akeeba Subscriptions, HikaShop and redSHOP and features a payment page. Now with RaboBank Omnikassa, SEPA support.

CSVI Supports

CSVI Supports Kiva

  • Free upgrades for 1 year
  • Priority support for 1 year
  • Joomla 2.5 ready
  • GNU/GPL v3 licensed
  • Multiple component support
  • Automatic import/export
  • Advanced features

The use and non-use of ID fields

The use of ID fields in import files often gives many users problems, whether this is due to not reading the documentation or expecting different behaviour from CSV Improved is not the question I want to answer here. What I do want to hightlight is the problems that might occur using ID fields.

What is an ID field?

An ID field is a field that holds a unique reference number for data in the database. Examples of ID fields are:

  • product_id: Holds the ID for a product
  • manufacturer_id: Holds the ID for a manufacturer
  • category_id: Holds the ID for a category
  • etc.
In the Available Fields list, these are all the fields that end with _id.

What is the life expectancy of an ID field?

The life expectancy of an ID field can range from days to years. As long as the data does not get deleted from the database the ID stays the same. Regularly deleting and importing new data makes the ID change as often as this process is repeated.

How important is the ID field?

As mentioned earlier, the ID field is unique. This makes it important however not as important as other fields that are more consistent than the ID field. Some examples of more important fields:

  • product_sku: The Stock Keeping Unit will almost never change as it identifies a specific product
  • manufacturer_name: The name of a manufacturer is also unlikely to change
  • category_path: The name of a category is unlikely to change

Even though the ID field is important to the shop, other fields are more important for import.

Which field should I use?

It is advised not to use ID fields for import. CSV Improved will find the correct ID based on the other fields you import. If an ID is ever changed and you don't know about it, the import will go wrong.

Another example is when you are importing new data, the ID field does not exist and nothing will be imported as the database cannot find the ID and your shop will remain empty.

Final words

Be cautious using ID fields in your import file, imports are more likely to succeed not using these fields.

TESTIMONIAL

A life saving extension
5 stars
2012-10-31
Working on a conversion site from an old CMS to Joomla, I needed a solution that would import the old users, plus, set them up with correct subscriptions within Akeeba Subscriptions.

A quick pre-sales email to Roland and he said he would be happy to add the features that I needed, but it might take a few weeks. All good, I can wait, it was ready the next day!!

A session with Roland in Skype and any minor issues were sorted and now I can easily import over 2000 users with active subscriptions, saving me who knows how much time in the process.

Roland is one of the true professionals of the extension community and if you are looking for a solution, then you have found it and more!!

Awesome stuff!

STAY INFORMED


Stay informed with the CSVI newsletter.