chrometweaks.org

Can't Publish my Website! (iPage, rapidweaver)?

Click Here To View All Answers...


First question I have is Can't Publish my Website! (iPage, rapidweaver)? Many thanks for any response. My other question... It has been brought to my attention that a lot of people dont actually click through to the product page, they just look at the listing and use the buy now button or do not buy at all. This is for various reasons. In a few of my stores the product name (the link to the product) uses a CSS style so it is not a blue underlined link, like a lot of newbies to the web are used too..

So I want to add a small button like the buy now, but instead is "more info", between the product name and price..

If anyone knows how to do this let me know, I'm stuck..

Comments (14)

Hmm... I need to find out myself. I don't know what is the right answer to your question. I'll do some Googling and get back to you if I got an decent answer. You should email the people at iPage as they probably could answer your iPage question..

Comment #1

Http://www.yesudo.co...x.php?cPath=101.

Although I am still tweaking it - as currently this is where manufacturer usually shows up - but as I don't show that I have hijacked it's place..

This post has been edited by.

Yesudo.com.

: 18 February 2004, 14:56..

Comment #2

Ahh now I see the More info buttons, NIce touch.

Have you realised a contribution on how to do this, or can you post here how to do this please?.

P.S nice page load feature...

Comment #3

1).

Create your more info button and call it button_more_info.gif - put it in:.

Includes/languages/english/images/buttons.

In includes/modules/product_listing.php do the following:.

2) appx line 59:.

Change:.

Case 'PRODUCT_LIST_MANUFACTURER':.

       $lc_text = TABLE_HEADING_MANUFACTURER;.

       $lc_align = '';.

       break;.

To:.

Case 'PRODUCT_LIST_MANUFACTURER':.

       $lc_text = 'More Info';.

       $lc_align = 'center';.

       break;.

3)appx line 126:.

Change:.

Case 'PRODUCT_LIST_MANUFACTURER':.

$lc_align = '';.

$lc_text = '&nbsp;<a href="'tep_href_link(FILENAME_DEFAULT, 'manufacturers_id='$listing['manufacturers_id'])'">'$listing['manufacturers_name']'</a>&nbsp;';.

Break;.

To:.

Case 'PRODUCT_LIST_MANUFACTURER':.

$lc_text = '&nbsp;<a href="'tep_href_link(FILENAME_PRODUCT_INFO, ($cPath ? 'cPath='$cPath'&' : '')'products_id='$listing['products_id'])'">'tep_image_button('button_more_info.gif', 'More Info')'</a>&nbsp;';.

Break;.

As you can see this has hijacked the manufacturer code - but if you don't use that it doesn't matter..

This post has been edited by.

Yesudo.com.

: 18 February 2004, 15:13..

Comment #4

If someone can tell me where.

'PRODUCT_LIST_MANUFACTURER'.

Gets defined this will help me to refine this option...

Comment #5

Sorted:.

Http://www.yesudo.co...x.php?cPath=100.

If any interest let me know and I will contrib it..

P.s. my more info button needs some work though..

This post has been edited by.

Yesudo.com.

: 20 February 2004, 15:48..

Comment #6

I have done this now without hacking up the manufacturer information...

Comment #7

Really good contribution for my needs. Any idea how I might move the more info button over to display under the product image. Im trying to conserve real estate as far as having to many columns. I made a more info button to just look like text but I cant figure out how to get it to display underneath the image instead of next to it. thanks..

Comment #8

Can we do this and have the image on the product info page take us to the product image instead of taking us to the product like the products text description does on the left? Instead of "more info" button we could use the products image and have a description in the image. This would be excellent as they could see the product and the description with one click instead of 2...

Comment #9

Hi Randy,.

Sorry I do not fully understand what you mean, although it is late..

Could you please clarify for my tired mind ? .

Thanx,.

This post has been edited by.

Yesudo.com.

: 21 February 2004, 01:21..

Comment #10

When you click on a category and get the "Product Descriptions:" page you the products are listed with the "Product Name" column and also shows a produxct thumbnail image. When you click on either the description or the image you are taken to the same product page which shows the same thumbnai image with "click to enlarge" under it..

I would like to click on the image on the "Product Descriptions:" page and go directly to the enlarged image instead of having to go to the products page first. I then would put a line of text at the top of the "Product Descriptions:" page saying "click images to enlarge". My customers are dealers and they just want to see large images without all the clicking back and forth...

