ffeingol Posted November 13, 2008 Share Posted November 13, 2008 I don't believe this is possible to implement but I wanted to bounce it off "everyone" for ideas. For most of our products we want to offer the register/transfer/use existing domain options. For one particular product line we need the clients domain name but we don't want to offer the register/transfer options. The only option on the product setup is use/don't use the domain options for this product. Is there any way to implement this? TIA 0 Quote Link to comment Share on other sites More sharing options...
jamin1317 Posted November 13, 2008 Share Posted November 13, 2008 You can achieve this by editing the template configureproductdomain.tpl (remember to make a backup of the template before editing) Using templates/orderforms/cart/configureproductdomain.tpl as an example find the code {if $registerdomainenabled} and add {if $productinfo.pid!="7"} where 7 is the ID of the product you don't wish to display register and transfer for {if $productinfo.pid!="7"} {if $registerdomainenabled} The add an {/if} just before {if $owndomainenabled} {if $productinfo.pid!="7"} {if $registerdomainenabled} <input type="radio" name="domainoption" value="register" id="selregister" onclick="document.getElementById('register').style.display='';document.getElementById('transfer').style.display='none';document.getElementById('owndomain').style.display='none';document.getElementById('subdomain').style.display='none';document.getElementById('incart').style.display='none'" /> <label for="selregister">{$LANG.orderdomainoption1part1} {$companyname} {$LANG.orderdomainoption1part2}</label><br /> {/if} {if $transferdomainenabled} <input type="radio" name="domainoption" value="transfer" id="seltransfer" onclick="document.getElementById('register').style.display='none';document.getElementById('transfer').style.display='';document.getElementById('owndomain').style.display='none';document.getElementById('subdomain').style.display='none';document.getElementById('incart').style.display='none'" /> <label for="seltransfer">{$LANG.orderdomainoption3} {$companyname}</label><br /> {/if} {/if} {if $owndomainenabled} <input type="radio" name="domainoption" value="owndomain" id="selowndomain" onclick="document.getElementById('register').style.display='none';document.getElementById('transfer').style.display='none';document.getElementById('owndomain').style.display='';document.getElementById('subdomain').style.display='none';document.getElementById('incart').style.display='none'" /> <label for="selowndomain">{$LANG.orderdomainoption2}</label><br /> {/if} 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.