Jump to content



Latest News: (loading..)

- - - - -

Product Extra Field - product list


  • Please log in to reply
16 replies to this topic

#1   eaque

eaque
  • Members
  • 3 posts
  • Real Name:gg

Posted 27 July 2006 - 08:53 PM

Hello everybody

I have installed the contribution Product extra fields who is perfect to do what i want.

It works great, but I can't let the extra fields show in the product_list. I would like to do something like that (http://www.wizardscupboard.com/singles-edition-c-100_3.html)

Someone can help me and i think all community because lot of ppl want to do that ^^

Thanks a lot
Eaque

ps : sorry for my english

#2   jacopo

jacopo
  • Members
  • 86 posts
  • Real Name:jacopo

Posted 10 January 2007 - 07:05 AM

hi everyone...

i am using Product Extra Fields which is a nice feature, but...
i would love to be able to set more options for each field, such as
* short text
* long text
* radio button
* select list

and not only shorttext as it is now.

do you know is anyone is working on this?
thanks
jacopo
Expresionario.com | Pura Sub-cultura!

#3   i3r4dl4d

i3r4dl4d
  • Members
  • 5 posts
  • Real Name:brad

Posted 29 February 2008 - 12:20 PM

yeah you need the contribution "product options" that allows you to add radio and drop down menus etc

#4   viraljetani

viraljetani
  • Members
  • 10 posts
  • Real Name:Vir

Posted 15 June 2009 - 06:51 AM

View Postjacopo, on Jan 10 2007, 07:05 AM, said:

hi everyone...

i am using Product Extra Fields which is a nice feature, but...
i would love to be able to set more options for each field, such as
* short text
* long text
* radio button
* select list

and not only shorttext as it is now.

do you know is anyone is working on this?
thanks
jacopo


Hello Jacopo,

You told that you are using product extra fields contribution,
Can you please tell me which version or file you downloaded from the contribution list of Extra Fields contribution..

There are too many versions of that contribution there and i am not able to figure out which one to use..  So i want to know which version file did you downloaded for this..

Please Help me if possible i am really confused for this and i badly need it for my site..
Thanks in advance.. :)

#5   DirtySnipe

DirtySnipe
  • Members
  • 3 posts
  • Real Name:dirty snipe

Posted 15 June 2009 - 07:49 AM

Im stuck trying to install this contribution.

I downloaded the v2_0j

and tried to follow those install instructions which have left me confused. I'm used to making edits to phpbb3 via these text files but this one is just crazy. The start of the edits goes on about if I am upgrading from an older version but I just want to do a full clean install.

I have gone through the steps i can see the boxes appear in the backend but when i enter information and click preview i dont see the boxes and when i click save it dont save anything.

If i go back to the product in backend the information does not show.

can somebody send me plain instructions for a clean install please.

Edited by DirtySnipe, 15 June 2009 - 07:50 AM.


#6   kenz

kenz
  • Members
  • 157 posts
  • Real Name:kensley

Posted 27 July 2009 - 08:35 PM

View PostDirtySnipe, on Jun 15 2009, 03:49 AM, said:

Im stuck trying to install this contribution.

I downloaded the v2_0j

and tried to follow those install instructions which have left me confused. I'm used to making edits to phpbb3 via these text files but this one is just crazy. The start of the edits goes on about if I am upgrading from an older version but I just want to do a full clean install.

I have gone through the steps i can see the boxes appear in the backend but when i enter information and click preview i dont see the boxes and when i click save it dont save anything.

If i go back to the product in backend the information does not show.

can somebody send me plain instructions for a clean install please.

I have the same exact problem with the same package mentioned above on rc2a! Does anyone have advice on why the sql is not saving the values for these fields?  I started looking in the categories page.  Is there a select statement that needs to be modified on admin/categories.php???

thanks!

#7   kenz

kenz
  • Members
  • 157 posts
  • Real Name:kensley

Posted 27 July 2009 - 08:37 PM

View Postkenz, on Jul 27 2009, 04:35 PM, said:

I have the same exact problem with the same package mentioned above on rc2a! Does anyone have advice on why the sql is not saving the values for these fields?  I started looking in the categories page.  Is there a select statement that needs to be modified on admin/categories.php???

