Jump to content


Corporate Sponsors


Latest News: (loading..)

- - - - -

Add More Fields


122 replies to this topic

#121 Jack_mcs

  • Community Member
  • 24,453 posts
  • Real Name:Jack
  • Gender:Male

Posted 29 March 2012, 01:11

View PostUsingOSC, on 29 March 2012, 00:51, said:

I am not technically advanced to edit the product_info.php on my own to display the new fields on web. Do you know if there is any contributions to display newly added fields to the Admin>Config>product listing options area so I can select to show or not?

Also, there is somewhere the codes may not be clean. After installation, tried to add/delete a field called "size". then I used EasyPopulate to download the products, there is a column v_size_1 in the downloaded file and then it prevented the file from uploading because the size field is invalid. I browsed the sql database for the size column, I could not find it. Could it be that when adding/deleting a new field and check the EP, it actually modify the EP files and that's where the traces of "size" is left?
There is another contribution that adds extra fields but I don't think it adds to the product listing options, though I could be mistaken. I think it is called Extra Fields, or something like that. You can do a search for it and then ask in its support thread before installing it.

I'm not aware of any problem with this contribution not woking with Easy Populate, though that is always possible.

#122 UsingOSC

  • Community Member
  • 26 posts
  • Real Name:chao

Posted 29 March 2012, 01:24

Many thanks,
chao

#123 GMcSwegan

  • Community Member
  • 6 posts
  • Real Name:G McSwegan

Posted 30 March 2012, 15:17

View PostJack_mcs, on 08 March 2012, 00:18, said:

I don't understand what code you are referring to but when you add a field with this contribution, it is as if you went into the database and added it yourself and will work like any other field. The function added around the products description line is just for decoding the field in the description. If you want to include it elsewhere on the page, or anywhere in the site, you have to load it in from the database and format it like any other field.

I thought I should just come back to this and say thanks, I hadn't included the field "p.name" in the "$product_info_query = tep_db_query" line. Basic -stupid me.

Thanks again.