PDA

View Full Version : online quote system


mangovski
06-13-03, 09:33 PM
Hi everyone, I hope someone can help me...

I'm looking for a script which will setup an online quote system. Kinda like what you get when you go to a computer manufacturers website - it allows the viewer to sellect items in different categories and totals the amount on screen. If that doesn't make sense, go and check out Dell's website and you'll see what I mean.

I'm not looking for ecommerce, just a way in which someone can work out their own pricing.

I've searched everywhere for a script that'll do that, but I haven't had any luck. I know nothing about PHP so I can't create it myself.

Any ideas? Your help is appriciated!

DA Master
06-14-03, 07:34 AM
Have you tried searching (http://www.hotscripts.com/PHP/Scripts_and_Programs/E-Commerce/Quote_Systems/index.html) through the HotScripts.com database.

mangovski
06-14-03, 07:32 PM
Yes I have. The link you sent me to I have been to and it's all shipping calculators.

I've searched a half a dozen PHP sites without any luck.

ridwank
06-17-03, 06:27 AM
I think that's not a COMMON and RARE script.

and I guess there'll be a lot of response in this forum
if you start to ASK some people here
to MAKE that script, FOR YOU.

This comunity contains a lot of good programmer,
and will always be ready for something like this ;).

so we'll be glad to help
aren't we pals? :)

mangovski
06-17-03, 06:10 PM
Since I'm new here, perhaps you can point me in the right direction as to who I should ask about making the script?

Darkness22k
06-18-03, 01:01 PM
I know phpkid knows PHP so you should probably ask him. I only know like half of PHP so don't ask me.. heh :p

tektopia
12-03-03, 12:07 PM
hi

i dunno if it helps but i just created one in javascripts it follows

<SCRIPT type="text/javascript" language="javascript">
function calculate()

