Xarcell Posted March 29, 2013 Share Posted March 29, 2013 So I'm trying to create a custom order template. Here's what I have so far: I created a vpscustom.php and a vpscustom.tpl. When I visit mydomain.com/vpscustom.php I can see what I've done so far. Inside the tpl, I have this as a test run: <form method="post" action="cart.php?a=add&{if $product.bid}bid={$product.bid}{else}pid={$product.pid}{/if}"> <label>Operating System</label> <select id="configid1" name="configid[1]" onchange="read_configid1()"> <option value="17" mprice="0" aprice="0">Linux Centos 5.7</option> <option value="18" mprice="0" aprice="0">Linux Red Hat Enterprise 5.5</option> <option value="19" mprice="0" aprice="0">Windows 2008 R2 Web 64 bit</option> <option value="20" mprice="0" aprice="0">Windows 2008 R2 Standard 64 bit</option> </select> <div class="ordernowbox"><input type="submit" value="{$LANG.ordernowbutton} »" class="ordernow" /></div> </form> I'm still trying to figure out how to pass the configid[1] value to the url. When I click "order", it takes me to the plain old cart page. Any pointers? 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.