View Single Post
  #6  
Old 12-12-2011, 01:08 PM
 
nick mcnair nick mcnair is offline
 

Member
  
Join Date: Dec 2011
Posts: 28
 

Default Re: Remove Send to a Friend

I am using gold 4.4.4 and there isnt the text {include file="customer/main/send_to_friend.tpl" } in the product.tpl file.

I do not want this portion on the page at all. below is the text from my product.tpl file. please help.

{*
$Id: product.tpl,v 1.7.2.2 2011/03/14 08:34:17 ferz Exp $
vim: set ts=2 sw=2 sts=2 et:
*}
{include file="form_validation_js.tpl"}

<h1>{$product.producttitle|amp}</h1>

{if $product.product_type eq "C" and $active_modules.Product_Configurator}

{include file="modules/Product_Configurator/pconf_customer_product.tpl"}

{else}

{if $config.General.ajax_add2cart eq 'Y' and $config.General.redirect_to_cart ne 'Y' and not ($smarty.cookies.robot eq 'X-Cart Catalog Generator' and $smarty.cookies.is_robot eq 'Y')}
{include file="customer/ajax.add2cart.tpl" _include_once=1}

<script type="text/javascript">
//<![CDATA[
{literal}
$(ajax).bind(
'load',
function() {
var elm = $('.product-details').get(0);
return elm && ajax.widgets.product(elm);
}
);
{/literal}
//]]>
</script>

{/if}

{capture name=dialog}

<div class="product-details">

<div class="image"{if $max_image_width gt 0} style="width: {$max_image_width}px;"{/if}>

{if $active_modules.Detailed_Product_Images and $config.Detailed_Product_Images.det_image_popup eq 'Y' and $images ne ''}

{include file="modules/Detailed_Product_Images/widget.tpl"}

{else}

<div class="image-box">
{include file="product_thumbnail.tpl" productid=$product.image_id image_x=$product.image_x image_y=$product.image_y product=$product.product tmbn_url=$product.image_url id="product_thumbnail" type=$product.image_type}
</div>

{/if}

{if $active_modules.Magnifier and $config.Magnifier.magnifier_image_popup eq 'Y' and $zoomer_images}
{include file="modules/Magnifier/popup_magnifier.tpl"}
{/if}

</div>

<div class="details"{if $max_image_width gt 0} style="margin-left: {$max_image_width}px;"{/if}>

{include file="customer/main/product_details.tpl"}

{if $active_modules.Feature_Comparison ne ""}
{include file="modules/Feature_Comparison/product_buttons.tpl"}
{/if}

</div>
<div class="clearing"></div>

</div>

{/capture}
{include file="customer/dialog.tpl" title=$product.producttitle content=$smarty.capture.dialog noborder=true}

{/if}

{if $product_tabs}
{if $show_as_tabs}
{include file="customer/main/ui_tabs.tpl" prefix="product-tabs-" mode="inline" tabs=$product_tabs}
{else}
{foreach from=$product_tabs item=tab key=ind}
{include file=$tab.tpl}
{/foreach}
{/if}
{/if}

{if $active_modules.Product_Options and ($product_options ne '' or $product_wholesale ne '') and ($product.product_type ne "C" or not $active_modules.Product_Configurator)}
<script type="text/javascript">
//<![CDATA[
check_options();
//]]>
</script>
{/if}
__________________
http://vibratorpleasures.com
4.4.4
Reply With Quote