Jump to content

ID protect auto-on for enom domains - not showing correct price


greghl

Recommended Posts

I've tried to implement the ID protection being auto-checked for enom domain registrations - as documented here:

 

http://docs.whmcs.com/Enom_ID_Protection_Promo

 

The problem is that the ajax cart does not show the price of the domain PLUS the pre-selected ID protection - to counter this, I've added the javascript triggers:

 

onfocus="domainconfigupdate();"

 

to both the id_protection input select and also the ordercontinuebutton - ie,

 

<input type="submit" onclick="domainconfigupdate();" onfocus="domainconfigupdate();" value="{$LANG.ordercontinuebutton}" />

 

Still the ID protection does NOT show in the ajax cart total until the purchaser clicks through the "continue" button - anyone know how to make it add the total as soon as the page loads - Im trying to avoid having to alter too many files to get this implemented - at the moment all changes are contained within:

 

templates/orderforms/ajaxcart/configuredomains.tpl

 

I really want to show the correct price at page load, so we're not accused of "bait + switch" - cheers.

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