Author |
Topic |
|
neil-taylor
Starting Member
United Kingdom
12 Posts |
Posted - December 07 2004 : 10:36:21
|
Hi folks,
This is my first post and I've searched but can't find the answer to this one so am really hoping someone can help.
I have sucessfully changed the overall width of the checkout table but need to change the widths of some of the columns e.g. description. And I can't find out how! I would prefer to be able to state the widths in %'s
Also, it'd be good if I could switch off the currency in the checkout but not in the rest of the site.
I'm more familiar with html and css than asp!
Many thanks in advance.
Neil
|
|
devshb
Senior Member
United Kingdom
1904 Posts |
Posted - December 07 2004 : 11:20:02
|
Almost all the cart-formatting logic is in the file: shopcartformat.asp
You can change your config options to say which values you want to show in the description column, but to set the width of it to a different %, you'd need to change the code in shopcartformat.asp
Watch out though; this is used in places other than the cart; it'll also show up in the review-order page that the customer gets after they've placed the order to display what they've bought.
Simon Barnaby Developer [email protected] www.BigYellowZone.com Web Design, Online Marketing and VPASP addons |
|
|
neil-taylor
Starting Member
United Kingdom
12 Posts |
Posted - December 07 2004 : 11:39:18
|
Many thanks Simon for the mega-quick response!
I'm using v5.5 and looking in shopcartformat.asp can see a number of % values from around line 124 e.g.
124. AddField "50%","left", CartFontDesc & CartFields & CartFontEnd
or
139. AddField "10%","right", DisplayPrice
are these the lines? any further pointers to the right lines to edit would be a huge help to me. and greatly appreciated.
Many thanks
Neil
|
|
|
devshb
Senior Member
United Kingdom
1904 Posts |
Posted - December 07 2004 : 16:57:58
|
yep; those are the lines; just do a text search for 50% and you'll find them all; there's only 3 of them; just change all of those to your chosen pcts and that should catch them all.
All the 50's (apart from the "50" in "Version 5.50"!) relate to the cart's description+image-field column (which ends up working out to the same physical column once all the html gets worked out)
If you do a search for:
%"
then you'll catch all the column-widths (and not anything else accidentally)
(all of those notes above apply to the shopcartformat.asp file)
Simon Barnaby Developer [email protected] www.BigYellowZone.com Web Design, Online Marketing and VPASP addons
Edited by - devshb on December 07 2004 16:59:14 |
|
|
neil-taylor
Starting Member
United Kingdom
12 Posts |
Posted - December 08 2004 : 10:47:05
|
Hello again Simon. Many thanks for this info.
Am getting there with it now!
Best wishes
Neil
|
|
|
|
Topic |
|