Jump to content

Allow only 1 product per account


Ragonz

Recommended Posts

We are trying to create a trial system using the Auto Terminate/Fixed Term option within WHMCS however there doesn't appear to be anything that prevents clients from ordering as many of them as they want. Is there a way to limit the number of these products they can have in their account?

 

Thanks

Link to comment
Share on other sites

there's no way to do it from the settings - unless you go down the promotion code route...

 

http://docs.whmcs.com/Promotions

http://docs.whmcs.com/Common_Promotions

 

using that, you could limit a promo code to be used once in the cart and once per client...

 

there was a free addon that used to work for previous versions, but I don't know if it works with v7...

 

https://forum.whmcs.com/showthread.php?125186-How-to-Limit-a-Free-Product-once-to-a-client&p=501970#post501970

 

there would be other ways, including action hooks, but ultimately I don't think you could (easily) prevent someone creating multiple accounts in order to beat any limitations you want to employ on these products. :roll:

Link to comment
Share on other sites

We are not worries about multiple accounts as the product only becomes valuable after time is invested in it which would mean extending the fixed term via multiple accounts becomes pointless, what we mainly need it for is to prevent people accidentally ordering more than 1.

 

- - - Updated - - -

 

promo code may be the way to go but effort for client :(

Link to comment
Share on other sites

  • 4 months later...

Hi Brian

 

Having a hard time getting this to work, I have it all working now except for automatically applying the promocode, it works fine when entered manually but not when in the url

https:// mydomainhere/cart.php?a=add&pid=204&carttpl=slider?promocode=trial (space in url as domain is obviously replaced so I dont fall foul of any advertising rules you have and so you can see the full url)

Edited by Ragonz
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated