rugg Posted March 16, 2021 Share Posted March 16, 2021 Hi, i hope client do not know the coupon code, is it possible i set a link to redirect to http://example.com/whmcs/cart.php?a=add&pid=1?promocode=xxxxxxx , and client can only find the url as http://example.com/whmcs/cart.php?a=add&pid=1 or http://example.com/whmcs/cart.php without the promocode=xxxxxxx ? thank you. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted March 16, 2021 Share Posted March 16, 2021 4 minutes ago, rugg said: i hope client do not know the coupon code, wouldn't it be simpler to just set the coupon code to only work for new signups only ? that would mean that existing clients couldn't use it (unless they created a new account). 0 Quote Link to comment Share on other sites More sharing options...
rugg Posted March 16, 2021 Author Share Posted March 16, 2021 Hi, because i want to offer discount for some people only, so,i think to apply ?promocode=xxxxxxx on the url , by the way,they can get the special discount when making order directly. but i do hope any one know there is a special coupon code there. thank you. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted March 16, 2021 Share Posted March 16, 2021 19 minutes ago, rugg said: because i want to offer discount for some people only, new users? possibly you could use a ShoppingCartValidateCheckout action hook to only allow clients to register with a specific email address (e.g all those you are contacting by email with this promotion) to use the promocode. additionally, you could limit the number of times the code can be used in the promotion settings. 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.