Jump to content

Link Available Addons


Recommended Posts

6 hours ago, Mauwiks said:

how do we link an available add-on product to any of our customers?

quick way would be to send them to cart.php?gid=addons - they'd have to login though... or if they're logged in, there should be a "View Available Addons" link in the Services Menu.

FfoZawQ.png

somewhere in the back of my mind, i'm sure that link used to be optional and you could disable it - anyway, it should be there to your clients.

if you mean, can you use a link, as with products, to send them to a specific addon, then I don't think you can.

Link to comment
Share on other sites

18 hours ago, Mauwiks said:

Thanks a lot. But what if I want to link a specific addon and not all of them?

*coughs*

On 28/08/2019 at 12:49, brian! said:

if you mean, can you use a link, as with products, to send them to a specific addon, then I don't think you can.

so whilst it couldn't be done in WHMCS natively, I suppose it could theoretically be done using a CAPC hook, passing an addon id parameter to the addons page (cart.php?gid=addons&addonid=12) and getting the hook to remove all addons apart from id=12...

hmm, just quickly tried it in Smarty and the idea works in the template, so would certainly work as a hook too.

Link to comment
Share on other sites

53 minutes ago, brian! said:

*coughs*

so whilst it couldn't be done in WHMCS natively, I suppose it could theoretically be done using a CAPC hook, passing an addon id parameter to the addons page (cart.php?gid=addons&addonid=12) and getting the hook to remove all addons apart from id=12...

hmm, just quickly tried it in Smarty and the idea works in the template, so would certainly work as a hook too.

Sorry, I haven't noticed this on the recent response. :) but ultimately, THANK YOU @brian!

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