Jump to content

Product as addon & it's own product....?


saasideas

Recommended Posts

I have the following issue:

 

A product which can be purchased on it's own (only applies to a single domain, so multiple instances can be purchased) but i also want a user to be able to choose it for a hosting package and the current domain they're using for it. So during ordering/configuring a hosting package I want them to be able to easily tack on this additional product.

 

I've configured it as an addon for a hosting package, and as a seperate product so multiple instances can be purchased. This way if the user's want to purchase additional ones because they have multiple sites on one server they can. I guess I need to write my own action hook to say "when this addon is used, add the appropriate product to the shopping cart". I've set the addon to 0.00$ so duplicate pricing won't get done. Can you point me to the documentation and action hook(s) I need to use to trigger an add to cart of the product when the addon shows that I need to?

 

Support mentioned http://docs.whmcs.com/Hooks:Order_Process but I'm not really sure which one of those fit or the best way to accomplish what I need to.

 

It doesn't look like product bundling is what I want/need and there's no easy way to easily allow a user to add additional products based on the product they are purchasing. Based on what I've seen in the action hooks it doesn't look like it has what I need? all the order hooks are for modules...?

 

If anyone can help that would be great, thanks.

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