Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding fields in Easy Populate


Gata

Recommended Posts

I am experimenting with Easy Populate to try and get it working right before uploading all of my products. I am working with books, and would like to have separate, searchable fields for the author, title, and description. I was just using the "products_name" field for both author and title- not the most elegant solution.

 

I added a field called v_author_1 to the table products_description using phpmyadmin.

 

I also added a column to the default Easy Populate with the same name, and put in some pretend authors into the products and reuploaded the file.

 

The author field does not display.

 

I am thinking that I need to edit some files in includes/languages and also default.php and product_info.php but am at a loss as to where to add this info.

 

Can anyone point me in the right direction?

Link to comment
Share on other sites

You need to add fields in about 4 places in EasyPopulate.php to get the fields to show up. I would do a search on an existing field of the same type and cut and paste the code below that field with the changed field name.

 

I don't know how to add fields to the product pages yet, I haven't messed with that much, but will be learning this weekend :-) It's my turn to start pulling my hair out adding the "tougher" to add contributions, I have a whole folder full! (Thanks Linda!)

 

I did modify EP this week to add the fields for Mo Pics if anyone needs it email me at [email protected]. Not sure how perfect it is, but it works :)

 

Debbie

[no external urls in signatures please, kthanks]

Link to comment
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.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

×
×
  • Create New...