Comment #11

Following requests I have included here also a contribution to have the More Info Link under the product image..

This can be either text or an image..

Http://www.oscommerc...tributions,1889..

Comment #12

Hi Randy,.

Can you put the code up here from your product_info.php file so that I can have a look at your idea..

I would look at the code in mine but I have edited it out of recognition..

Thanx,..

Comment #13

Sure, here it is (original unmodified file) I also included product_listing.php. After looking at your contribution I inserted a link to my privacy.php page as a test and it worked. So I am getting closer..

Makes me think it would be more work to make a php file for every product with just a big image in it with a "back" button. But I really, really like the idea of not having a pop up window to view the product by staying right inside of the cart. I feel the pop up image could be a problem with customers with pop up blockers..

Anyway I am by no means a programmer and would love any help you could give..

Thank you.

~~~~~~~~~~~~from /catalog/product_info.php:.

<?php.

/*.

$Id: product_info.php,v 1.92 2003/02/14 05:51:21 hpdl Exp $.

OsCommerce, Open Source E-Commerce Solutions.

Http://www.oscommerce.com.

Copyright © 2003 osCommerce.

Released under the GNU General Public License.

*/.

Require('includes/application_top.php');.

Require(DIR_WS_LANGUAGES$language'/'FILENAME_PRODUCT_INFO);.

?>.

<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">.

<html <?php echo HTML_PARAMS; ?>>.

<head>.

<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">.

<title><?php echo TITLE; ?></title>.

<base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER)DIR_WS_CATALOG; ?>">.

<link rel="stylesheet" type="text/css" href="stylesheet.css">.

<script language="javascript"><!.

Function popupWindow(url) {.

Window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,res.

Izable=yes,copyhistory=no,width=300,height=400,screenX=0,screenY=0,top=50,left=0').

}.

//></script>.

</head>.

<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0">.

<! header //>.

<?php require(DIR_WS_INCLUDES'header.php'); ?>.

<! header_eof //>.

<! body //>.

<table border="0" width="100%" cellspacing="3" cellpadding="3">.

<tr>.

<td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">.

<! left_navigation //>.

<?php require(DIR_WS_INCLUDES'column_left.php'); ?>.

<! left_navigation_eof //>.

</table></td>.

<! body_text //>.

<td width="100%" valign="top"><?php echo tep_draw_form('cart_quantity', tep_href_link(FILENAME_PRODUCT_INFO, tep_get_all_get_params(array('action'))'action=add_product')); ?><table border="0" width="100%" cellspacing="0" cellpadding="0">.

<?php.

$product_info_query = tep_db_query("select p.products_id, pd.products_name, pd.products_description, p.products_model, p.products_quantity, p.products_image, pd.products_url, p.products_price, p.products_tax_class_id, p.products_date_added, p.products_date_available, p.manufacturers_id from "TABLE_PRODUCTS" p, "TABLE_PRODUCTS_DESCRIPTION" pd where p.products_status = '1' and p.products_id = '"(int)$HTTP_GET_VARS['products_id']"' and pd.products_id = p.products_id and pd.language_id = '"$languages_id"'");.

