Go Back   Computer Forums > Web Design | Website Development > Web Programming
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 02-20-2011, 04:17 PM   #1
Beta Member
 
Join Date: Dec 2010
Posts: 1
Red face online shop script

hi, i have one question. i hope i am posting new thread at right place. i have online shop at open cart engine, and i need to write script which will give me opportunity to choose computers parts (such as monitor, ram and so on), and when i press button it must calculeta price of it. script may be consist of select-option codes, or of checkboxes. i wroe this codes, but it works for only one product.
Code:
  <form action="http://127.0.0.1/index.php?route=checkout/cart" method="post" enctype="multipart/form-data" id="product">
                <div class="content">
				choose computer parts
				<select onchange="product_id=value">
				<option value="119">asus pc</option>
				<input type="hidden" name="quantity" size="3" value="1">
				<a id="add_to_cart" class="button"><span>buy</span></a>
				<input type="hidden" name="product_id" value="119">
                <input type="hidden" name="redirect" value="http://127.0.0.1/index.php?route=product/product&amp;product_id=119"> 
                </select>
i hope wrote everything clearly, thanks a lot.
daxvewili is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 11:14 AM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0