thebeautyqueens Posted November 16, 2006 Posted November 16, 2006 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 katie
spax Posted November 17, 2006 Posted November 17, 2006 If you don't want the store displaying yet, you could create an index.htm page and upload it to the root directory. If you want the store to show, you would be better to install something like "Down For Maintenance".
moboman Posted November 17, 2006 Posted November 17, 2006 Katie, go to caltalog/includes/languages/english and replace your index.php with <?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 (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.
moboman Posted November 17, 2006 Posted November 17, 2006 It will leave about everything on the homepage alone except displaying the down sentence. Dont forget to backup first. I hope this helps, David
spax Posted November 17, 2006 Posted November 17, 2006 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.
moboman Posted November 17, 2006 Posted November 17, 2006 your absolutely correct. but if you put an index.html in the root instead of in the english folder, then the side wont appear. Like this? <html> <body> <h1>Temporarily Down</h1> </body> </html>
spax Posted November 17, 2006 Posted November 17, 2006 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.
moboman Posted November 17, 2006 Posted November 17, 2006 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.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.