Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

hi there im a newbie needing help please


Recommended Posts

Hello everyone



ive just currently bought a store off a webdesigner (an oscommerce store)


and i am totally lost, how do i edit my store please


i want to add a small text box to my front page saying the store is currently closed opening soon etc


its www.thebeautyqueens.co.uk


many thanks in advance




Link to comment
Share on other sites



go to



and replace your index.php with


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

 osCommerce, Open Source E-Commerce Solutions

 Copyright (c) 2003 osCommerce

 Released under the GNU General Public License

define('TEXT_MAIN', 'Sorry store is temporarily closed!');

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', 'What\'s New Here?');
} elseif ($category_depth == 'nested') {
 define('HEADING_TITLE', 'Categories');



This will put a text on your webstore's page saying the site is temporarily down.

Link to comment
Share on other sites

Her site isn't using TEXT_MAIN. Which means either the constant isn't defined, it is commented out in index.php or removed completely.

Even if Katie uses that method, she will still have a functioning cart, that anyone can load up.

Link to comment
Share on other sites

Well, as I said in my original answer, if she doesn't want the store to display at all, then I would go with index.htm in the root. Although I would make it a lot more informative than your example.

If she does want the store available to view, I did say install a Down For Maintenance mod. Thinking about it though, I can't remember if the store does still show or another page replaces it. I would have to check on that, unless someone here can set us straight.

Link to comment
Share on other sites

Yes, I would make it more informative too, but I did that this morning before I left. I only had a few minutes.


You could always leave the store completly functional, but uninstall the payment modules or delete the information in them. This will make it so the customer cannot pay.

Link to comment
Share on other sites


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

  • Create New...