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:
to both the id_protection input select and also the ordercontinuebutton - ie,
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.
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();"
Code:
<input type="submit" onclick="domainconfigupdate();" onfocus="domainconfigupdate();" value="{$LANG.ordercontinuebutton}" />
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.