lukewd Posted March 1, 2012 Share Posted March 1, 2012 hi there, in an effort to increase conversion, i would like to place a link to upgrade ones service on the Client Area Home page right after they login. At the moment a user would have to click on the Services menu, and then click the edit service button, and then scroll all the way down to the bottom of the screen, and click Upgrade/Downgrade. Most of my clients can't find this link even if they are looking for it. Any suggestions? I want to make it as easy as possible for people to upgrade their plan. Thanks 0 Quote Link to comment Share on other sites More sharing options...
lukewd Posted March 1, 2012 Author Share Posted March 1, 2012 on top of this, how do you the active products to list in a table directly on the Client Area Home page. I have tried the following code, but it displays no records in the table. whereas if i click on services, i can see the same table but with records. i just took this code from the services page... <h2>{$LANG.clientareaproducts}</h2> <table class="data" width="100%" border="0" cellpadding="10" cellspacing="0"> <tr> <th><a href="clientarea.php?action=products{if $q}&q={$q}{/if}&orderby=product">{$LANG.orderproduct}</a>{if $orderby eq "product"} <img src="images/{$sort}.gif" alt="" border="0" />{/if}</th> <th><a href="clientarea.php?action=products{if $q}&q={$q}{/if}&orderby=price">{$LANG.orderprice}</a>{if $orderby eq "price"} <img src="images/{$sort}.gif" alt="" border="0" />{/if}</th> <th><a href="clientarea.php?action=products{if $q}&q={$q}{/if}&orderby=billingcycle">{$LANG.orderbillingcycle}</a>{if $orderby eq "billingcycle"} <img src="images/{$sort}.gif" alt="" border="0" />{/if}</th> <th><a href="clientarea.php?action=products{if $q}&q={$q}{/if}&orderby=nextduedate">{$LANG.clientareahostingnextduedate}</a>{if $orderby eq "nextduedate"} <img src="images/{$sort}.gif" alt="" border="0" />{/if}</th> <th width="20"> </th> </tr> {foreach key=num item=service from=$services} <tr class="clientareatable{$service.class}"> <td>{$service.group} - {$service.product}{if $service.domain}<br /> <a href="http://{$service.domain}" target="_blank">{$service.domain}</a>{/if}</td> <td>{$service.amount}</td> <td>{$service.billingcycle}</td> <td>{$service.nextduedate}</td> <td><form method="post" action="{$smarty.server.PHP_SELF}?action=productdetails"> <input type="hidden" name="id" value="{$service.id}" /> <input type="image" src="images/viewdetails.gif" alt="{$LANG.clientareaviewdetails}" /> </form></td> </tr> {foreachelse} <tr> <td colspan="6">{$LANG.norecordsfound}</td> </tr> {/foreach} </table> 0 Quote Link to comment Share on other sites More sharing options...
othellotech Posted March 2, 2012 Share Posted March 2, 2012 not all data is pre-filled into the smarty variables in every page - you'll need to do it with PHP 0 Quote Link to comment Share on other sites More sharing options...
lukewd Posted March 2, 2012 Author Share Posted March 2, 2012 ah ok thanks that explains why it doesn't work. any pointers on how to achieve this? thanks! 0 Quote Link to comment Share on other sites More sharing options...
othellotech Posted March 3, 2012 Share Posted March 3, 2012 any pointers on how to achieve this? Define *exactly* what you're looking to achieve and contact someone who knows the DB structures inside-out. The obvious question is what do you think putting "upgrade" on the front page will do - i.e. why do you think people will want to upgrade, what will they need to upgrade for, what are you going to allow them to upgrade to ? etc 0 Quote Link to comment Share on other sites More sharing options...
lukewd Posted March 3, 2012 Author Share Posted March 3, 2012 i dont sell hosting with my whmcs so having an upgrade link on my installation is very relevant. 99% of my users start as free trial users, many of which find it difficult to find the link to upgrade their service once they decide to go ahead. having a link to upgrade on the client area home page directly after they login will massively help to increase this conversion rate. any given client only has 1 product in setup. so i need a direct link for them to be able to upgrade/downgrade/change service plan directly from the client area homepage. Or better yet, in the menu bar! If anyone has done something like this I would really appreciate if they could share the code, as I'm not a developer myself, so couldn't write it from scratch, but could probably get it working. thanks 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted March 3, 2012 Share Posted March 3, 2012 Cant you simply just add a link to the upgrade like upgrade.php?type=package&id=2 obviously the 2 would be the productid 0 Quote Link to comment Share on other sites More sharing options...
lukewd Posted March 3, 2012 Author Share Posted March 3, 2012 hi sparky, yes that would be ideal. i just don't know how to get the ID to populate. i originally wanted to "steal" the code from the services page as mentioned above. but that didn't work 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted March 3, 2012 Share Posted March 3, 2012 I think it was you that asked something similar in a ticket to me last week about the clientareahome mod. It can be customised to add that feature in it. Obviously I cant do it via this thread. 0 Quote Link to comment Share on other sites More sharing options...
othellotech Posted March 3, 2012 Share Posted March 3, 2012 99% of my users start as free trial users, many of which find it difficult to find the link to upgrade their service once they decide to go ahead. having a link to upgrade on the client area home page directly after they login will massively help to increase this conversion rate. any given client only has 1 product in setup See, now you're being *specific* hence why it's called a specificaton So yes, merging the usual "my products" page into the homepage would make sense. As to the free trial upgrade - there are other considerations - how many options are there to upgrade to ? do you allow downgrades ? if your email about "free trial expiring" including a direct link to get he paid version etc ... 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.