net Posted April 26, 2011 Share Posted April 26, 2011 Hi everyone, I have been using WHMCS for some time now and have become fairly familiar with its template system. I am trying to display custom content on some of my product pages (the checkout pageviewcart.tpl). For example if shared hosting is chosen display xxx and if vps is chosen display yyy in the order form. Normally I would use the following code to get this done: {if $gid == 4} xxx {else} yyy {/if} But it doesn't seem to be working on the checkout page. Any ideas? 0 Quote Link to comment Share on other sites More sharing options...
Alistair Posted May 4, 2011 Share Posted May 4, 2011 I have done this with the ajax order form, so I would assume it would work on a non-ajax order form. Have you tried: {$if [b]$gid eq '4'[/b]} xxx {else} yyy {/if} ? 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.