LiveZilla Live Chat Software
RCM - Resellerclub Mods

Welcome, Guest

TOPIC: Display Domains on sale in WHMCS template

Display Domains on sale in WHMCS template 4 years 10 months ago #222

any thoughts on the best way to show something like ".ORG on sale $9.99 through 9/9/2012" on the portal page and have them automatically removed when the sale ends, keeping these in sync with the Auto Promo Update

i see the addition to mod_resellerclubmodspromo, i am thinking one way would be to query this table and show the domains listed. if i do this, will these records stay or will they get deleted when the promo ends and should i include promoend in my query to see if it is in the future.

additionally i am assuming the promo price will only be for the first year and subsequent prices will be at the regular price?

Thanks

Sean
The administrator has disabled public write access.

Re: Display Domains on sale in WHMCS template 4 years 10 months ago #224

  • Marco
  • Marco's Avatar
  • OFFLINE
  • Karma: 16
Hi,
i see the addition to mod_resellerclubmodspromo, i am thinking one way would be to query this table and show the domains listed. if i do this, will these records stay or will they get deleted when the promo ends and should i include promoend in my query to see if it is in the future.

This is exactly the way you should do it Sean. The table mod_resellerclubmodspromo contains only those promos you have explicitely activated in the FREE Tools with the button "Update Domain with Promo Price". A promo get deleted if you click the button "Update Domain with Selling Price" or you have activated the hook "Auto Update Promo Price with Selling Price". You can make a simply if else condition to check if a promo is still valid.
additionally i am assuming the promo price will only be for the first year and subsequent prices will be at the regular price?
Yes, this is correct. Further, the entry "type" indicates for which domaintype the promo is valid: domainregister, domainrenew and domaintransfer.

We could extend the table and include some more information such as promo start date, valid for x years, etc. However, ResellerClub offers normally the promos for the first year only.

Just let me know your needs.

Regards,
Marco
The administrator has disabled public write access.
Time to create page: 0.121 seconds

Latest Tweets

More Tweets from resmods

Latest News

RCM Special Birthday Bundle Promos !

2017 is our 6th Business Year and we are very happy to be your 1# WHMCS Integration provider for ResellerClub, NetEarthOne, Resll.biz and many other LogicBoxes Registrars!

Read more...

Wordpress Hosting Provisioning Module now available!

We are happy to announce the launch for our brand new Provisioning Module to sell and manage the newly incorporated ResellerClub Service: Wordpress Hosting!

Read more...

About Us

Who we are, what we do and everything else about Resellerclub Mods, a gIF Business Project: