You betcha! although you might wanna make sure and wait for another member to confirm my answer as I am not sure. Better yet, why don't you call the iContact guys because they can answer your iContact question better...
Are you going to use tell a friend and reviews?..
Hello, sorry..
My Product_info.php shows:.
<?php.
/*.
$Id: product_info.php 1739 2007-12-20 00:52:16Z hpdl $.
OsCommerce, Open Source E-Commerce Solutions.
Http://www.oscommerce.com.
Copyright © 2002 osCommerce.
Released under the GNU General Public License.
*/.
Define('TEXT_PRODUCT_NOT_FOUND', 'Product not found!');.
Define('TEXT_CURRENT_REVIEWS', 'Current Reviews:');.
Define('TEXT_MORE_INFORMATION', 'For more information, please visit this products <a href="%s" target="_blank"><u>webpage</u></a>.');.
Define('TEXT_DATE_ADDED', 'This product was added to our catalog on %s.');.
Define('TEXT_DATE_AVAILABLE', '<font color="#ff0000">This product will be in stock on %s.</font>');.
Define('TEXT_ALSO_PURCHASED_PRODUCTS', 'Customers who bought this product also purchased');.
Define('TEXT_PRODUCT_OPTIONS', 'Available Options:');.
Define('TEXT_CLICK_TO_ENLARGE', 'Click to enlarge');.
?>.
Doesn't seems to have add to cart link..
Sorry I am new in Oscomerce..
Besides, I found my main page showing this,.
If there are any error or warning messages shown above, please correct them first before proceeding..
Error messages are displayed at the very top of the page with a complete background color..
Several checks are performed to ensure a healthy setup of your online store - these checks can be disabled by editing the appropriate parameters at the bottom of the includes/application_top.php file..
Editing Page Texts.
The text shown here can be modified in the following file, on each language basis:.
[path to catalog]/includes/languages/english/index.php.
That file can be edited manually, or via the Administration Tool with the Languages->English->Define or Tools->File Manager modules..
The text is set in the following manner:.
Define('TEXT_MAIN', 'This is a default setup of the osCommerce project...');.
The text highlighted in green may be modified - it is important to keep the define() of the TEXT_MAIN keyword. To remove the text for TEXT_MAIN completely, the following example is used where only two single quote characters exist:.
Define('TEXT_MAIN', '');.
More information concerning the PHP define() function can be read here..
Online Documentation.
Online documentation can be read at the osCommerce Knowledge Base site..
Support is available at the osCommerce Support Site..
What should I do??? I am totally lost..
Please guide..
Thank you..
Samas Yeo..
Why do you post the text file of product_info.php? What has this to do with removing shopping cart and login? Do you read the answers you get? Could you solve the original issue? I just wonder because you don't say anything about..
As for the "home page" text, the text you pasted says exactly what it is and how to change it. Did you do the effort to read it before copy pasting? There are also many topics in the forum here related to this issue..
Since you are new to osCommerce, as you say, the fist thing I would do BEFORE doing any changes is to read and learn a little about..
I want to remove the shopping cart. Do you know???..
Yes I know. And you should know too, because you got already the answer.
Also.
If you are going to use this there are a couple more things to do..
But I can see "remove the add to cart link" in my product_info.php file..
Please help..
Thanks alot...
You are looking at the wrong file. The file you took is in catalog/includes/languages/english/product_info.php. In this file it's just the text defined that is getting used in the "regular" product_info.php.
The file you need to find, this "regular" one, is located in catalog/product_info.php.
You go on as follows.
1) Find the file and make a copy of it (backup).
2) Open the file and find following line.
<td class="main" align="right"><?php echo tep_draw_hidden_field('products_id', $product_info['products_id'])tep_image_submit('button_in_cart.gif', IMAGE_BUTTON_IN_CART); ?></td>.
3) Change this line to.
<td class="main" align="right"><?php //echo tep_draw_hidden_field('products_id', $product_info['products_id'])tep_image_submit('button_in_cart.gif', IMAGE_BUTTON_IN_CART); ?></td>.
4) Save and uload the file to your server.
For sure you use the "file manager" of the administration panel to edit the files. Thats not good. You need to have a local copy of all files on your computer, find a proper php editor (or even plain text editor) and a ftp program. You need to search the forum about recommendations in this. After you have this necessary tools by hand you can start editing files following the procedure as described above..
Thats the first thing you need to do. Next thing is to read (and do) the security topic in tips and tricks. Then you start doing whatever you want..
Hello, thank tou foor your help. The Product_infi.php works. Now I am facing the column right.php..
I try to remove 'shopping_cart.php' on require(DIR_WS_BOXES'shopping_cart.php');.
But it prompt me error on line 13..
Can I know what should I do???.
And the header, can you tell me which is the line to change?.
Thank you very much...
How do you try to remove it? Show me the lines of the file as it is now (please use the code tags ( look like this <> in the reply menu) to post the code.
In your header replace this.
<table border="0" width="100%" cellspacing="0" cellpadding="0">.
<tr class="header">.
<td valign="middle"><?php echo '<a href="'tep_href_link(FILENAME_DEFAULT)'">'tep_image(DIR_WS_IMAGES'store_logo.png', STORE_NAME)'</a>'; ?></td>.
<td align="right" valign="bottom"><?php echo '<a href="'tep_href_link(FILENAME_ACCOUNT, '', 'SSL')'">'tep_image(DIR_WS_IMAGES'header_account.gif', HEADER_TITLE_MY_ACCOUNT)'</a> <a href="'tep_href_link(FILENAME_SHOPPING_CART)'">'tep_image(DIR_WS_IMAGES'header_cart.gif', HEADER_TITLE_CART_CONTENTS)'</a> <a href="'tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL')'">'tep_image(DIR_WS_IMAGES'header_checkout.gif', HEADER_TITLE_CHECKOUT)'</a>'; ?> </td>.
</tr>.
</table>.
<table border="0" width="100%" cellspacing="0" cellpadding="1">.
<tr class="headerNavigation">.
<td class="headerNavigation"> <?php echo $breadcrumb->trail(' » '); ?></td>.
<td align="right" class="headerNavigation"><?php if (tep_session_is_registered('customer_id')) { ?><a href="<?php echo tep_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_LOGOFF; ?></a> | <?php } ?><a href="<?php echo tep_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a> | <a href="<?php echo tep_href_link(FILENAME_SHOPPING_CART); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a> | <a href="<?php echo tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CHECKOUT; ?></a> </td>.
</tr>.
</table>.
By this.
<table border="0" width="100%" cellspacing="0" cellpadding="0">.
<tr class="header">.
<td valign="middle"><?php echo '<a href="'tep_href_link(FILENAME_DEFAULT)'">'tep_image(DIR_WS_IMAGES'store_logo.png', STORE_NAME)'</a>'; ?></td>.
<td align="right" valign="bottom"><?php //echo '<a href="'tep_href_link(FILENAME_ACCOUNT, '', 'SSL')'">'tep_image(DIR_WS_IMAGES'header_account.gif', HEADER_TITLE_MY_ACCOUNT)'</a> <a href="'tep_href_link(FILENAME_SHOPPING_CART)'">'tep_image(DIR_WS_IMAGES'header_cart.gif', HEADER_TITLE_CART_CONTENTS)'</a> <a href="'tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL')'">'tep_image(DIR_WS_IMAGES'header_checkout.gif', HEADER_TITLE_CHECKOUT)'</a>'; ?> </td>.
</tr>.
</table>.
<table border="0" width="100%" cellspacing="0" cellpadding="1">.
<tr class="headerNavigation">.
<td class="headerNavigation"> <?php echo $breadcrumb->trail(' » '); ?></td>.
<td align="right" class="headerNavigation"><?php //if (tep_session_is_registered('customer_id')) { ?><a href="<?php //echo tep_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>" class="headerNavigation"><?php //echo HEADER_TITLE_LOGOFF; ?></a> | <?php } ?><a href="<?php //echo tep_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>" class="headerNavigation"><?php //echo HEADER_TITLE_MY_ACCOUNT; ?></a> | <a href="<?php //echo tep_href_link(FILENAME_SHOPPING_CART); ?>" class="headerNavigation"><?php //echo HEADER_TITLE_CART_CONTENTS; ?></a> | <a href="<?php //echo tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>" class="headerNavigation"><?php //echo HEADER_TITLE_CHECKOUT; ?></a> </td>.
</tr>.
</table>.
You will want now to redesign the header........ I know what the next question will be..
Ok, this is my column right code..
<?php.
/*.
$Id: column_right.php 1739 2007-12-20 00:52:16Z hpdl $.
OsCommerce, Open Source E-Commerce Solutions.
Http://www.oscommerce.com.
Copyright (c) 2003 osCommerce.
Released under the GNU General Public License.
*/.
Require(DIR_WS_BOXES .;.
If (isset($HTTP_GET_VARS['products_id'])) include(DIR_WS_BOXES'manufacturer_info.php');.
If (tep_session_is_registered('customer_id')) include(DIR_WS_BOXES'order_history.php');.
If (isset($HTTP_GET_VARS['products_id'])) {.
If (tep_session_is_registered('customer_id')) {.
$check_query = tep_db_query("select count(*) as count from "TABLE_CUSTOMERS_INFO" where customers_info_id = '"(int)$customer_id"' and global_product_notifications = '1'");.
$check = tep_db_fetch_array($check_query);.
If ($check['count'] > 0) {.
Include(DIR_WS_BOXES'best_sellers.php');.
} else {.
Include(DIR_WS_BOXES'product_notifications.php');.
}.
} else {.
Include(DIR_WS_BOXES'product_notifications.php');.
}.
} else {.
Include(DIR_WS_BOXES'best_sellers.php');.
}.
If (isset($HTTP_GET_VARS['products_id'])) {.
If (basename($PHP_SELF) != FILENAME_TELL_A_FRIEND) include(DIR_WS_BOXES'tell_a_friend.php');.
} else {.
Include(DIR_WS_BOXES'specials.php');.
}.
Require(DIR_WS_BOXES'reviews.php');.
If (substr(basename($PHP_SELF), 0, 8) != 'checkout') {.
Include(DIR_WS_BOXES'languages.php');.
Include(DIR_WS_BOXES'currencies.php');.
}.
?>.
I have an error on line 13..
Sorry to trouble you..
)..
You can not just delete whatever you want..
In your column_right.php replace this.
Require(DIR_WS_BOXES .;.
By this.
//require(DIR_WS_BOXES'shopping_cart.php');..
Hello,.
My header seems to be different. While I replace the code you give me, it shows error on line 56..
My header is:.
<table border="0" width="100%" cellspacing="0" cellpadding="1">.
<tr class="headerNavigation">.
<td class="headerNavigation"> <?php echo $breadcrumb->trail(' » '); ?></td>.
<td align="right" class="headerNavigation"><?php if (tep_session_is_registered('customer_id')) { ?><a href="<?php echo tep_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_LOGOFF; ?></a> | <?php } ?><a href="<?php echo tep_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a> | <a href="<?php echo tep_href_link(FILENAME_SHOPPING_CART); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a> | <a href="<?php echo tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CHECKOUT; ?></a> </td>.
</tr>.
</table>.
Is it the same header as you said. But I only see 1 header..
Please help..
Thank you...
I can give you my admin username & pw if you need..
Just let me know...
Replace the file you have with this one here (all the code of the file).
<?php.
/*.
$Id: header.php 1739 2007-12-20 00:52:16Z hpdl $.
OsCommerce, Open Source E-Commerce Solutions.
Http://www.oscommerce.com.
Copyright (c) 2003 osCommerce.
Released under the GNU General Public License.
*/.
// check if the 'install' directory exists, and warn of it's existence.
If (WARN_INSTALL_EXISTENCE == 'true') {.
If (file_exists(dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME'])'/install')) {.
$messageStack->add('header', WARNING_INSTALL_DIRECTORY_EXISTS, 'warning');.
}.
}.
// check if the configure.php file is writeable.
If (WARN_CONFIG_WRITEABLE == 'true') {.
If ( (file_exists(dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME'])'/includes/configure.php')) && (is_writeable(dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME'])'/includes/configure.php')) ) {.
$messageStack->add('header', WARNING_CONFIG_FILE_WRITEABLE, 'warning');.
}.
}.
// check if the session folder is writeable.
If (WARN_SESSION_DIRECTORY_NOT_WRITEABLE == 'true') {.
If (STORE_SESSIONS == '') {.
If (!is_dir(tep_session_save_path())) {.
$messageStack->add('header', WARNING_SESSION_DIRECTORY_NON_EXISTENT, 'warning');.
} elseif (!is_writeable(tep_session_save_path())) {.
$messageStack->add('header', WARNING_SESSION_DIRECTORY_NOT_WRITEABLE, 'warning');.
}.
}.
}.
// check session.auto_start is disabled.
If ( (function_exists('ini_get')) && (WARN_SESSION_AUTO_START == 'true') ) {.
If (ini_get('session.auto_start') == '1') {.
$messageStack->add('header', WARNING_SESSION_AUTO_START, 'warning');.
}.
}.
If ( (WARN_DOWNLOAD_DIRECTORY_NOT_READABLE == 'true') && (DOWNLOAD_ENABLED == 'true') ) {.
If (!is_dir(DIR_FS_DOWNLOAD)) {.
$messageStack->add('header', WARNING_DOWNLOAD_DIRECTORY_NON_EXISTENT, 'warning');.
}.
}.
If ($messageStack->size('header') > 0) {.
Echo $messageStack->output('header');.
}.
?>.
<table border="0" width="100%" cellspacing="0" cellpadding="0">.
<tr class="header">.
<td valign="middle"><?php echo '<a href="'tep_href_link(FILENAME_DEFAULT)'">'tep_image(DIR_WS_IMAGES'store_logo.png', STORE_NAME)'</a>'; ?></td>.
<td align="right" valign="bottom"><?php //echo '<a href="'tep_href_link(FILENAME_ACCOUNT, '', 'SSL')'">'tep_image(DIR_WS_IMAGES'header_account.gif', HEADER_TITLE_MY_ACCOUNT)'</a> <a href="'tep_href_link(FILENAME_SHOPPING_CART)'">'tep_image(DIR_WS_IMAGES'header_cart.gif', HEADER_TITLE_CART_CONTENTS)'</a> <a href="'tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL')'">'tep_image(DIR_WS_IMAGES'header_checkout.gif', HEADER_TITLE_CHECKOUT)'</a>'; ?> </td>.
</tr>.
</table>.
<table border="0" width="100%" cellspacing="0" cellpadding="1">.
<tr class="headerNavigation">.
<td class="headerNavigation"> <?php echo $breadcrumb->trail(' » '); ?></td>.
<td align="right" class="headerNavigation"><?php //if (tep_session_is_registered('customer_id')) { ?><a href="<?php //echo tep_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>" class="headerNavigation"><?php //echo HEADER_TITLE_LOGOFF; ?></a> | <?php //} ?><a href="<?php //echo tep_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>" class="headerNavigation"><?php //echo HEADER_TITLE_MY_ACCOUNT; ?></a> | <a href="<?php //echo tep_href_link(FILENAME_SHOPPING_CART); ?>" class="headerNavigation"><?php //echo HEADER_TITLE_CART_CONTENTS; ?></a> | <a href="<?php //echo tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>" class="headerNavigation"><?php //echo HEADER_TITLE_CHECKOUT; ?></a> </td>.
</tr>.
</table>.
<?php.
If (isset($HTTP_GET_VARS['error_message']) && tep_not_null($HTTP_GET_VARS['error_message'])) {.
?>.
<table border="0" width="100%" cellspacing="0" cellpadding="2">.
<tr class="headerError">.
<td class="headerError"><?php echo htmlspecialchars(stripslashes(urldecode($HTTP_GET_VARS['error_message']))); ?></td>.
</tr>.
</table>.
<?php.
}.
If (isset($HTTP_GET_VARS['info_message']) && tep_not_null($HTTP_GET_VARS['info_message'])) {.
?>.
<table border="0" width="100%" cellspacing="0" cellpadding="2">.
<tr class="headerInfo">.
<td class="headerInfo"><?php echo htmlspecialchars(stripslashes(urldecode($HTTP_GET_VARS['info_message']))); ?></td>.
</tr>.
</table>.
<?php.
}.
?>..

