View Full Version : Dynamic Quote on Website
pgosling
26-01-2006, 09:27 PM
Any ideas on how I could implement a dynamic quote form on my site.
See HERE (http://www.g2computers.co.uk/custombuiltsystems.htm)
I want customers to be able to design their system and for the page to be able to change the quote according to the options they choose!
Any help would be appreciated?!!
Cheers
Carl Shepherdson
26-01-2006, 09:38 PM
Nick's your man style_emoticons/<#EMO_DIR#>/wink.gif I will make sure he gets to this topic soon.... style_emoticons/<#EMO_DIR#>/smile.gif
<div class='quotetop'>QUOTE(pgosling @ Jan 26 2006, 08:27 PM) Quoted post</div><div class='quotemain'>
Any ideas on how I could implement a dynamic quote form on my site.
See HERE (http://www.g2computers.co.uk/custombuiltsystems.htm)
I want customers to be able to design their system and for the page to be able to change the quote according to the options they choose!
Any help would be appreciated?!!
Cheers
[/b][/quote]
In your case - javascript would probably be the quickest and easiest way of doing it - but that could pose problems as some users turn javascript off in their browsers for security reasons .
PHP isnt suitable as you want the price to change as they make/select their options .
Carl Shepherdson
26-01-2006, 09:41 PM
<div class='quotetop'>QUOTE(pete @ Jan 26 2006, 08:39 PM) Quoted post</div><div class='quotemain'>
In your case - javascript would probably be the quickest and easiest way of doing it - but that could pose problems as some users turn javascript off in their browsers for security reasons .
PHP isnt suitable as you want the price to change as they make/select their options .
[/b][/quote]
huh? I think it is possible with PHP. style_emoticons/<#EMO_DIR#>/unsure.gif even if it involved a database.
<div class='quotetop'>QUOTE(CSN-Carl @ Jan 26 2006, 08:41 PM) Quoted post</div><div class='quotemain'>
huh? I think it is possible with PHP. style_emoticons/<#EMO_DIR#>/unsure.gif even if it involved a database.
[/b][/quote]
PHP could only do it if the page was refreshed after every selection .
Carl Shepherdson
26-01-2006, 10:26 PM
<div class='quotetop'>QUOTE(pete @ Jan 26 2006, 09:16 PM) Quoted post</div><div class='quotemain'>
PHP could only do it if the page was refreshed after every selection .
[/b][/quote]
I was thinking, user selects what they want from each menu... submits info, goes to a next page which shows the price and prices of each part.
All fetched from a db style_emoticons/<#EMO_DIR#>/smile.gif
<div class='quotetop'>QUOTE(CSN-Carl @ Jan 26 2006, 09:26 PM) Quoted post</div><div class='quotemain'>
I was thinking, user selects what they want from each menu... submits info, goes to a next page which shows the price and prices of each part.
All fetched from a db style_emoticons/<#EMO_DIR#>/smile.gif
[/b][/quote]
Unless i misread the original post - the user wants the total price to change as each selection is made .
php for want of a better description is - do the server side giggery pokkery and send the end result output to the browser - with no webpage interaction once its done .
Nick Irvine
27-01-2006, 06:42 PM
It can be done with php, I would suggest you use it with a mysql backend.
As it has already been said if you want the price to change after each selection you will need to combine php and javascript.
Any more help let me know.
pgosling
27-01-2006, 09:59 PM
Thanks for the replies!
Nick: Can you point me in the right direction in terms of example scripts?
Nick Irvine
28-01-2006, 12:31 PM
In terms of javascript have a look around Javascript Source:
http://javascript.internet.com/
Theres loads of good javascript on there.
Theres also some here:
http://javascriptstation.com/scripts.html
Javascript source is the better one tho, not very well organised tho and you will need to trudge through it finding the right one.
Let me know how you get on!
vBulletin® v3.7.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.