caplock Posted July 1, 2008 Share Posted July 1, 2008 I'm trying to do some custom coding for the order page and I'm stuck. If anyone know please help me out. Here is what I need to achieve. === Order page STEP 3 === I need to show a specific link on "order.php?step=3" base on certain product group ID. Below is a sample code: {if $$productinfo.groupid == 2} <p><a href="custom_page.php">Custom Link</a></p> {/if} Please let me know what I need to do to achieve this. Thank You 0 Quote Link to comment Share on other sites More sharing options...
caplock Posted July 1, 2008 Author Share Posted July 1, 2008 Ok...I just solve my own problem...here is the code if anyone interest. {if $productinfo.groupname eq "Custom Group"} <p><a href="custom_page.php">Custom Link</a></p> {/if} 0 Quote Link to comment Share on other sites More sharing options...
BAJI26 Posted July 2, 2008 Share Posted July 2, 2008 Or {if $gid == 'your product group id here'}<p><a href="custom_page.php">Custom Link</a></p>{/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.