Davewalters Posted March 25, 2008 Posted March 25, 2008 Hi - Installed a few different versions of this contrib tonight and have ended up with the one by Theman based on a script by Matt and modified by Teddy Caddy - I've had a great night :angry: It basically does what I need in that it'll search whois and tell you whether a domain name is available. It then brings up an order now button which simply appends a pre created product id to the button and adds to the cart. What I need is the actual domain name [>DOMAIN<] and the extension [>EX<] to be passed to the cart as well. The information is currently passed from isavial (is available) file as follows; <FONT FACE="Verdana,Arial,Geneva" SIZE="2"> <center> <FONT SIZE="2"><b>Congratulations!</b><br>The domain <b>[>DOMAIN<].[>EXT<]</b> is available!</font> </center> <P> A search performed on <i>[>WHOIS_SERVER<]</i> has revealed that the domain "<b>[>DOMAIN<].[>EXT<]</b>" is available. <p> <form action="http://ukbis.net/oscommerce/product_info.php/cPath/133/products_id/2006" target="_parent" method="POST"> <input type="hidden" name="products_id" value="2006"> <input type=hidden name=domain value="[>DOMAIN<].[>EXT<]"> <INPUT TYPE=SUBMIT TITLE=" Add to Cart " VALUE="Order NOW"> </form> </FONT> Is there anyway to modify this so that the domain and ext information can also be passed to the shopping cart, perhaps as an attribute? Failing that is there any working contribution that will do this? Thanks in advance. Quote
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.
Note: Your post will require moderator approval before it will be visible.