Guest vuzuggu Posted December 15, 2015 Share Posted December 15, 2015 When you add an item to the cart in WHMCS and it requires a domain name The heading Says Choose a Domain name and you are given three options Register, Transfer, Update NS. However, no-where does it show the product you are purchasing or the price. Is there a way to add these? The URL for example is cart.php?a=add&pid=XX 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted December 15, 2015 Share Posted December 15, 2015 to show the product name, you could use {$productinfo.name}. however, pricing would be a different issue because at that stage, you haven't chosen a billing cycle (assuming there are multiple options)... so WHMCS has no price to pass. I guess if you were only using one billing cycle, you could use an action hook to query the database for the value - otherwise, you'll just have to make do with the product name (or description if you want more info). 0 Quote Link to comment Share on other sites More sharing options...
Guest vuzuggu Posted December 23, 2015 Share Posted December 23, 2015 How do you find out which files are being loaded/served, to work out which ones need editing? 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted December 24, 2015 Share Posted December 24, 2015 How do you find out which files are being loaded/served, to work out which ones need editing? experience! usually, you can just guess the template from the URL - if it's an order-form, there's no more than ten files to check; if it's a theme template, then the template name is normally a giveaway. failing that, view the page source in the browser and find code that you think will be unique to that page and then do a file search of the templates to find a match. 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.