| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Remove Send to a Friend | ||||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
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
__________________
Lauren Pinson X Cart Gold 4.0.19 [win] |
|||||||
#2
|
|||||||
|
|||||||
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" }
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
|
#3
|
|||||||
|
|||||||
Re: Remove Send to a Friend
Thanks!
__________________
Lauren Pinson X Cart Gold 4.0.19 [win] |
|||||||
|
#4
|
|||||||
|
|||||||
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.:
__________________
Thanks, Alex. Too many version to list. I have some on 3.51 and some on the latest version. |
|||||||
|
#5
|
|||||||
|
|||||||
Re: Remove Send to a Friend
This just saved me a lot of trouble.
|
|||||||
|
#6
|
|||||||
|
|||||||
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} |
|||||||
#7
|
|||||||||
|
|||||||||
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
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey XcartGuru X-cart Tutorials | X-cart 5 Tutorials Check out the responsive template for X-cart. |
|||||||||
|
#8
|
|||||||
|
|||||||
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. |
|||||||
#9
|
|||||||||
|
|||||||||
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
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#10
|
|||||||
|
|||||||
Re: Remove Send to a Friend
dont the search engines like the clean html better than the dynamic .php files?
|
|||||||
|
|||
X-Cart forums © 2001-2020
|