Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Customize this computer type script
Old 09-14-2007, 11:17 PM Customize this computer type script
Junior Talker

Posts: 2
Trades: 0
Hi, I'm looking to download or help with creating a script that will allow website users to select and customize a computer system. I need it to re-calculate the price of the system real time based on what selections they make. This would be similar to what many manufacturer websites use for their computers such as alienware or dell. Any help with this would be great. Thanks
jeranamo is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 09-14-2007, 11:37 PM Re: Customize this computer type script
solomongaby's Avatar
Webmaster Talker

Latest Blog Post:
How Do You Find Music Online ?
Posts: 522
Name: Gabe Solomon
Location: Romania
Trades: 1
well you have to build an list of computer customization options, and put a price for each one .....
make a html form that let's the user select what he wants, then at the action script .... add all the prices for the options the user selected ... and have a total price

that is a big picture ... after you have something done, and get stuck on a problem, reply here
__________________
If you like my posts ... TK is appreciated:)

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
solomongaby is offline
Reply With Quote
View Public Profile Visit solomongaby's homepage!
 
Old 09-15-2007, 06:44 AM Re: Customize this computer type script
dansgalaxy's Avatar
Defies a Status

Posts: 6,521
Name: Dan
Location: Swindon
Trades: 0
This could easily be done, but i think you would have to use javascript to have it do it like you said.

I could probably write a PHP version for you. talk to me if your interested
__________________
Discounted Web Hosting With XDnet!
>> Get 25% of hosting~ Promo: Webmaster-talk <<

Please login or register to view this content. Registration is FREE
dansgalaxy is offline
Reply With Quote
View Public Profile Visit dansgalaxy's homepage!
 
Old 09-15-2007, 10:23 PM Re: Customize this computer type script
goheadtry's Avatar
Webmaster Talker

Posts: 730
Name: John
Location: United States of America, California
Trades: 0
Very easy look up html forms then make a form then make a php script that will send it via email to you and give a price by part and the aproxx. amount of time to build so you can charge by the hour and the parts.

Also maybe make some prebuilt systems for people that don't know alot.
__________________
Free $1 gift card when you signup at
Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE

goheadtry is offline
Reply With Quote
View Public Profile Visit goheadtry's homepage!
 
Old 09-16-2007, 03:28 PM Re: Customize this computer type script
Junior Talker

Posts: 2
Trades: 0
I already know how to do that, goheadtry. I need something that will show the customer in realtime what they will have to pay. A "quote" email form is not what I am looking for. That is what I have used in the past. I want something that autocalculates price change based on what the user selects.
jeranamo is offline
Reply With Quote
View Public Profile
 
Old 09-16-2007, 04:41 PM Re: Customize this computer type script
dansgalaxy's Avatar
Defies a Status

Posts: 6,521
Name: Dan
Location: Swindon
Trades: 0
I really thought i was bad for posting for the sake of it but john you have done this alot today, i have seen atleast 2 threads where you reply with a answer to questions which wasnt being asked!

You obviously havent read the thread(s).

Dan
__________________
Discounted Web Hosting With XDnet!
>> Get 25% of hosting~ Promo: Webmaster-talk <<

Please login or register to view this content. Registration is FREE
dansgalaxy is offline
Reply With Quote
View Public Profile Visit dansgalaxy's homepage!
 
Old 09-18-2007, 08:29 AM Re: Customize this computer type script
killdude69's Avatar
Average Talker

Posts: 24
Name: Brandon Miller
Trades: 0
I believe it might go something like this:

HTML Code:
<form action="process.php" method="post">
  <select name="os">
    <option value="150">Window XP Professional: $150</option>
    <option value="95">Windows 95: $95</option>
  </select>
  <select name="extra">
    <option value="5">Mouse: $5</option>
    <option value="25">Keyboard: $25</option>
  </select>
</form>
PHP Code:
<?php
  $price 
$_POST['os'] += $_POST['extra'];
  echo 
'Your total price is: $' $price;
?>
Hope this helped.
__________________
Huhh, well, you screwed up this time dumby.

Free PHP BBCode parser & inserter:
Please login or register to view this content. Registration is FREE
killdude69 is offline
Reply With Quote
View Public Profile
 
Old 09-18-2007, 09:42 AM Re: Customize this computer type script
metho's Avatar
Ultra Talker

Posts: 481
Location: Gold Coast - Brisbane QLD, Australia
Trades: 0
Depends on what you mean by 'realtime'. If you want to update a total field after the user changes a package item, you have two choices, AJAX or plain javascript.

The only other option is to add a 'recalculate' button to the form that submits for a server round-trip to process the new total.

Personally, I'd go for the javascript option, and include the 'recalculate' button in <noscript> tags.

Writing up javascript to calculate totals on a form is dead easy stuff. Post your form source here or in the js forum to get started.
__________________
I do
Please login or register to view this content. Registration is FREE
based.
Spend a lot of time in
Please login or register to view this content. Registration is FREE
.
And
Please login or register to view this content. Registration is FREE
chews up the rest.
metho is offline
Reply With Quote
View Public Profile Visit metho's homepage!
 
Old 09-18-2007, 11:54 AM Re: Customize this computer type script
dansgalaxy's Avatar
Defies a Status

Posts: 6,521
Name: Dan
Location: Swindon
Trades: 0
Hey im really sorry i ahvent had time to be able to do this yet, i been really busy with coursework, if your still interetsed im sure i can still knock it up do you have the form with what you want it to add already done?
__________________
Discounted Web Hosting With XDnet!
>> Get 25% of hosting~ Promo: Webmaster-talk <<

Please login or register to view this content. Registration is FREE
dansgalaxy is offline
Reply With Quote
View Public Profile Visit dansgalaxy's homepage!
 
Reply     « Reply to Customize this computer type script
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.29535 seconds with 12 queries