Click to See Complete Forum and Search --> : Shopping Cart help Plleeeeease!
southernxtremes
10-27-2004, 04:31 AM
I could really use some help. I'm stumped. I'm just learning this whole shopping cart coding and I need some help making this work. Can someone look at www.southernxtremesauto.com/packages.html and view the source and let me know what i need to do to make it work. It would be very much appreciated
Brian
davidbrent
10-27-2004, 06:52 AM
what is the point of this code?
<center><SPAN style="font-family:Helvetica; color:#FFFFFF; font-size:20; filter:Glow(color=#FFFF33,strength=2); height:22px;">
Also, your scrollbar colouring will only work within Internet Explorer.
southernxtremes
10-27-2004, 01:21 PM
that's my font code.
as already mentioned, the scrollbar code is proprietary and not standard accepted CSS.
You can combine the two CSS <style>'s into one.
It goes in the <head> section (before the </head> tag)
<center> and <span> tags belong in the body section (after the <body> tag)
they also should have ending tags
span is also an inline element, not a block element
Other than these design flaws, what problem are you having with your shopping cart forms?
southernxtremes
10-27-2004, 03:33 PM
I can't get the changed values of the drop down menu to communicate with paypal when added to the cart. I have different amounts listed for each option item but it's only defaulting to the bottom amount.
Oh, I see what you're talking about.
It's not really defaulting to the bottom amount.
You have a set amount that you're passing to paypal with this line:
<input type="hidden" name="amount" value="250.00">
You could remove this line and change the name of your select to 'amount'.
southernxtremes
10-27-2004, 03:46 PM
It's not defualting the $250 though it's defaulting the bottom one which is platinum $800 no matter which option is chosen.
It's because you have multiple 'amount' fields.
Whatever you have in the 'amount' field is what PayPal is going to see as the amount.
Go back to PayPal and use the merchants tools to create a new button.
davidbrent
10-27-2004, 05:38 PM
Originally posted by southernxtremes
that's my font code.
Is it? Well what's it doing up there then? Not only do you not close the center or span tag, you have it in the completely wrong place.
It should be
<span style="font-family:Helvetica, sans-serif; color:#fff; font-size:20px; filter:Glow(color=#ff3,strength=2);"> TEXT </span>
The height will not work when using a span tag. Ideally you should use a tag that has some sense. scrap the span and use
<h1 style="margin:0; font-family:Helvetica, sans-serif; color:#fff; font-size:20px; filter:Glow(color=#ff3,strength=2);"> TEXT </h1>
Got my drift?
southernxtremes
10-28-2004, 12:42 PM
thanks for you help with the font tag. My main problem is still the drop down menu though. What do i need to do to make it change amounts?
Originally posted by rsd
It's because you have multiple 'amount' fields.
Whatever you have in the 'amount' field is what PayPal is going to see as the amount.
Go back to PayPal and use the merchants tools to create a new button.
Change the name of your drop down to 'amount' and remove all other fields with that name