View Single Post
  #12  
Old 05-02-2008, 07:13 AM
  Yurij's Avatar 
Yurij Yurij is offline
Banned
 

X-Adept
  
Join Date: Jan 2008
Posts: 486
 

Default Re: Extra Fields: Creating and making available for all Providers.

Quote:
Originally Posted by ScrapProfessor
Dear Yuri,

I need some more help here. Let me explain. I would like to have a specific extra field (Designer) to be listed on the product listing page. I've created and setup the extra field just as you specified above (works BEAUTIFULLY! Thanks!). When a customer clicks on any of the categories the product listing page is brought up. It currently shows the following:

Product Image: Name of Product
SKU of Product
Short Description of Product
Market Price
Our Price
Quantity
Buy Now button, Add to Wishlist button

I would also like it to display the extra field "Designer" (provider name) in the list as well, preferrably below the SKU. How would I do this?

Your help and time is appreciated! THANK YOU!!

Name "Extra field " - "Designer". If not, pls. change all"Designer" (in the entire code below) on your name.


1. Edit file "skin1/modules/Extra_Fields/product.tpl":
PHP Code:
{* $Idproduct.tpl,v 1.9 2005/11/21 12:42:06 max Exp $ *}
{
section name=field loop=$extra_fields}
{if 
$extra_fields[field].active eq "Y" && $extra_fields[field].field_value && $extra_fields[field].field ne "Designer"}
<
tr>
    <
td width="30%">{$extra_fields[field].field}</td>
    <
td>{$extra_fields[field].field_value}</td>
</
tr>
{/if}
{/
section

2. Create file "skin1/modules/Extra_Fields/product2.tpl":

PHP Code:
{* $Idproduct.tpl,v 1.9 2005/11/21 12:42:06 max Exp $ *}
{
section name=field loop=$extra_fields}
{if 
$extra_fields[field].active eq "Y" && $extra_fields[field].field_value && $extra_fields[field].field eq "Designer"}
<
tr>
    <
td width="30%">{$extra_fields[field].field}</td>
    <
td>{$extra_fields[field].field_value}</td>
</
tr>
{/if}
{/
section
Reply With Quote