Archive for March, 2009

Modern flower shop osCommerce template

AlgoZoneCom asked:


www.algozone.com – Javascript and ajax enabled template for osComemrce Loaded. Quick product scroll module and product quick preview. Template: www.algozone.com

GREGORY

Javascript problem! Form check isn’t skipping fields if they aren’t present?

muroff asked:


This is driving me nuts!!!
I have a shopping cart with lot’s of options.

Most are product dependent, so they show up for some and not others.
Some are dependent on others; for example, if you want a second name, then you need to check a “Add $2″ box.

I do some checking via JavaScript, and this script works fine for the top 3 checks.
No problem with the illegal character/space checks, and it WILL check the prod1_name textbox vs it’s checkbox being ‘checked’ no problem.

BUT, I can’t get the script to get past that to check another products options!?!?
I always get an “undefined error” on document.pform.prod1_name.value.length — if it isn’t in the form, it should skip it!

For structural reasons I have to use 1 JScript for all the product displays, so, if a field isn’t there, it should just skip it.

Can anyone help? This problem is vexing to say the least.

(PLEASE NOTE: I had to dome some extra breaking here just so the script showed up complete)

This is the top of my form — like I said, it DOES work for the top 3 checks.

Thanks so much
Thanks for getting back to me so quick.

I tried your suggestion and I get the exact same error — it isn’t getting past the first prodname check — finds it undefined.
Error: ‘document.pform.prod1_name.value’ is null or not an object
In IE 6

Thanx again scorpio4
Thanks Jeff E
The pform.pform was just a typo here — it isn’t like that on the original. (I was trying to shorten/simplifythe script so it would show up basically complete.)

I tried getting rid of the extra brackets and I get a syntax error — so I guess those are needed.
Jeff E — I should have been more careful!
That’s a typo too.
I was really trying to squeeze the script into the allotted space and I missed a few things.
Assume the
is:

I found the answer on my own.

For anyone curious, here is the working code:

function validate(prod_form) {
var illegalspace=/\s/;
if (document.prod_form.child_first_name.value.match(illegalspace)) {
alert ( “Spaces are not allowed in the ‘Childs First Name’ box. \n If there are 2 names, please use the ‘Child’s Second Name’ box for the second part of the name.” );
return false;
}

if (document.prod_form.optional_last_name.value.match(illegalspace)) {
alert ( “Spaces are not allowed in the ‘Childs Second Name’ box.” );
return false;
}

if (document.prod_form.optional_last_name) {
if ((document.prod_form.optional_last_name.value.length >0) && (!document.prod_form.last_name.checked)) {
alert(”Please check \’YES\’ on the optional name box\” “);
return false;
}
}

if (document.prod_form.special_name) {
if ((document.prod_form.special_name.value.length >0) && (!document.prod_form.afikomen_name_choice.checke

GEORGIE

Where can I find a wiring diagram for my security system?

C S asked:


I have a python 450 security system for my car, and I am trying to install it into a new vehicle. I can not find the wiring diagram online anywhere. I looked at the python website, but the only have the owners manuals. I got rid of the box after they installed it into my old vehicle when I bought it. Any suggestions would be great!

ZONA

Videotutorial osCommerce #1

guardamidireccion asked:


Primera parte de la serie de videotutoriales de oscommerce. Foros de soporte oscommerce en español: oscommerce.qadram.com Todos los creditos van para illasaron y www.videotutoriales.com

DARBY

Sports Goods osCommerce template

AlgoZoneCom asked:


www.algozone.com – Javascript and ajax enabled template for osComemrce shopping cart. Ajax product information module and product image quick preview with easy product select and add to shopping cart. Template www.algozone.com

MARCELINE

HI SMART people*****What is a SEARCH Box called for a php site, a php form?

Thalassaki asked:


hi, I need someone to please explain to me EXACTLY what a search box for a PHP site is called: I don’t think its called search box.

Example: If the user types the letter A in the box, all the images that begin with the letter A will appear , and they can click and put in shopping cart.

I want to sell my images but i really STUCK on this part. WHAT is the box called, is it called a script, a form, what?

HOW can I make this? If Im under a Ecommerce shopping cart software, what buttons do I go to to CREATE this box??

Thanks so much, I appreciate all your help :)

BOB

What does it mean when your internet security neutralizes a Trojan?

MsAnonymous asked:


I have Defender Pro and my mother tried going online to do some online banking on my computer but she wasnt paying close enough attention and clicked on a page that wasnt the exact website she wanted to go on. It was missing some letters and when she clicked my Security said TROJAN. It neutralized it but its still detected whenever I scan my computer. How do I make it disappear all together??? Help.
The quarantine area is empty.

DARON

PHP session problems on shared servers?

dynodins asked:


Hello,

I have built a few websites now with PHP sessions. They always work fine on my computer when I test them, but I always have many problems with users. Most of the solutions that I find online all recommend that I modify the php.ini file which I can’t do because these sites are on shared hosting accounts. Here are the main problems…

Proxy Servers – When people are in a corporate environment and have their security cranked up or are behind proxy servers none of the session variables work. This ruins everything from the shopping cart even to the login. I have looked at my script over and over and it seems basic and works on all the computers I test so I don’t think that’s the issue.

Cookies – The only time I have problems are if I disable cookies. I that cookies aren’t even used on the users computer, only the server? That confuses me even more. I tried a script that saves session data to a SQL database?

How do sites like Amazon deal with sessions?
Even people with cookies enabled still have problems. What about passing the session ID through a URL? I hear that its not a good idea for security reasons, and don’t you have to pass it every page?

ART

how to change the chmod in 777 for a.php file?

olegb asked:


i want to install an oscommerce ecart and i need to touch configure.php and to chmod 777 configure.php. please help. i use a free hosting plan.

LORETTE

Does anybody know how this website is made? Can’t find the PHP script anywhere?

yeah asked:


Hey everyone, does anyone know how the script on this website is made? You click on [Add to Quote] and it automatically adds it to your form to be sent to them. There are about a couple hundred items on that site, all can be added. It’s not a shopping cart system because customers arent’ buying anything – they’re just adding items to be sent to the company for pricing.

http://www.p3systemsinc.com/cisco/cisco-cerent-optical/15454e-series

Anyone know any good software to make that? Any ideas? I’m trying to do the same thing for my business. Thanks!

HOYT