thanks!

Is this statement right for the installation of this module towards mid bottom of categories.php?


<?php
			// START: Extra Fields Contribution (chapter 1.4)
				  // Sort language by ID  
				  for ($i=0, $n=sizeof($languages); $i<$n; $i++) {
					$languages_array[$languages[$i]['id']]=$languages[$i];
				  }
				  $extra_fields_query = tep_db_query("SELECT * FROM " . TABLE_PRODUCTS_EXTRA_FIELDS . " ORDER BY products_extra_fields_order");
				  while ($extra_fields = tep_db_fetch_array($extra_fields_query)) {
				  // Display language icon or blank space
					if ($extra_fields['languages_id']==0) {
					  $m=tep_draw_separator('pixel_trans.gif', '24', '15');
					} else $m= tep_image(DIR_WS_CATALOG_LANGUAGES . $languages_array[$extra_fields['languages_id']]['directory'] . '/images/' . $languages_array[$extra_fields['languages_id']]['image'], $languages_array[$extra_fields['languages_id']]['name']);
			?>
					  <tr bgcolor="#ebebff">
						<td class="main"><?php echo $extra_fields['products_extra_fields_name']; ?>:</td>
						<td class="main"><?php echo $m . '&nbsp;' . tep_draw_input_field("extra_field[".$extra_fields['products_extra_fields_id']."]", $pInfo->extra_field[$extra_fields['products_extra_fields_id']]); ?></td>
					  </tr>
			<?php
			}
			// END: Extra Fields Contribution
			?>

Edited by kenz, 27 July 2009 - 08:40 PM.


#8   kenz

kenz
  • Members
  • 157 posts
  • Real Name:kensley

Posted 27 July 2009 - 09:09 PM

I'm doubting thats the issue now.  The product field values still show once you  preview your product info in the admin.  But once you click on the update button, the values disappear.  They are not stored in the database either.  I'm beginning to wonder if it has something to do with this piece of code on categories.php....


 if (isset($HTTP_GET_VARS['pID']) && empty($HTTP_POST_VARS)) {
		
	  //PRODUCT FIELDS (a) START: Extra Fields Contribution	  
	  $products_extra_fields_query = tep_db_query("SELECT * FROM " . TABLE_PRODUCTS_TO_PRODUCTS_EXTRA_FIELDS . " WHERE products_id=" . (int)$HTTP_GET_VARS['pID']);
	  while ($products_extra_fields = tep_db_fetch_array($products_extra_fields_query)) {
		$extra_field[$products_extra_fields['products_extra_fields_id']] = $products_extra_fields['products_extra_fields_value'];
	  }
	  $extra_field_array=array('extra_field'=>$extra_field);
	  $pInfo->objectInfo($extra_field_array);
	   // END: Extra Fields Contribution

or something similar on that preview page section of categories.php?

thanks!

Edited by kenz, 27 July 2009 - 09:10 PM.


#9   kenz

kenz
  • Members
  • 157 posts
  • Real Name:kensley

Posted 27 July 2009 - 09:45 PM

I doubled checked my categories.php page was tight and now everything is working the way it should.  not sure what i changed though but just tried to make it look like what the instructions required to the best of my abilities.  all good here.

#10   zandapro

zandapro
  • Members
  • 29 posts
  • Real Name:Amanda
  • Gender:Female

Posted 06 January 2010 - 08:13 PM

View Postkenz, on 27 July 2009 - 09:45 PM, said:

I doubled checked my categories.php page was tight and now everything is working the way it should.  not sure what i changed though but just tried to make it look like what the instructions required to the best of my abilities.  all good here.


Hi there, I am having exactly the same problem, and I don't know how it has happened.. I did all changes on categories.php, then did trials,.. all seemed to work fine.. and then, all of the sudden.. the data is not sent to the database.. I can see it in the preview page when I am editing.. but then.. after that, nothing goes to the database...

could you let me see you categories.php file.. to see where I am wrong.. this is really bugging me..

thanks for whatever help you can give me..

amanda.

#11   zandapro

zandapro
  • Members
  • 29 posts
  • Real Name:Amanda
  • Gender:Female

Posted 06 January 2010 - 08:28 PM

well. I found it.. if anyone else goes crackers... this is what I missed...

this change is critical.. as there are many "$languages = tep_get_languages();".. you have to make sure you put it where the rest of code appears.. then you won't go wrong.
------------------------------------------------------------------
13a) Around line 711 find the section of code that reads as follows:

      $languages = tep_get_languages();
      for ($i=0, $n=sizeof($languages); $i<$n; $i++) {
        echo tep_draw_hidden_field('products_name[' . $languages[$i]['id'] . ']', htmlspecialchars(stripslashes($products_name[$languages[$i]['id']])));
        echo tep_draw_hidden_field('products_description[' . $languages[$i]['id'] . ']', htmlspecialchars(stripslashes($products_description[$languages[$i]['id']])));
        echo tep_draw_hidden_field('products_url[' . $languages[$i]['id'] . ']', htmlspecialchars(stripslashes($products_url[$languages[$i]['id']])));
      }