If (!tep_db_num_rows($product_info_query)) { // product not found in database.

?>.

<tr>.

<td class="main"><br><?php echo TEXT_PRODUCT_NOT_FOUND; ?></td>.

</tr>.

<tr>.

<td align="right"><br><a href="<?php echo tep_href_link(FILENAME_DEFAULT); ?>"><?php echo tep_image_button('button_continue.gif', IMAGE_BUTTON_CONTINUE); ?></a></td>.

</tr>.

<?php.

} else {.

Tep_db_query("update "TABLE_PRODUCTS_DESCRIPTION" set products_viewed = products_viewed+1 where products_id = '"(int)$HTTP_GET_VARS['products_image']"' and language_id = '"$languages_id"'");.

$product_info = tep_db_fetch_array($product_info_query);.

If ($new_price = tep_get_products_special_price($product_info['products_id'])) {.

$products_price = '<s>'$currencies->display_price($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id']))'</s> <span class="productSpecialPrice">'$currencies->display_price($new_price, tep_get_tax_rate($product_info['products_tax_class_id']))'</span>';.

} else {.

$products_price = $currencies->display_price($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id']));.

}.

?>.

<tr>.

<td><table border="0" width="100%" cellspacing="0" cellpadding="2">.

<tr height="40">.

<td class="pageHeading"><?php echo $product_info['products_name']; ?></td>.

<td align="right" class="pageHeading"><?php echo $products_price; ?></td>.

</tr>.

<?php.

If (PRODUCT_LIST_MODEL > 0) {.

Echo ' <tr>'"\n" ..

' <td colspan="2" class="pageHeading">'$product_info['products_model']'</td>'"\n" ..

' </tr>'"\n";.

}.

?>.

</table></td>.

</tr>.

<tr>.

<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>.

</tr>.

<tr>.

<td class="main"><table border="0" cellspacing="0" cellpadding="2" align="right">.

<?php.

If (tep_not_null($product_info['products_image'])) {.

?>.

<tr>.

<td align="center" class="smallText">.

<script language="javascript"><!.

Document.write('<?php echo '<a href="java script:popupWindow(\\\''tep_href_link(FILENAME_POPUP_IMAGE, 'pID='$product_info['products_id'])'\\\')">'tep_image(DIR_WS_IMAGES$product_info['products_image'], addslashes($product_info['products_name']), SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"')'<br>'TEXT_CLICK_TO_ENLARGE'</a>'; ?>');.

//></script>.

<noscript>.

<?php echo '<a href="'tep_href_link(DIR_WS_IMAGES$product_info['products_image'])'">'tep_image(DIR_WS_IMAGES$product_info['products_image'], $product_info['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"')'<br>'TEXT_CLICK_TO_ENLARGE'</a>'; ?>.

</noscript>.

</td>.

</tr>.

<?php.

}.

?>.

</table><p><?php echo stripslashes($product_info['products_description']); ?></p>.

<?php.

$products_attributes_query = tep_db_query("select count(*) as total from "TABLE_PRODUCTS_OPTIONS" popt, "TABLE_PRODUCTS_ATTRIBUTES" patrib where patrib.products_id='"(int)$HTTP_GET_VARS['products_id']"' and patrib.options_id = popt.products_options_id and popt.language_id = '"$languages_id"'");.

$products_attributes = tep_db_fetch_array($products_attributes_query);.

If ($products_attributes['total'] > 0) {.

Echo '<b>'TEXT_PRODUCT_OPTIONS'</b><br>' ..

'<table border="0" cellpadding="0" cellspacing"0">';.

$products_options_name_query = tep_db_query("select distinct popt.products_options_id, popt.products_options_name from "TABLE_PRODUCTS_OPTIONS" popt, "TABLE_PRODUCTS_ATTRIBUTES" patrib where patrib.products_id='"(int)$HTTP_GET_VARS['products_id']"' and patrib.options_id = popt.products_options_id and popt.language_id = '"$languages_id"'");.

While ($products_options_name = tep_db_fetch_array($products_options_name_query)) {.

$selected = 0;.

$products_options_array = array();.

Echo '<tr><td class="main">'$products_options_name['products_options_name']':</td><td>'"\n";.

$products_options_query = tep_db_query("select pov.products_options_values_id, pov.products_options_values_name, pa.options_values_price, pa.price_prefix from "TABLE_PRODUCTS_ATTRIBUTES" pa, "TABLE_PRODUCTS_OPTIONS_VALUES" pov where pa.products_id = '"(int)$HTTP_GET_VARS['products_id']"' and pa.options_id = '"$products_options_name['products_options_id']"' and pa.options_values_id = pov.products_options_values_id and pov.language_id = '"$languages_id"'");.

While ($products_options = tep_db_fetch_array($products_options_query)) {.

$products_options_array[] = array('id' => $products_options['products_options_values_id'], 'text' => $products_options['products_options_values_name']);.

If ($products_options['options_values_price'] != '0') {.

$products_options_array[sizeof($products_options_array)-1]['text'] .= ' ('$products_options['price_prefix']$currencies->display_price($products_options['options_values_price'], tep_get_tax_rate($product_info['products_tax_class_id'])) .') ';.

}.

}.

Echo tep_draw_pull_down_menu('id['$products_options_name['products_options_id']']', $products_options_array, $cart->contents[$HTTP_GET_VARS['products_id']]['attributes'][$products_options_name['products_options_id']]);.

Echo '</td></tr>';.

}.

Echo '</table>';.

}.

?>.

</td>.

</tr>.

<?php.

$reviews = tep_db_query("select count(*) as count from "TABLE_REVIEWS" where products_id = '"$HTTP_GET_VARS['products_id']"'");.

$reviews_values = tep_db_fetch_array($reviews);.

If ($reviews_values['count'] > 0) {.

?>.

<tr>.

<td class="main"><br><?php echo TEXT_CURRENT_REVIEWS' '$reviews_values['count']; ?></td>.

</tr>.

<?php.

}.

If (tep_not_null($product_info['products_url'])) {.

?>.

<tr>.

<td class="main"><br><?php echo sprintf(TEXT_MORE_INFORMATION, tep_href_link(FILENAME_REDIRECT, 'action=url&goto='urlencode($product_info['products_url']), 'NONSSL', true, false)); ?></td>.

</tr>.

<?php.

}.

If ($product_info['products_date_available'] > date('Y-m-d H:i:s')) {.

?>.

<tr>.

<td align="center" class="smallText"><br><?php echo sprintf(TEXT_DATE_AVAILABLE, tep_date_long($product_info['products_date_available'])); ?></td>.

</tr>.

<?php.

} else {.

?>.

<tr>.

<td align="center" class="smallText"><br><?php echo /*sprintf(TEXT_DATE_ADDED, tep_date_long($product_info['products_date_added'])); */?></td>.

</tr>.

<?php.

}.

?>.

<tr>.

<td><br><table border="0" width="100%" cellspacing="0" cellpadding="0">.

<tr>.

<td class="main"><a href="<?php echo tep_href_link(FILENAME_PRODUCT_REVIEWS, substr(tep_get_all_get_params(), 0, -1)); ?>"><?php echo tep_image_button('button_reviews.gif', IMAGE_BUTTON_REVIEWS); ?></a></td>.

<td align="right" class="main"><?php echo tep_draw_hidden_field('products_id', $product_info['products_id'])tep_image_submit('button_in_cart.gif', IMAGE_BUTTON_IN_CART); ?></td>.

</tr>.

</table></td>.

</tr>.

<tr>.

<td><br>.

<?php.

If ( (USE_CACHE == 'true') && !defined('SID')) {.

Echo tep_cache_also_purchased(3600);.

} else {.

Include(DIR_WS_MODULESFILENAME_ALSO_PURCHASED_PRODUCTS);.

}.

}.

?>.

</td>.

</tr>.

</table></form></td>.

<! body_text_eof //>.

<td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">.

<! right_navigation //>.

<?php require(DIR_WS_INCLUDES'column_right.php'); ?>.

<! right_navigation_eof //>.

</table></td>.

</tr>.

</table>.

<! body_eof //>.

<! footer //>.

<?php require(DIR_WS_INCLUDES'footer.php'); ?>.

<! footer_eof //>.

<br>.

</body>.

</html>.

<?php require(DIR_WS_INCLUDES'application_bottom.php'); ?>.

~~~~~~~~~~from / catalog / includes / modules / product_listing.php:.

<?php.

/*.

$Id: product_listing.php,v 1.41 2003/02/12 23:55:58 hpdl Exp $.

OsCommerce, Open Source E-Commerce Solutions.

Http://www.oscommerce.com.

Copyright © 2003 osCommerce.

Released under the GNU General Public License.

*/.

?>.

<table border="0" width="100%" cellspacing="0" cellpadding="2">.

<?php.

$listing_numrows_sql = $listing_sql;.

$listing_split = new splitPageResults($HTTP_GET_VARS['page'], MAX_DISPLAY_SEARCH_RESULTS, $listing_sql, $listing_numrows);.

// fix counted products.

$listing_numrows = tep_db_query($listing_numrows_sql);.

$listing_numrows = tep_db_num_rows($listing_numrows);.

If ( ($listing_numrows > 0) && ( (PREV_NEXT_BAR_LOCATION == '1') || (PREV_NEXT_BAR_LOCATION == '3') ) ) {.

?>.

<tr>.

<td><table border="0" width="100%" cellspacing="0" cellpadding="2">.

<tr>.

<td class="smallText"> <?php echo $listing_split->display_count($listing_numrows, MAX_DISPLAY_SEARCH_RESULTS, $HTTP_GET_VARS['page'], TEXT_DISPLAY_NUMBER_OF_PRODUCTS); ?> </td>.

<td align="right" class="smallText"> <?php echo TEXT_RESULT_PAGE; ?> <?php echo $listing_split->display_links($listing_numrows, MAX_DISPLAY_SEARCH_RESULTS, MAX_DISPLAY_PAGE_LINKS, $HTTP_GET_VARS['page'], tep_get_all_get_params(array('page', 'info', 'x', 'y'))); ?> </td>.

</tr>.

</table></td>.

</tr>.

<tr>.

<td><?php echo tep_draw_separator(); ?></td>.

</tr>.

<?php.

}.

?>.

<tr>.

<td>.

<?php.

$list_box_contents = array();.

$list_box_contents[] = array('params' => 'class="productListing-heading"');.

$cur_row = sizeof($list_box_contents) - 1;.

For ($col=0, $n=sizeof($column_list); $col<$n; $col++) {.

Switch ($column_list[$col]) {.

Case 'PRODUCT_LIST_MODEL':.

$lc_text = TABLE_HEADING_MODEL;.

$lc_align = '';.

Break;.

Case 'PRODUCT_LIST_NAME':.

$lc_text = TABLE_HEADING_PRODUCTS;.

$lc_align = '';.

Break;.

Case 'PRODUCT_LIST_MANUFACTURER':.

$lc_text = TABLE_HEADING_MANUFACTURER;.

$lc_align = '';.

Break;.

Case 'PRODUCT_LIST_PRICE':.

$lc_text = TABLE_HEADING_PRICE;.

$lc_align = 'right';.

Break;.

Case 'PRODUCT_LIST_QUANTITY':.

$lc_text = TABLE_HEADING_QUANTITY;.

$lc_align = 'right';.

Break;.

Case 'PRODUCT_LIST_WEIGHT':.

$lc_text = TABLE_HEADING_WEIGHT;.

$lc_align = 'right';.

Break;.

Case 'PRODUCT_LIST_IMAGE':.

$lc_text = TABLE_HEADING_IMAGE;.

$lc_align = 'center';.

Break;.

Case 'PRODUCT_LIST_BUY_NOW':.

$lc_text = TABLE_HEADING_BUY_NOW;.

$lc_align = 'center';.

Break;.

}.

If ( ($column_list[$col] != 'PRODUCT_LIST_BUY_NOW') && ($column_list[$col] != 'PRODUCT_LIST_IMAGE') ) {.

$lc_text = tep_create_sort_heading($HTTP_GET_VARS['sort'], $col+1, $lc_text);.

}.

$list_box_contents[$cur_row][] = array('align' => $lc_align,.

'params' => 'class="productListing-heading"',.

'text' => ' '$lc_text' ');.

}.

If ($listing_numrows > 0) {.

$number_of_products = '0';.

$listing_query = tep_db_query($listing_sql);.

While ($listing = tep_db_fetch_array($listing_query)) {.

$number_of_products++;.

If (($number_of_products/2) == floor($number_of_products/2)) {.

$list_box_contents[] = array('params' => 'class="productListing-even"');.

} else {.

$list_box_contents[] = array('params' => 'class="productListing-odd"');.

}.

$cur_row = sizeof($list_box_contents) - 1;.

For ($col=0, $n=sizeof($column_list); $col<$n; $col++) {.

$lc_align = '';.

Switch ($column_list[$col]) {.

Case 'PRODUCT_LIST_MODEL':.

$lc_align = '';.

$lc_text = ' '$listing['products_model']' ';.

Break;.

Case 'PRODUCT_LIST_NAME':.

$lc_align = '';.

If (isset($HTTP_GET_VARS['manufacturers_id'])) {.

$lc_text = '<a href="'tep_href_link(FILENAME_PRODUCT_INFO, 'manufacturers_id='$HTTP_GET_VARS['manufacturers_id']'&products_id='$listing['products_id'])'">'$listing['products_name']'</a>';.

} else {.

$lc_text = ' <a href="'tep_href_link(FILENAME_PRODUCT_INFO, ($cPath ? 'cPath='$cPath'&' : '')'products_id='$listing['products_id'])'">'$listing['products_name']'</a> ';.

}.

Break;.

Case 'PRODUCT_LIST_MANUFACTURER':.

$lc_align = '';.

$lc_text = ' <a href="'tep_href_link(FILENAME_DEFAULT, 'manufacturers_id='$listing['manufacturers_id'])'">'$listing['manufacturers_name']'</a> ';.

Break;.

Case 'PRODUCT_LIST_PRICE':.

$lc_align = 'right';.

If (tep_not_null($listing['specials_new_products_price'])) {.

$lc_text = ' <s>'$currencies->display_price($listing['products_price'], tep_get_tax_rate($listing['products_tax_class_id']))'</s> <span class="productSpecialPrice">'$currencies->display_price($listing['specials_new_products_price'], tep_get_tax_rate($listing['products_tax_class_id']))'</span> ';.

} else {.

$lc_text = ' '$currencies->display_price($listing['products_price'], tep_get_tax_rate($listing['products_tax_class_id']))' ';.

}.

Break;.

Case 'PRODUCT_LIST_QUANTITY':.

$lc_align = 'right';.

$lc_text = ' '$listing['products_quantity']' ';.

Break;.

Case 'PRODUCT_LIST_WEIGHT':.

$lc_align = 'right';.

$lc_text = ' '$listing['products_weight']' ';.

Break;.

Case 'PRODUCT_LIST_IMAGE':.

$lc_align = 'center';.

If (isset($HTTP_GET_VARS['manufacturers_id'])) {.

$lc_text = '<a href="'tep_href_link(FILENAME_PRODUCT_INFO, 'manufacturers_id='$HTTP_GET_VARS['manufacturers_id']'&products_id='$listing['products_id'])'">'tep_image(DIR_WS_IMAGES$listing['products_image'], $listing['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT)'</a>';.

} else {.

$lc_text = ' <a href="'tep_href_link(FILENAME_PRODUCT_INFO, ($cPath ? 'cPath='$cPath'&' : '')'products_id='$listing['products_id'])'">'tep_image(DIR_WS_IMAGES$listing['products_image'], $listing['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT)'</a> ';.

}.

Break;.

Case 'PRODUCT_LIST_BUY_NOW':.

$lc_align = 'center';.

$lc_text = '<a href="'tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action'))'action=buy_now&products_id='$listing['products_id'])'">'tep_image_button('button_buy_now.gif', TEXT_BUY$listing['products_name']TEXT_NOW)'</a> ';.

Break;.

}.

$list_box_contents[$cur_row][] = array('align' => $lc_align,.

'params' => 'class="productListing-data"',.

'text' => $lc_text);.

}.

}.

New tableBox($list_box_contents, true);.

Echo ' </td>'"\n" ..

' </tr>'"\n";.

} else {.

?>.

<tr class="productListing-odd">.

<td class="smallText"> <?php echo (isset($HTTP_GET_VARS['manufacturers_id']) ? TEXT_NO_PRODUCTS2 : TEXT_NO_PRODUCTS); ?> </td>.

</tr>.

<?php.

}.

?>.

<tr>.

<td><?php echo tep_draw_separator(); ?></td>.

</tr>.

<?php.

If ( ($listing_numrows > 0) && ((PREV_NEXT_BAR_LOCATION == '2') || (PREV_NEXT_BAR_LOCATION == '3')) ) {.

?>.

<tr>.

<td><table border="0" width="100%" cellspacing="0" cellpadding="2">.

<tr>.

<td class="smallText"> <?php echo $listing_split->display_count($listing_numrows, MAX_DISPLAY_SEARCH_RESULTS, $HTTP_GET_VARS['page'], TEXT_DISPLAY_NUMBER_OF_PRODUCTS); ?> </td>.

<td align="right" class="smallText"> <?php echo TEXT_RESULT_PAGE; ?> <?php echo $listing_split->display_links($listing_numrows, MAX_DISPLAY_SEARCH_RESULTS, MAX_DISPLAY_PAGE_LINKS, $HTTP_GET_VARS['page'], tep_get_all_get_params(array('page', 'info', 'x', 'y'))); ?> </td>.

</tr>.

</table></td>.

</tr>.

<?php.

}.

?>.

</table>..

Comment #14

I have looked all over for the index.php file in the contributions instructions and cannot find itIt does not say what directotry it is in. I found one in / catalog / admin / includes / languages / english / but it does not contain the code in the instructions..

Please direct me to it...

Comment #15


This question was taken from a support group/message board and re-posted here so others can learn from it.