Move Email a Friend link to the bottom of the page
By default, the Email a Friend link displays wherever you add the email a friend include - on non-catalog pages. On a catalog page in which a category or product is selected, or on the home page if products are displayed, the email a friend link shows under the products. This allows multiple products to display links.
If you would like to change this, you can use the following mod. Please note that your links may not show all products correctly, so we would strongly suggest testing the links after applying the mod, especially if you are using the single, double or triple product displays.
- Open the products_detail.php file in the /enc/ folder and comment out (add two // in front of each line) or remove the lines:
// EMAIL FRIEND LINK if (!empty($display_emaillink)) echo "
$display_emaillink
"; - Open the products_multiple.php file in the /enc/ folder and comment out (add two // in front of each line) or remove the lines:
// EMAIL FRIEND LINK if (!empty($display_emailpg)) echo "
";$display_emailpg - Open the products_single.php file in the /enc/ folder and comment out (add two // in front of each line) or remove the lines:
// EMAIL FRIEND LINK if (!empty($display_emaillink)) echo "
";$display_emaillink - Open the products_multisingle.php file in the /enc/ folder and comment out (add two // in front of each line) or remove the lines:
// EMAIL FRIEND LINK if (!empty($display_emaillink)) echo "
";$display_emaillink - Open the email.php file in the /enc/ folder and change the line:
if ($Email_Link != "" AND empty($display_emaillink))
to:if ($Email_Link != "")