Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

General Modification question?


djhspawn

Recommended Posts

Posted

I was curios on how the basic modification of the store is done. My understanding that that you would edit

 

/store/includes/languages/english/index.php

 

But all I get is

 

<?php

/*

$Id: index.php,v 1.1 2003/06/11 17:38:00 hpdl Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright ? 2003 osCommerce

 

Released under the GNU General Public License

*/

 

define('TEXT_MAIN', 'Welcome to Poopsiecat.coms Online Store');

define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s');

define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products');

define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected');

 

if ( ($category_depth == 'products') || (isset($HTTP_GET_VARS['manufacturers_id'])) ) {

define('HEADING_TITLE', 'Let\'s See What We Have Here');

define('TABLE_HEADING_IMAGE', '');

define('TABLE_HEADING_MODEL', 'Model');

define('TABLE_HEADING_PRODUCTS', 'Product Name');

define('TABLE_HEADING_MANUFACTURER', 'Manufacturer');

define('TABLE_HEADING_QUANTITY', 'Quantity');

define('TABLE_HEADING_PRICE', 'Price');

define('TABLE_HEADING_WEIGHT', 'Weight');

define('TABLE_HEADING_BUY_NOW', 'Buy Now');

define('TEXT_NO_PRODUCTS', 'There are no products to list in this category.');

define('TEXT_NO_PRODUCTS2', 'There is no product available from this manufacturer.');

define('TEXT_NUMBER_OF_PRODUCTS', 'Number of Products: ');

define('TEXT_SHOW', '<b>Show:</b>');

define('TEXT_BUY', 'Buy 1 \'');

define('TEXT_NOW', '\' now');

define('TEXT_ALL_CATEGORIES', 'All Categories');

define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers');

} elseif ($category_depth == 'top') {

define('HEADING_TITLE', 'Poopsiecat\'s Products Online Store');

} elseif ($category_depth == 'nested') {

define('HEADING_TITLE', 'Categories');

}

?>

 

 

 

Now, I see nothing in there to modify table colors or even the banner at the top. Any information on this would be much appreciated. I just printed out the manual and do plan to read it, but since I am at work and on a PC already I figured I would go straight to the pros and leave all the other questions to the manual.

 

Thank You,

 

Darrell Howarth

 

 

"Quotes are lame!?" -Darrell Howarth 2/3/03

Posted
I was curios on how the basic modification of the store is done. My understanding that that you would edit

 

/store/includes/languages/english/index.php

 

But all I get is

 

<?php

/*

$Id: index.php,v 1.1 2003/06/11 17:38:00 hpdl Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright ? 2003 osCommerce

 

Released under the GNU General Public License

*/

 

define('TEXT_MAIN', 'Welcome to Poopsiecat.coms Online Store');

define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s');

define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products');

define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected');

 

if ( ($category_depth == 'products') || (isset($HTTP_GET_VARS['manufacturers_id'])) ) {

define('HEADING_TITLE', 'Let\'s See What We Have Here');

define('TABLE_HEADING_IMAGE', '');

define('TABLE_HEADING_MODEL', 'Model');

define('TABLE_HEADING_PRODUCTS', 'Product Name');

define('TABLE_HEADING_MANUFACTURER', 'Manufacturer');

define('TABLE_HEADING_QUANTITY', 'Quantity');

define('TABLE_HEADING_PRICE', 'Price');

define('TABLE_HEADING_WEIGHT', 'Weight');

define('TABLE_HEADING_BUY_NOW', 'Buy Now');

define('TEXT_NO_PRODUCTS', 'There are no products to list in this category.');

define('TEXT_NO_PRODUCTS2', 'There is no product available from this manufacturer.');

define('TEXT_NUMBER_OF_PRODUCTS', 'Number of Products: ');

define('TEXT_SHOW', '<b>Show:</b>');

define('TEXT_BUY', 'Buy 1 \'');

define('TEXT_NOW', '\' now');

define('TEXT_ALL_CATEGORIES', 'All Categories');

define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers');

} elseif ($category_depth == 'top') {

define('HEADING_TITLE', 'Poopsiecat\'s Products Online Store');

} elseif ($category_depth == 'nested') {

define('HEADING_TITLE', 'Categories');

}

?>

Now, I see nothing in there to modify table colors or even the banner at the top. Any information on this would be much appreciated. I just printed out the manual and do plan to read it, but since I am at work and on a PC already I figured I would go straight to the pros and leave all the other questions to the manual.

 

Thank You,

 

Darrell Howarth

Lead Assist

858-715-4500

ext.3881

LA: 3777

Monday- Friday

3:30P-12:00A

Seat: BB11

TM: Gabriela Fuentes-Stewart

 

"Quotes are lame!?" -Darrell Howarth 2/3/03

 

Do it in stylesheet.css

Posted
Do it in stylesheet.css

 

Thank you so much, that worked perfectly. Now onto my next question. I auto installed OS into folder /os rather then cgi-bin/os. For whatever reason the auto install would not allow me to install into the cgi-bin. Now I just assume that I am suppose to install into the CGI-BIN, but would that be the reason why when I try to check out it says it cant find the file, and then gives a HTTPS: URL?

 

2nd question is that there is the product review on the right side of the store. How in the heck do I get rid of that? Your help is much apreciated.

Posted
bump.

 

Dude no bumping. Read the forum rules accessable at the top of the page. IF you don't get an answer post more details about the problem don't just bump.

 

To get rid of the reviews info box edit the catalog/includes/column_right.php file

 

Look for instances of:

require(DIR_WS_BOXES . 'reviews.php');

Backup before making changes. Backup before making changes! Backup before making changes!!

 

You did do a backup? eh?

Posted
Dude no bumping. Read the forum rules accessable at the top of the page. IF you don't get an answer post more details about the problem don't just bump.

 

To get rid of the reviews info box edit the catalog/includes/column_right.php file

 

Look for instances of:

require(DIR_WS_BOXES . 'reviews.php');

 

my bad, it wont happen again. Thanks for the info on the Reviews. Worked perfectly! Now if I can just figure out the secure stuff I will be set.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...