Jump to content

Remove menu from cart.php


mysmallbizu

Recommended Posts

I would not recommend doing that. It is a very annoying practice to remove navigation links so that potential customers are imprisoned in your shopping cart with no escape possible. My own reaction were I a potential customer would be to leave your site as rapidly as possible and never return again. As a sales tactic it fails abysmally.

Link to comment
Share on other sites

I would not recommend doing that. It is a very annoying practice to remove navigation links so that potential customers are imprisoned in your shopping cart with no escape possible. My own reaction were I a potential customer would be to leave your site as rapidly as possible and never return again. As a sales tactic it fails abysmally.

 

You're not my potential customer :-)

 

You're sales suggestion is to give the potential customer lots of choices and options to select from so they can get confused and leave the sales process?

 

Here's some books I've written if you'd like to learn more..

 

http://www.jamesmaduk.com/library/52secrets.pdf

 

http://www.salestrainingforsmallbusiness.com

http://www.facetofaceselling.com

http://www.handleanyobjection.com

 

Now I still need to remove the menu from the cart for first time buyers.. anyone know how to do that?

Link to comment
Share on other sites

Here ya go:

Remember there is no link to get back to the main menu.

 

On line 16 change the path to cart.php

eg.

If you have WHMCS in your root public_html use

'/cart.php'

If in a directory

'/WHMCS_install_DIRECTORY_name/cart.php'

 

This is the header.tpl from the portal theme

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="content-type" content="text/html; charset={$charset}" />

<title>{$companyname} - {$pagetitle}</title>

<link rel="stylesheet" type="text/css" href="templates/{$template}/style.css" />

</head>

<body>

 

<table class="wrapper" align="center" cellpadding="0" cellspacing="0">

 

<tr><td><table width="100%" cellpadding="0" cellspacing="0"><tr><td width="100%" height="122" style="padding-left:35px; background:url('templates/{$template}/images/whmcslogobg.png') repeat-x;"><img src="templates/{$template}/images/whmcslogo.png" alt="WHMCS" /></td></tr></table></td></tr>

 

<tr><td><table width="100%" cellpadding="0" cellspacing="0" style="border-bottom:1px solid #CCCCCC; background:#EFEFEF;"><tr><td height="30">{$LANG.globalyouarehere}: {$breadcrumbnav}</td><td style="text-align:right;">{if $loggedin}{$LANG.welcomeback} {$clientsdetails.firstname}! <a href="logout.php">{$LANG.clientareanavlogout}</a>{else}{$LANG.please} <a href="clientarea.php">{$LANG.loginbutton}</a> or <a href="register.php">{$LANG.clientregistertitle}</a>{/if}</td></tr></table></td></tr>

 

<tr>{if $SCRIPT_NAME != '/WHMCS_install_DIRECTORY_name/cart.php'}<td style="padding:0px">

 

<br />

 

<table cellpadding="0" cellspacing="0" width="100%">

<tr><td width="170" valign="top" style="padding-bottom:20px;">

 

<table width="100%" border="0" cellpadding="2" cellspacing="1" class="navboxlinks">

{if $loggedin}

<tr><td> <a href="clientarea.php"><img src="images/clientarea.gif" alt="{$LANG.clientareatitle}" align="middle" /></a>  <a href="clientarea.php">{$LANG.clientareatitle}</a></td></tr>

<tr><td> <a href="clientarea.php?action=details"><img src="images/details.gif" alt="{$LANG.clientareanavdetails}" align="middle" /></a>  <a href="clientarea.php?action=details">{$LANG.clientareanavdetails}</a></td></tr>

<tr><td> <a href="clientarea.php?action=hosting"><img src="images/hosting.gif" alt="{$LANG.clientareanavhosting}" align="middle" /></a>  <a href="clientarea.php?action=hosting">{$LANG.clientareanavhosting}</a></td></tr>

<tr><td> <a href="clientarea.php?action=products"><img src="images/products.gif" alt="{$LANG.clientareaproducts}" align="middle" /></a>  <a href="clientarea.php?action=products">{$LANG.clientareaproducts}</a></td></tr>

