
Originally Posted by
wwiii
i have installed this mod but it does not show up anywhere on my site. i have done the install twice so i am sure i have done it right. i also believe i have configured correctly in admin.
i am using zc 1.3.8 with fast easy checkout and easy sign up and login mods. could these other mods be the problem? if so is there a fix? i would really like to be able to use this mod.
thx
FEC use it's own pages and not the default tpl_checkout_shipping_default.php so tell a friend wont show up where it should. You will have to install the code into the two pages that FEC does use.
This code needs to be added..
Code:
//bof tell a friend
if($quotes[$i]["id"] == "tellafriend")
{
echo MODULE_SHIPPING_TELL_A_FRIEND_TEXT_CUSTOMER;
echo $tell_a_friend_email_error != "" ? "<div class='messageStackWarning'>$tell_a_friend_email_error</div>" : "";
?>
<div class="tellAFriendContent" style="width:50%;"><strong>Email</strong></div>
<div class="tellAFriendContent" style="width:25%;"><strong>First Name</strong></div>
<div class="tellAFriendContent" style="width:25%;"><strong>Last Name</strong></div>
<?
for ($j = 0; $j < $quotes[$i]['email_no']; $j++)
{
?>
<div class="tellAFriendContent" style="width:50%;"><?php echo zen_draw_input_field('tell_a_friend_email[]', $_SESSION["tell_a_friend_email"][$j], 'size="28"'); ?></div>
<div class="tellAFriendContent" style="width:25%;"><?php echo zen_draw_input_field('tell_a_friend_email_f_name[]', $_SESSION["tell_a_friend_email_f_name"][$j], 'size="15"'); ?></div>
<div class="tellAFriendContent" style="width:25%;"><?php echo zen_draw_input_field('tell_a_friend_email_l_name[]', $_SESSION["tell_a_friend_email_l_name"][$j], 'size="15"'); ?></div>
<br class="clearBoth" />
<?php
}
}
//eof tell a friend
In tpl_checkout_split.php look for code below, about line 246 linsert a space between the two curly braces and paste the above code. Do the same with tpl_checkout_stacked.php around line 215.
Code:
$radio_buttons++;
}
}
Bookmarks