![]() |
Remove Send to a Friend
Hi!
I am using X-Cart 4.0.19 and I'd like to remove the Send to a friend option from my detailed product view pages. Does anyone know how to do that? Thanks! Lauren X-Cart 4.0.19 |
Re: Remove Send to a Friend
Open up customer/main/product.tpl and remove or comment out this line of code:
{include file="customer/main/send_to_friend.tpl" } |
Re: Remove Send to a Friend
Thanks!
|
Re: Remove Send to a Friend
UPDATE: in General settings > Appearance options
turn off The section 'Send to friend' on the Product details page is enabled.: |
Re: Remove Send to a Friend
This just saved me a lot of trouble.
|
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} |
Re: Remove Send to a Friend
Hi nick,
It's no problem to remove the code, but we no longer have to do that. It is in the admin under General Settings. See this video : http://www.youtube.com/watch?v=c4Zuvy5OyrI&feature=youtu.be |
Re: Remove Send to a Friend
Thank you so much you have been a great deal of help. I have another ?
When i generate a html catalog of all pages and products the css formating and java script only stays active for like one day, is there anyway that i can keep it permanent. Its the pages i want google to pick up and index but the formating will not stay active. |
Re: Remove Send to a Friend
Do not use the html catalog - this is a relic from 15 years ago and not needed at all. Use either the build in Clean URLs or CDSEO
|
Re: Remove Send to a Friend
dont the search engines like the clean html better than the dynamic .php files?
|
Re: Remove Send to a Friend
Nick,
Steve's right. 90% of the time there is no need for the html catalog. These days Google can read dynamic content just as well as static. I have found Sites that don't use Clean UrLs ranking higher than ones that do. SEO isn't as complicated as it used to be, but it is harder IMO. It takes real dedication to get a new site ranked high. Using Clean URL's Google won't be able to distinguish that the page is not plain html. Hope that helps, -Mike |
Re: Remove Send to a Friend
XC build in Clean URLs convert the dynamic php urls to html urls, CDSEO does the same, on the fly and keeping the pages dymanic so there is not need of the static html catalog
|
All times are GMT -8. The time now is 01:01 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.