{
myOption = -1;
for (i=0; i<document.form1.CPU.length; i++) {
if (document.form1.CPU[i].checked) {
myOption = i;
}
}
cpu = (document.form1.CPU[myOption].value)
//cpu = parseFloat(cpuend)

myOption = -1;
for (i=0; i<document.form1.RAM.length; i++) {
if (document.form1.RAM[i].checked) {
myOption = i;
}
}
RAM1 =(document.form1.RAM[myOption].value)

myOption = -1;
for (i=0; i<document.form1.RAMSPEED.length; i++) {
if (document.form1.RAMSPEED[i].checked) {
myOption = i;
}
}
RAM2 = parseFloat(document.form1.RAMSPEED[myOption].value)

ram3 = parseFloat(RAM1) * parseFloat(RAM2)


myOption = -1;
for (i=0; i<document.form1.HDUSIZE.length; i++) {
if (document.form1.HDUSIZE[i].checked) {
myOption = i;
}
}
HDU1 =(document.form1.HDUSIZE[myOption].value)

myOption = -1;
for (i=0; i<document.form1.HDUTYPE.length; i++) {
if (document.form1.HDUTYPE[i].checked) {
myOption = i;
}
}
HDU2 = parseFloat(document.form1.HDUTYPE[myOption].value)

hdu3 = parseFloat(HDU1) * parseFloat(HDU2)

myOption = -1;
for (i=0; i<document.form1.CDROMT1.length; i++) {
if (document.form1.CDROMT1[i].checked) {
myOption = i;
}
}
CDROM1 =(document.form1.CDROMT1[myOption].value)

myOption = -1;
for (i=0; i<document.form1.CDROMT2.length; i++) {
if (document.form1.CDROMT2[i].checked) {
myOption = i;
}
}
CDROM2 = parseFloat(document.form1.CDROMT2[myOption].value)

cdrom3 =parseFloat(CDROM1) + parseFloat(CDROM2)


myOption = -1;
for (i=0; i<document.form1.KB.length; i++) {
if (document.form1.KB[i].checked) {
myOption = i;
}
}
kb = parseFloat(document.form1.KB[myOption].value)

myOption = -1;
for (i=0; i<document.form1.MOUSE1.length; i++) {
if (document.form1.MOUSE1[i].checked) {
myOption = i;
}
}
MOUSE1 =(document.form1.MOUSE1[myOption].value)

myOption = -1;
for (i=0; i<document.form1.MOUSE2.length; i++) {
if (document.form1.MOUSE2[i].checked) {
myOption = i;
}
}
MOUSE2 = parseFloat(document.form1.MOUSE2[myOption].value)

mouse3 = parseFloat(MOUSE1) * parseFloat(MOUSE2)

myOption = -1;
for (i=0; i<document.form1.SOUND.length; i++) {
if (document.form1.SOUND[i].checked) {
myOption = i;
}
}
sound = parseFloat(document.form1.SOUND[myOption].value)

myOption = -1;
for (i=0; i<document.form1.CASETY.length; i++) {
if (document.form1.CASETY[i].checked) {
myOption = i;
}
}
case1 = parseFloat(document.form1.CASETY[myOption].value)

myOption = -1;
for (i=0; i<document.form1.MONITORSIZE.length; i++) {
if (document.form1.MONITORSIZE[i].checked) {
myOption = i;
}
}
MONITOR1 =(document.form1.MONITORSIZE[myOption].value)

myOption = -1;
for (i=0; i<document.form1.MONITORTYPE.length; i++) {
if (document.form1.MONITORTYPE[i].checked) {
myOption = i;
}
}
MONITOR2 = parseFloat(document.form1.MONITORTYPE[myOption].value)

monitor3 = parseFloat(MONITOR1) * parseFloat(MONITOR2)

myOption = -1;
for (i=0; i<document.form1.OS.length; i++) {
if (document.form1.OS[i].checked) {
myOption = i;
}
}
os1 = parseFloat(document.form1.OS[myOption].value)

myOption = -1;
for (i=0; i<document.form1.OFFICE.length; i++) {
if (document.form1.OFFICE[i].checked) {
myOption = i;
}
}
office1 = parseFloat(document.form1.OFFICE[myOption].value)

myOption = -1;
for (i=0; i<document.form1.VIRUS.length; i++) {
if (document.form1.VIRUS[i].checked) {
myOption = i;
}
}
virus1 = parseFloat(document.form1.VIRUS[myOption].value)
{
start = 200;
carriage = 9.99
VAT = 1.175
markup = 1.5
currency = "&pound;"
// cpu = (document.form1.CPU.value)
// ram1 = (document.form1.RAM.value)*(document.form1.RAMSPEE D.value)
// hdu = (document.form1.HDUSIZE.value)*(document1.form1.HD UTYPE.value)
// cdrom = (document.form1.CDROMT1.value)+(document1.form1.CD ROMT2.value)
// kb = document1.form1.KB.value
// mouse = (document1.form1.MOUSE1.value)*(document1.form1.MO USE2.value)
// sound = (document1.form1.SOUND.value)
// case1 = document1.form1.CASETY.value
// monitor = (document1.form1.MONITORSIZE.value)*(document1.for m1.MONITORTYPE.value)
total = parseFloat(cpu) + parseFloat(ram3) + parseFloat(hdu3) + parseFloat(cdrom3) + parseFloat(kb) + parseFloat(mouse3) + parseFloat(sound) + parseFloat(case1) + parseFloat(monitor3) + parseFloat(start) + parseFloat(os1) + parseFloat(office1) + parseFloat(virus1)
total1 = (parseFloat(total) * (markup)) + carriage
vat1 = parseFloat(total1) * VAT
vat2 = parseFloat(vat1) - (total1)
grosstotal = parseFloat(vat2) + parseFloat(total1)
total2 = Math.round(total1*100)/100;
vat3 = Math.round(vat2*100)/100;
grosstotal1 = Math.round(grosstotal*100)/100;
document.form1.T1.value = currency + total2
document.form1.Carriage.value = currency + carriage
document.form1.VAT.value = currency + vat3
document.form1.TOTAL.value = currency + grosstotal1

MadDog
12-03-03, 01:03 PM
Hi everyone, I hope someone can help me...

I'm looking for a script which will setup an online quote system. Kinda like what you get when you go to a computer manufacturers website - it allows the viewer to sellect items in different categories and totals the amount on screen. If that doesn't make sense, go and check out Dell's website and you'll see what I mean.

I'm not looking for ecommerce, just a way in which someone can work out their own pricing.

I've searched everywhere for a script that'll do that, but I haven't had any luck. I know nothing about PHP so I can't create it myself.

Any ideas? Your help is appriciated!
Topic moved to more appropriate forum.

radarman012000
12-14-04, 09:19 PM
I have developed a javascript quote system. IM me if you would like to see it.