Jump to content

Free domain depending on payment terms...


codemaster2008

Recommended Posts

I know it's already there under "Products Services / Free Domain".

But what i need is a bit different because the available free TLD's will depend on the payment term.

Something like:

 

- Monthly

Free .com and .net

- Annually

Also, free .name and .tv

 

So, is there a way to accomplish that?

 

I'm not sure if there is an action hook that is triggered when a product is add to the cart.

If yes, after every product is added i could test the product and payment term and add a new product (a discount actually - negative value) for the domain price.

And off course, test after every product is removed to remove the discount as well.

 

If those hooks are available could someone point me to where i can get some additional information? Because I'm definitely not a php guy, I'm find my way through smarty though, it's kind of fun.

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