Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 Customization
 how to edit width of checkout columns
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

neil-taylor
Starting Member

United Kingdom
12 Posts

Posted - December 07 2004 :  10:36:21  Show Profile  Reply with Quote
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  Show Profile  Visit devshb's Homepage  Reply with Quote
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
Go to Top of Page

neil-taylor
Starting Member

United Kingdom
12 Posts

Posted - December 07 2004 :  11:39:18  Show Profile  Reply with Quote
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

Go to Top of Page

devshb
Senior Member

United Kingdom
1904 Posts

Posted - December 07 2004 :  16:57:58  Show Profile  Visit devshb's Homepage  Reply with Quote
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
Go to Top of Page

neil-taylor
Starting Member

United Kingdom
12 Posts

Posted - December 08 2004 :  10:47:05  Show Profile  Reply with Quote
Hello again Simon. Many thanks for this info.

Am getting there with it now!

Best wishes

Neil

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000
0 Item(s)
$0.00