Lionel, thanks for a great mod! For some odd reason, it didn't work too well with my test site ( v.4.0.18 )
I have made some changes to the Fastlane mod in order for it to work on v4.0.18.
I have it working on my test website( v.3.4.6 ) ( about to go live with 4.0.18 ) My live site does not have fastlane, as its old and needs updating..
I added the following code to customer/home.tpl, right after the line that says:
Code:
{if $active_modules.SnS_connector}
{include file="modules/SnS_connector/header.tpl"}
{/if}
I added this:
Code:
{include file="customer/main/fastlane.tpl"}
<br><br>
Then, I added this into fastlane.tpl:
Code:
{if $checkout_step eq "1" and $anonymous eq "Y" }
<table width="500" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="33%" valign="top"><div align="right"><img src="{$ImagesDir}/cart_full_r.gif"></div></td>
<td width="33%" valign="top"></td>
<td width="33%" valign="top"></td>
</tr>
<tr>
<td height="20" valign="top" bgcolor="#009933" style="border-right:1px solid #000000;border-bottom:1px solid #000000;border-top:1px solid #000000;border-left:1px solid #000000;"><img src="{$ImagesDir}/px.gif"></td>{if $anonymous eq "Y"}<td style="border-top:1px solid #000000;border-bottom:1px solid #000000;"><img src="{$ImagesDir}/px.gif"></td>{/if}
<td style="border-top:1px solid #000000;border-bottom:1px solid #000000;"><img src="{$ImagesDir}/px.gif"></td>
<td style="border-right:1px solid #000000;border-top:1px solid #000000;border-bottom:1px solid #000000;"><img src="{$ImagesDir}/px.gif"></td>
</tr
<tr>
<td align="center">Login or register</td>
<td align="center">{$lng.lbl_payment_method}</td>
<td align="center">Verify and finalize</td>
</tr>
</table>
{/if}
{if $checkout_step eq "2" and $smarty.get.paymentid eq "" || $checkout_step eq "1" and $anonymous eq "" }
<table width="500" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="33%" valign="top"></td>
<td width="33%" valign="top"><div align="right"><img src="{$ImagesDir}/cart_full_r.gif"></div></td>
<td width="33%" valign="top"></td>
</tr>
<tr>
<td height="20" valign="top" bgcolor="#009933" style="border-bottom:1px solid #000000;border-top:1px solid #000000;border-left:1px solid #000000;"><img src="{$ImagesDir}/px.gif"></td>{if $anonymous eq "Y"}<td bgcolor="#009933" style="border-bottom:1px solid #000000;border-top:1px solid #000000;border-right:1px solid #000000;"><img src="{$ImagesDir}/px.gif"></td>{/if}
<td bgcolor="#009933" style="border-bottom:1px solid #000000;border-top:1px solid #000000;border-right:1px solid #000000;"><img src="{$ImagesDir}/px.gif"></td>
<td style="border-bottom:1px solid #000000;border-top:1px solid #000000;border-right:1px solid #000000;"><img src="{$ImagesDir}/px.gif"></td>
</tr>
<tr>
<td align="center">Login or register</td>
<td align="center">{$lng.lbl_payment_method}</td>
<td align="center">Verify and finalize</td>
</tr>
</table>
{/if}
{if $checkout_step eq "2" and $smarty.get.paymentid ne "" and $login ne "" || $checkout_step eq "3" }
<table width="500" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="33%" valign="top"></td>
<td width="33%" valign="top"></td>
<td width="33%" valign="top"><div align="right"><img src="{$ImagesDir}/cart_full_r.gif"></div></td>
</tr>
<tr>
<td height="20" valign="top" bgcolor="#009933" style="border-bottom:1px solid #000000;border-top:1px solid #000000;border-left:1px solid #000000;"><img src="{$ImagesDir}/px.gif"></td>
<td bgcolor="#009933" style="border-bottom:1px solid #000000;border-top:1px solid #000000;"><img src="{$ImagesDir}/px.gif"></td>
<td bgcolor="#009933" style="border-bottom:1px solid #000000;border-top:1px solid #000000;border-right:1px solid #000000;"><img src="{$ImagesDir}/px.gif"></td>
</tr>
<tr>
<td align="center">Login or register</td>
<td align="center">{$lng.lbl_payment_method}</td>
<td align="center">Verify and finalize</td>
</tr>
</table>
{/if}
Lionel, I hope you don't mind me changing the code to get it to work..