PlugComputers Posted February 24, 2007 Share Posted February 24, 2007 Hey, Let me try to do my best to explain this... I have a business website that specializes in building custom computers. Customers can use our online form to select components for their computer from various categories (Hard drive size, processor, memory, ect..) Take a look at the page here: www.plugcomputers.com/amdschedule.php As you can see there are many radio buttons with different computer part choices. I wanted to add some way to assign a dollar value to each different part, so the customer knows how much its costing them with each upgrade. If you scroll to the bottom of the page you will see some red text, I want that price to reflect the sum off all the choices they made above. Adding up all the different upgrade dollar amounts so that they have an idea how much their computer will be while selecting components. The current red number at the bottom is the base price with all the default selected values. For example, in the first category "Processor" The base price includes the AMD x2 3800+, If i wanted the upgrade price for the next option (the AMD x2 4400+) to be +$50 how can I get that into the form so when the user clicks that radio the price at the bottom automatically adds $50? Thank you and I appreciate any help... Quote Link to comment Share on other sites More sharing options...
pocobueno1388 Posted February 24, 2007 Share Posted February 24, 2007 This would require AJAX, not PHP. Quote Link to comment Share on other sites More sharing options...
PlugComputers Posted February 24, 2007 Author Share Posted February 24, 2007 Is there a better forum you would recommend posting this in then? Where would be the best place? Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted February 24, 2007 Share Posted February 24, 2007 This would require AJAX, not PHP. Not really AJAX. Just plain javascript. Best place to post this would be in the Javascript forum. Quote Link to comment Share on other sites More sharing options...
PlugComputers Posted February 24, 2007 Author Share Posted February 24, 2007 So should I post somewhere else? Or do you guys/gals (?) have any ideas on what I can do? Thanks... Quote Link to comment Share on other sites More sharing options...
TRI0N Posted February 24, 2007 Share Posted February 24, 2007 But take this as a note.. With eveything you have on that page the person would spend hours trying to get just the right price.. Be a little more informative with your Upgrade Design.. Next to each upgrade put something like (Add $29.00) etc.. Don't want them to be all spending day jumping up and down the page to see what costs what. Quote Link to comment Share on other sites More sharing options...
TRI0N Posted February 24, 2007 Share Posted February 24, 2007 Well you could just have the basic prices on the list next to each selection.. Then Submit to the same page again and it will add up what they selected.. Have a 3rd button that says Checkout.. [update] [Reset] [Checkout] Quote Link to comment Share on other sites More sharing options...
PlugComputers Posted February 24, 2007 Author Share Posted February 24, 2007 Yeah thats what I was going to do. Next to the text I was going to put "[+$50]" or whatever the upgrade price was so they have some idea while sorting through all of their options.. What do you mean TRION? How could I do that? I don't really have a payment gateway setup to do a "checkout" persay.. Quote Link to comment Share on other sites More sharing options...
TRI0N Posted February 24, 2007 Share Posted February 24, 2007 Well it doesn't have to be checkout then.. Can be just Request Order or something rather then Check Out... As for submit to self you would tell the form when they click update to submit to the same page again it would then calaculate the selections made and total it at the bottom. Then if they like it they can then "Request Order". You will need to look at a Radio Button Value code for the pass thru to see how to make it remember what radio buttons were sellected when its updated. Quote Link to comment Share on other sites More sharing options...
PlugComputers Posted February 24, 2007 Author Share Posted February 24, 2007 Right, but how could I assign dollar values to each radio button so it knows which prices to include in the total when updated? Quote Link to comment Share on other sites More sharing options...
simcoweb Posted February 24, 2007 Share Posted February 24, 2007 It might be advisable to get a shopping cart system that has what's known as a 'configurator' which is exactly what you're trying to create. It starts with the 'core' product and the person selects their options which adds to the price. Then they confirm and place their order. Quote Link to comment Share on other sites More sharing options...
PlugComputers Posted February 24, 2007 Author Share Posted February 24, 2007 I dont really want a whole ecommerce system. I just need something where they have some type of idea what they are selecting. People are configuring computers way out of their price range and then are shocked by the price when they are contacted with a quote. Any suggestions? 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.