Jump to content
Sign in to follow this  

[RESOLVED] adding custom fields in the import .csv select menu

Recommended Posts


I manually added some custom fields in the product tab of my database and I edited admin→skins→templates→products.index.php adding the text inputs
It works great!

My only problem is that the new fields are not visible in the import page in the select menu to assign a .csv columns to a specific DB field.
What should I do?
(I think it's about a smarty {$COLUMNS}.... where/how do I edit its content?)



Edited by neti_treves

Share this post

Link to post
Share on other sites

Welcome neti_treves! Glad to see you made it to the forums.

In the admin source file products.import.inc.php, near line 298, find the array $fields.

Add the names of the new fields and descriptions (followed by a comma) at the top of the list.

Edited by bsmither

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Create New...