webhost 4 less Posted November 17, 2009 Share Posted November 17, 2009 Hello All, I am looking to set up a checkout option to pay by invoice but only for current clients and do not want to offer this to new clients how is the best way to offer pay by invoice to current clients only on the checkout page? Regards Jim 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted November 18, 2009 WHMCS Support Manager Share Posted November 18, 2009 You'd need to hack it in to viewcart.tpl. Add the payment gateway option and wrap it with {if $loggedin} and {/if} tags. 0 Quote Link to comment Share on other sites More sharing options...
tomdchi Posted November 18, 2009 Share Posted November 18, 2009 I don't think there is a way to show a checkout option for some clients and not others unless you set the option in settings to not let the client chose the gateway they pay with. Then set current clients orders to the gateway you want them to have and set your products to use a different gateway for new clients. {if $loggedin} would only work for the initial order and also if they didn't register previously and weren't logged in. the other problem would be that they can use whatever gateway they want on subsequent invoices if you allow them to choose the gateway. 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.