View Single Post
  #1  
Old 03-02-2003, 06:58 PM
  BoomBoomBap's Avatar 
BoomBoomBap BoomBoomBap is offline
 

Senior Member
  
Join Date: Nov 2002
Location: San Francisco
Posts: 184
 

Default Displaying extra fields in products.tpl (solved)

Im trying to get the Details from product.tpl to display next to each product on the products.tpl page.

I tried adding the following but with little success:

Code:
{if $active_modules.Extra_Fields ne ""} {include file="modules/Extra_Fields/product.tpl"} {/if}

So I modified it to something like this:

Code:
{if $active_modules.Extra_Fields ne ""} {include file="modules/Extra_Fields/product.tpl" productid=$products[product].productid product=$products[product].product} {/if}

But that didnt work as I expected. I understand I probably just need to pass the product id or information but am not skilled enough to figure it out on my own.

So in summary, where you see the list of products you see a short summary, a retail price and etcetera - I would also like to display the extra fields as shown on the product.tpl page.

Anyone know how ?

Thanks much !

Shimone
__________________
Site 1 > XCART LIVE 3.4.12

Site 2 > XCART LIVE 4.0.17
Reply With Quote