<tr><td> <a href="clientarea.php?action=domains"><img src="images/domains.gif" alt="{$LANG.clientareanavdomains}" align="middle" /></a>  <a href="clientarea.php?action=domains">{$LANG.clientareanavdomains}</a></td></tr>

<tr><td> <a href="clientarea.php?action=invoices"><img src="images/invoices.gif" alt="{$LANG.invoices}" align="middle" /></a>  <a href="clientarea.php?action=invoices">{$LANG.invoices}</a></td></tr>

<tr><td> <a href="supporttickets.php"><img src="images/supporttickets.gif" alt="{$LANG.clientareanavsupporttickets}" align="middle" /></a> <a href="supporttickets.php">{$LANG.clientareanavsupporttickets}</a></td></tr>

<tr><td> <a href="submitticket.php"><img src="images/viewtickets.gif" alt="{$LANG.supportticketssubmitticket}" align="middle" /></a> <a href="submitticket.php">{$LANG.supportticketssubmitticket}</a></td></tr>

<tr><td> <a href="clientarea.php?action=emails"><img src="images/emails.gif" alt="{$LANG.clientareaemails}" align="middle" /></a>  <a href="clientarea.php?action=emails">{$LANG.clientareaemails}</a></td></tr>

<tr><td> <a href="affiliates.php"><img src="images/affiliates.gif" alt="{$LANG.affiliatestitle}" align="middle" /></a>  <a href="affiliates.php">{$LANG.affiliatestitle}</a></td></tr>

<tr><td> <a href="announcements.php"><img src="images/rssfeed.gif" alt="{$LANG.announcementstitle}" align="middle" /></a>  <a href="announcements.php" >{$LANG.announcementstitle}</a></td></tr>

<tr><td > <a href="downloads.php"><img src="images/zip.gif" alt="{$LANG.downloadstitle}" align="middle" /></a>  <a href="downloads.php">{$LANG.downloadstitle}</a></td></tr>

<tr><td> <a href="knowledgebase.php"><img src="images/help.gif" alt="{$LANG.knowledgebasetitle}" align="middle" /></a>  <a href="knowledgebase.php">{$LANG.knowledgebasetitle}</a></td></tr>

<tr><td> <a href="domainchecker.php"><img src="images/domains.gif" alt="{$LANG.domaintitle}" align="middle" /></a>  <a href="domainchecker.php" >{$LANG.domaintitle}</a></td></tr>

<tr><td> <a href="serverstatus.php"><img src="images/status.gif" alt="{$LANG.serverstatustitle}" align="middle" /></a>  <a href="serverstatus.php" >{$LANG.serverstatustitle}</a></td></tr>

<tr><td> <a href="cart.php"><img src="images/order.gif" alt="{$LANG.ordertitle}" align="middle" /></a>  <a href="cart.php">{$LANG.ordertitle}</a></td></tr>

<tr><td> <a href="logout.php"><img src="images/logout.gif" alt="{$LANG.clientareanavlogout}" align="middle" /></a>  <a href="logout.php">{$LANG.clientareanavlogout}</a></td></tr>

{else}

<tr><td> <a href="index.php"><img src="images/clientarea.gif" alt="{$LANG.hometitle}" align="middle" /></a>  <a href="index.php">{$LANG.hometitle}</a></td></tr>

<tr><td> <a href="announcements.php"><img src="images/rssfeed.gif" alt="{$LANG.announcementstitle}" align="middle" /></a>  <a href="announcements.php" >{$LANG.announcementstitle}</a></td></tr>

<tr><td > <a href="downloads.php"><img src="images/zip.gif" alt="{$LANG.downloadstitle}" align="middle" /></a>  <a href="downloads.php">{$LANG.downloadstitle}</a></td></tr>

<tr><td> <a href="affiliates.php"><img src="images/affiliates.gif" alt="{$LANG.affiliatestitle}" align="middle" /></a>  <a href="affiliates.php">{$LANG.affiliatestitle}</a></td></tr>

