Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Where to edit shopping_cart.php tables?


Recommended Posts

Posted

Hi i'm new here and totaly new to oscommerce. My name is Chris and I'm from Holland.

 

I wonder where and what I have to edit to make the first column in my oscommerce template (the one with the delete checkbox) smaller.

I have spend 2 evenings try finding the data which van alter this column, at this point, everything failed.

 

This is a link to the template I have, any help would be great.

 

Template link

Posted

An extract from the documentation

 

Change Box Column Widths
/includes/application_top.php about line 58
// customization for the design layout
define('BOX_WIDTH', 125); // how wide the boxes should be in pixels (default: 125)
This changes both the right and left columns.
To keep the left column boxes 125 wide as above or whatever setting you want and
change the right column boxes or graphic or whatever you have in the right column do
this.
Make a new define in includes/application_top.php about line 58 called under the
BOX_WIDTH setting called BOX_WIDTH_RIGHT:
// customization for the design layout
define('BOX_WIDTH', 160); // how wide the boxes should be in pixels (default: 125)
define('BOX_WIDTH_RIGHT', 120); // how wide the right column should be in pixels
Change this code in each page in the catalog folder about line 334 for the right column
only.
From:
Page 36 of 114
Copyright © 2005 osCommerce. All rights reserved.
http://www.oscommerce.com
<!-- body_text_eof //-->
<td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0"
width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="0">
< !-- right_navigation //-->
To:
<!-- body_text_eof //-->
<td width="<?php echo BOX_WIDTH_RIGHT; ?>" valign="top"><table border="0"
width="<?php echo BOX_WIDTH_RIGHT; ?>" cellspacing="0" cellpadding="0">
< !-- right_navigation //-->
You can name the new define what you want and set a different width.

 

HTH

 

G

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...