Jump to content

Force selection of a single Addon?


dan.trainor

Recommended Posts

Hi -

 

I'm in a situation here where I'd like to force the selection of one, and only one, configurable addon in this group. The idea is, this data will be used to specify a special configuration in the backend of the application I'm trying to snap in to WHMCS.

 

Although I'd like to achieve the same end result (client selects a paid selectable addon and gets the extra service, else client selects the free selectable addon and gets standard service), I feel as if I'm going about this the wrong way. Maybe I should just bone up on my SQL and use the same logic that WHMCS uses to determine if a client has an addon or not, and go about my business that way.

 

Thoughts?

 

Thanks!

-dant

Link to comment
Share on other sites

Hi -

 

Thanks for the tip. To be perfectly honest I've been spending so much time on writing this custom module that I've strayed well away from the core of WHMCS. I'll take another look at it soon; sounds like I can do this.

 

Thanks!

-dant

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