View Single Post
  #4  
Old 11-03-2002, 07:47 AM
 
ATKOgirl ATKOgirl is offline
 

X-Adept
  
Join Date: Sep 2002
Posts: 448
 

Default

Hi,

To remove the productid from the upsell products, change your template from this:

Code:
{* $Id: related_products.tpl,v 1.6 2002/05/20 06:55:24 lucky Exp $ *} {if $product_links ne ""} {capture name=dialog} {section name=cat_num loop=$product_links} #{$product_links[cat_num].productid} { $product_links[cat_num].product|escape} {/section} {/capture} {include file="dialog.tpl" title=$lng.lbl_related_products content=$smarty.capture.dialog extra="width=100%"} {/if}

To this:

Code:
{* $Id: related_products.tpl,v 1.6 2002/05/20 06:55:24 lucky Exp $ *} {if $product_links ne ""} {capture name=dialog} {section name=cat_num loop=$product_links} { $product_links[cat_num].product|escape} {/section} {/capture} {include file="dialog.tpl" title=$lng.lbl_related_products content=$smarty.capture.dialog extra="width=100%"} {/if}


Hope that helps,
ATKOgirl
__________________
X-Cart Versions: 4.1.10 and 4.2.0
Reply With Quote