SilviaTech Posted January 1, 2009 Share Posted January 1, 2009 Hi, first post here. My name is John, I'm the admin for the site www.silviatech.com and all parts of the site including the oscommerce. the OCS part is located here...http://www.silviatech.com/partsales/ I'm having a little problem figuring out one part in oscommerce... I need the site to be basic, really nothing to the site, just a point and click on the products, the site is just for reference, I'm not going to be shipping or letting people order from the site. anyways, what I need to do is get rid of the "Welcome Guest! Would you like to log yourself in? Or would you prefer to create an account?" text. I have already read through the post... "How do I...?" and tried to follow that guide, but I can't seem to find it in my file. I also searched for "remove welcome guest" and a few other key strings. Just to make sure, is this the file that I should be making the changes to... [my site]/includes/languages/english/index.php... if so here is the file... <?php /* $Id: index.php 1739 2007-12-20 00:52:16Z hpdl $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2007 osCommerce Released under the GNU General Public License */ define('TEXT_MAIN', 'Welcome to the Silvia Tech For Sale Page! <br><br> We will be adding products every now and then, so just keep checking back!'); 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', ''); 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', ''); } elseif ($category_depth == 'nested') { define('HEADING_TITLE', 'Categories'); } ?> if this is not the correct file, please point me in the correct direction. Thank you in advanced. John SilviaTech Thank you John SilviaTech Link to comment Share on other sites More sharing options...
Guest Posted January 1, 2009 Share Posted January 1, 2009 \includes\languages\english.php define('TEXT_GREETING_PERSONAL', 'Welcome back <span class="greetUser">%s!</span> Would you like to see which <a href="%s"><u>new products</u></a> are available to purchase?'); define('TEXT_GREETING_PERSONAL_RELOGON', '<small>If you are not %s, please <a href="%s"><u>log yourself in</u></a> with your account information.</small>'); define('TEXT_GREETING_GUEST', 'Welcome <span class="greetUser">Guest!</span> Would you like to <a href="%s"><u>log yourself in</u></a>? Or would you prefer to <a href="%s"><u>create an account</u></a>?'); Link to comment Share on other sites More sharing options...
SilviaTech Posted January 1, 2009 Author Share Posted January 1, 2009 \includes\languages\english.php define('TEXT_GREETING_PERSONAL', 'Welcome back <span class="greetUser">%s!</span> Would you like to see which <a href="%s"><u>new products</u></a> are available to purchase?'); define('TEXT_GREETING_PERSONAL_RELOGON', '<small>If you are not %s, please <a href="%s"><u>log yourself in</u></a> with your account information.</small>'); define('TEXT_GREETING_GUEST', 'Welcome <span class="greetUser">Guest!</span> Would you like to <a href="%s"><u>log yourself in</u></a>? Or would you prefer to <a href="%s"><u>create an account</u></a>?'); Thank you, that worked perfectly. I might have a few questions later about adding products, but that seems to be straight forward. Thank you for the quick reply Happy New Year. Thank You John SilviaTech Thank you John SilviaTech Link to comment Share on other sites More sharing options...
Guest Posted January 1, 2009 Share Posted January 1, 2009 Thank you, that worked perfectly. I might have a few questions later about adding products, but that seems to be straight forward. Thank you for the quick reply Happy New Year. Thank You John SilviaTech No worries John, have a Happy New Year. Link to comment Share on other sites More sharing options...
cassiel Posted July 14, 2011 Share Posted July 14, 2011 Hi! new user with apparently old question.... just wanting to clarify...to get rid of the 'welcome', do i simply delete that entire portion of text that you have shown above? will this effect anything later in the checkout? i would like to remove the entire aspect of the site that has to do with visitors needing an account to place an order.. Thank you in advance! I'm zeroing in on the 'problem'! Cass Link to comment Share on other sites More sharing options...
Nic du Toit Posted July 14, 2011 Share Posted July 14, 2011 Hi! new user with apparently old question.... just wanting to clarify...to get rid of the 'welcome', do i simply delete that entire portion of text that you have shown above? will this effect anything later in the checkout? i would like to remove the entire aspect of the site that has to do with visitors needing an account to place an order.. Thank you in advance! I'm zeroing in on the 'problem'! Cass Don't delete anything. From what I remember you only need to add // immediately in front of every 'define'. It normally prevents the line from being executed. If it doesn't work, just take it out again. (Use a proper editor.....something like 'Ultra Edit32'). Nic I used to be indecisive....but, now I just don't know anymore. Link to comment Share on other sites More sharing options...
Totally-Bridal Posted July 15, 2011 Share Posted July 15, 2011 Hi, I too was trying to remove it and have followed everything i can find on the forum, this wqs the closest but when i changed it too: // define('TEXT_GREETING_PERSONAL', 'Welcome back <span class="greetUser">%s!</span> Would you like to see which <a href="%s"><u>new products</u></a> are available to purchase?'); // define('TEXT_GREETING_PERSONAL_RELOGON', '<small>If you are not %s, please <a href="%s"><u>log yourself in</u></a> with your account information.</small>'); // define('TEXT_GREETING_GUEST', 'Welcome <span class="greetUser">Guest!</span> Would you like to <a href="%s"><u>log yourself in</u></a>? Or would you prefer to <a href="%s"><u>create an account</u></a>?'); It then displayed TEXT_GREETING_GUEST in its place any ideas? Fiona x Link to comment Share on other sites More sharing options...
cassiel Posted July 15, 2011 Share Posted July 15, 2011 i saw that question on another forum fiona...i am going to sort this out today...when i come across it again i will link you here... i've decided not to remove the account portion alltogether, but instead to add a mod that gives the third option of 'purchase without account'....setting that up today (fingers crossed , lol) Link to comment Share on other sites More sharing options...
♥14steve14 Posted July 19, 2011 Share Posted July 19, 2011 Try deleting the text between (' and '), and leave the define bit. You should end up with something like define('TEXT_GREETING_GUEST', ''); If you comment out the code as shown above the define will show on your page as the index file is trying to find something which it cant. if you totally want to get rid of the code you will find it in your catalog/index.php file. Comment it out there. REMEMBER BACKUP, BACKUP AND BACKUP Link to comment Share on other sites More sharing options...
Totally-Bridal Posted July 23, 2011 Share Posted July 23, 2011 I looked in catalog > index.php but i couldn't find any sign of the part that needs commenting out i am trying to get rid completely. Link to comment Share on other sites More sharing options...
♥14steve14 Posted July 23, 2011 Share Posted July 23, 2011 Look in your includes/language/english/index/php file. REMEMBER BACKUP, BACKUP AND BACKUP Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.