<tr><td> <a href="knowledgebase.php"><img src="images/help.gif" alt="{$LANG.knowledgebasetitle}" align="middle" /></a>  <a href="knowledgebase.php">{$LANG.knowledgebasetitle}</a></td></tr>

<tr><td> <a href="supporttickets.php"><img src="images/supporttickets.gif" alt="{$LANG.supportticketspagetitle}" align="middle" /></a> <a href="supporttickets.php">{$LANG.supportticketspagetitle}</a></td></tr>

<tr><td> <a href="submitticket.php"><img src="images/viewtickets.gif" alt="{$LANG.supportticketssubmitticket}" align="middle" /></a> <a href="submitticket.php">{$LANG.supportticketssubmitticket}</a></td></tr>

<tr><td> <a href="domainchecker.php"><img src="images/domains.gif" alt="{$LANG.domaintitle}" align="middle" /></a>  <a href="domainchecker.php" >{$LANG.domaintitle}</a></td></tr>

<tr><td> <a href="serverstatus.php"><img src="images/status.gif" alt="{$LANG.serverstatustitle}" align="middle" /></a>  <a href="serverstatus.php" >{$LANG.serverstatustitle}</a></td></tr>

<tr><td> <a href="cart.php"><img src="images/order.gif" alt="{$LANG.ordertitle}" align="middle" /></a>  <a href="cart.php">{$LANG.ordertitle}</a></td></tr>

{/if}

</table>

 

<br />

 

{if !$loggedin}

 

<table width="100%" border="0" cellpadding="2" cellspacing="1" class="navbar"><tr><td class="navbox">

 

<form method="post" action="dologin.php">

<div align="center"><strong>{$LANG.clientlogin}</strong><br />

<img src="images/spacer.gif" width="1" height="5" alt="" /><br />

<table border="0" cellspacing="0" cellpadding="1">

<tr><td><div align="right"><span class="smalltext">{$LANG.email}:</span></div></td><td><input name="username" type="text" class="navinput" /></td></tr>

<tr><td><div align="right"><span class="smalltext">{$LANG.loginpassword}:</span></div></td><td><input name="password" type="password" class="navinput" /></td></tr>

</table>

<input type="checkbox" name="rememberme" /> {$LANG.loginrememberme}   <input type="submit" class="submitbutton" value="{$LANG.loginbutton}" />

</div>

</form>

 

</td></tr></table>

 

<br />

 

{/if}

 

<table width="100%" border="0" cellpadding="2" cellspacing="1" class="navbar"><tr><td class="navbox">

 

<form method="post" action="knowledgebase.php?action=search">

<div align="center"><strong>{$LANG.knowledgebasesearch}</strong><br />

<img src="images/spacer.gif" width="1" height="5" alt="" /><br />

<select name="searchin" class="navinput" style="width:130px;">

<option value="Knowledgebase">{$LANG.knowledgebasetitle}</option>

<option value="Downloads">{$LANG.downloadstitle}</option>

</select>

<br />

<img src="images/spacer.gif" width="1" height="5" alt="" /><br />

<input name="search" type="text" class="navinput" size="15" />

 

<input type="submit" class="submitbutton" value="{$LANG.go}" />

</div>

</form>

 

</td></tr></table>

 

</td>{/if}<td valign="top" style="padding-left:20px;padding-bottom:20px;">

Link to comment
Share on other sites

FWIW, we've moved all our menus into "includes" files so we can turn each of them on & off for logged in customers, as well as have them appear on more specific pages.

 

Better for upgrades too.

 

If you want to leave a method to allow the customer to get back to menu main (should they really require it), you can add a link to the cart menu. It's just a mod of the breadcrumb nav in the cart header to show back to the main page :-

 

{$LANG.globalyouarehere}: <a href="../" title="">Home</a> > {if $breadcrumbnav =='<a href="cart.php">Shopping Cart</a>'} <a href="/" title="">Support</a> > {/if}{$breadcrumbnav}</p>

(note this works if your whmcs site is in a directory and isn't the primary site)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated