Quantcast
Channel: WHMCS Community Forums
Viewing all articles
Browse latest Browse all 13458

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

$
0
0
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:

Code:

onfocus="domainconfigupdate();"
to both the id_protection input select and also the ordercontinuebutton - ie,

Code:

<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.

Viewing all articles
Browse latest Browse all 13458

Trending Articles