Saulyx Posted February 22, 2011 Share Posted February 22, 2011 (edited) Hey everyone, I am in process of adding 'packages' page for my template, however ran into a bit of a dilemma, is there a way to display specific product groups that I have created in the back end? lets say group 1, and then just do a for each statement? Also another question(I have googled however the answers dont match any of the tempalte files(default by whmcs or custom by other developers)), where could I find the template files for cart.php? I don't mind if I have to copy one from whmcs original tempaltes andcustomise it, however as of right now I just can't find it Thanks, S Edited February 22, 2011 by Saulyx 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted February 22, 2011 WHMCS Support Manager Share Posted February 22, 2011 1. You can link to produce groups in the order URL: http://docs.whmcs.com/Linking_to_WHMCS 2. http://docs.whmcs.com/Order_Form_Templates 0 Quote Link to comment Share on other sites More sharing options...
nay27uk Posted February 23, 2011 Share Posted February 23, 2011 the cart templates can be found in templates/orderforms so if you was using the default order form template your cart template would be in the folder templates//orderforms/default 0 Quote Link to comment Share on other sites More sharing options...
Saulyx Posted February 25, 2011 Author Share Posted February 25, 2011 (edited) Thanks guys, however the first question still isn't answered, I dont want to put the products into the page staticly and then just have order button add it to the cart, I need it to display packages in a group dinamicly, so some sort of foreach statment? like you have on order page where it lists out all the products and groups e.g. in the order form we have {foreach key=num item=productgroup from=$productgroups} {if $gid eq $productgroup.gid} <strong>{$productgroup.name}</strong> | {else} <a href="{$smarty.server.PHP_SELF}?gid={$productgroup.gid}">{$productgroup.name}</a> | {/if} {/foreach} to list out the group names, now what I need is the ability to access that data(as on my page(template page) I can't so i'm guessing its order form specific?) Edited February 25, 2011 by Saulyx 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.