View Full Version : Am I able to do this on the Checkout Pages ??
GAViN™©
06-Nov-2007, 02:08 PM
Can someone please tell me, on the checkout pages how can i change the code/look of the "validation messages", that appear for example if you do not enter the post code, etc.
Attached a screenshot to show you what I mean.
Am i able to modify the look of these messages using CSS ?
And what about actually moving the location of where these messages show on screen, at the moment they show at the top, but ideally I would like to show the
Sorry, but we are unable to accept your order if you do not accept our terms and conditions.
In a different location on the page if possible.
Cheers.
peblaco
06-Nov-2007, 03:16 PM
Can someone please tell me, on the checkout pages how can i change the code/look of the "validation messages", that appear for example if you do not enter the post code, etc.
Several different areas here:
If you look in Design > Text for the text for the error messages themselves, also search in Design > Text for "table" will bring up the error message table - I believe ID 2178 is the main error table in V7 but there may be a couple.
To move it on the page - well it appears above the cart because it's part of the cart template, open Act_ShoppingCart/XML templates and look for the "Error message" variable at the top which brings this in - I haven't tried moving it so I don't know if it works outside the normal positioning.
GAViN™©
08-Nov-2007, 09:43 AM
Hi,
Thanks for the post.
In the ID2178 you reffered to the code:
<TABLE CELLPADDING="10" WIDTH="550" BORDER="1" BGCOLOR="%s"><tr><td>%s
If i make any changes to any of these values i.e. changed border from 1 to 0, and upload the size it just screws up.
I originally wanted to add to this piece of code a CLASS="NAVBORDER" from my CSS file, but again it screwed up.
Any ideas? :confused:
RuralWeb
08-Nov-2007, 09:56 AM
I would be VERY careful in checkout as its VERY easy as you are finding out to screw it up. Unless its vital I would leave it alone.
peblaco
08-Nov-2007, 09:57 AM
Can you show the code you are trying to upload?. Remember you can't replace the %s variables there, the first one outputs a background colour, the second one the content.
Edit: If you don't want the background colour you can use a tag like id="%s" instead of bgcolor and then use bgcolor as needed.
GAViN™©
13-Nov-2007, 09:05 AM
Got this sorted thx.
A rebuild of the website sorted it out, as the code was correct.
Cheers.
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.