Just  before the } that closes the for loop INSERT the following:

        // begin Extra Product Fields
        foreach ($xfields as $f) {
          echo tep_draw_hidden_field($f . '[' . $languages[$i]['id'] . ']', htmlspecialchars(stripslashes($extra[$f][$languages[$i]['id']])));
        }
        // end Extra Product Fields
--------------------------------------------------------------------------

#12   spooks

spooks
  • Members
  • 7,017 posts
  • Real Name:Sam
  • Gender:Male
  • Location:UK

Posted 06 January 2010 - 09:49 PM

Product Extra Fields  in the product listing


I looked at this contrib & much of the code needs to be re-hashed, I can't see the mod for the listing working, ever, as writen.


If you look at Product Listing Enhancements, Thumbnails & Manufacturer Headings   http://addons.oscommerce.com/info/6051 I have added support to that for Product Extra Fields by creating a new function, if you wished that function could be used elsewhere. [img]http://forums.oscommerce.com/public/style_emoticons/default/wink.gif[/img]
Sam

Remember, What you think I ment may not be what I thought I ment when I said it.

Contributions:


Auto Backup your Database, Easy way

Multi Images with Fancy Pop-ups, Easy way

Products in columns with multi buy etc etc

Disable any Category or Product, Easy way

Secure & Improve your account pages et al.

#13   Legzeg

Legzeg
  • Members
  • 1 posts

Posted 07 December 2010 - 03:24 PM

Button "Field Is Visable In Catalog" disables Field showing at all, even it is marked as META Keyword.
Button "Show Field In Product Listings" doesn't work at all.

Can I hide added in EPF META keywords from customer?

#14   xvoyance

xvoyance
  • Members
  • 87 posts
  • Real Name:xi voyance
  • Gender:Male

Posted 17 March 2012 - 03:48 AM

I installed extra product fields v3.01 with osc v 2.3.1

But the list came out strangly:

peddlerbooks . net76 . net / catalog/index.php?cPath=22_23&language=en

There is no product name and the extra fields I added. Furthermore,
The "buy now" button came out twice (I disabled one).

Could anyone help me to make it nicer.

Thanks.

Edited by Jan Zonjee, 30 March 2012 - 06:01 AM.


#15   tmckee

tmckee
  • Members
  • 92 posts
  • Real Name:Thomas Mckee
  • Gender:Male
  • Location:Springfield, MO

Posted 21 January 2013 - 03:07 AM

How do I have the field transfer to the invoice and order?

For example, I created a field called "Product Size" and one called "Band Size".  Ho do I make sure that end up on the invoice and orders?

#16   tmckee

tmckee
  • Members
  • 92 posts
  • Real Name:Thomas Mckee
  • Gender:Male
  • Location:Springfield, MO

Posted 21 January 2013 - 05:48 AM

By the way, I'm using version 2.1 on osCommerce 2.3.3

#17   tmckee

tmckee
  • Members
  • 92 posts
  • Real Name:Thomas Mckee
  • Gender:Male
  • Location:Springfield, MO

Posted 21 January 2013 - 10:56 PM

Any ideas?