Jump to content
Remitur

promotions active only for transfer-in domain?

Recommended Posts

Hello.

Wanting to realize a promotion such as "transfer in your domain to me, I'll give you a discount of x% on this hosting package" ... is it doable?

 I looked at all promotions setting, but found no way to gain a promotion to a domain transfer... 😕

 

Share this post


Link to post
Share on other sites
7 hours ago, Remitur said:

I looked at all promotions setting, but found no way to gain a promotion to a domain transfer...

I would do it the other way and try the following...

  1. create a duplicate product of your hosting package (you may be able to use the original).
  2. either discount the product price by x% directly (e.g in the pricing setup) or create a promo code that applies to only this product, and to just the transfer TLDs that you want it to apply to.
  3. use an action hook to specify that this hosting product can only use "Transfer Domain" as a domain option - e.g they can't register, use existing or subdomain.

the hook would be along the lines of the one I posted in the thread below...

<?php

# Configure Domain Settings For Products
# Written by brian!

add_hook("ClientAreaPageCart",1,function($vars){

   global $productinfo;

   if ($productinfo['pid'] == "45") {
       return array(
       "registerdomainenabled" => "",
       "transferdomainenabled" => "on",
       "owndomainenabled" => "",
       "domainoption" => "transfer"
       );        
   }
});

just change the PID value to check to the applicable one for your product and during the domain choice stage, they'll only be able to chose a Transfer...

DAp6l3q.png

  • Thanks 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×

Important Information

By using this site, you agree to our Terms of Use & Guidelines