Button missing and linkage issues?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
chrismaddox3d
Forum Newbie
Posts: 17
Joined: Fri Sep 24, 2010 5:22 pm

Button missing and linkage issues?

Post by chrismaddox3d »

I am having 3 issues i am trying to correct today on my e commerce site,
First would be my add to cart .gif button is not showing on my the left side of the page and the product detail button as well,
The 2 buttons functions just fine, just need the .gif to show up,
Second problem would be with the last 2 right categories in the middle of the page named,
Single Handle Faucet and Pull Out Faucet, they are not linking like the first 3 categories to the left of them,
There are no products to list in this category and i want to rename the home on the 2 messed up ones not linking,
Just wondering what php file might all this be in,
found some code for where the no products are listed just not sure where its at to edit it,

Code: Select all

<div class="centerColumn" id="indexProductList">
 
<h1 id="productListHeading">Home</h1>
 
 
 
<div class="wrapper" id="indexProductListCatDescription">
 
        
    
</div>
 
 
 
<br class="clearBoth" />
 
<div id="productListing">
 
 
<table width="100%" border="0" cellspacing="0" cellpadding="0" id="cat7Table" class="tabTable">
  <tr  class="productListing-odd">
   <th class="productListing-data" scope="col" id="listCell0-0">There are no products to list in this category.</th>
  </tr>
 
</table>
 
</div>
I will load 2 images and circled out all the issues i just mentioned and listed,
Also one last little problem i would like to remove is this little small image on top of each categories once you enter it,
below the name of the section, example would be kitchen faucets,
Thanks here is my site link http://youniverseonline.com
Image
Image
Last edited by chrismaddox3d on Tue Sep 28, 2010 8:27 pm, edited 4 times in total.
JakeJ
Forum Regular
Posts: 675
Joined: Thu Dec 10, 2009 6:27 pm

Re: Button missing and linkage issues?

Post by JakeJ »

Well, the missing .gif items are almost certainly path related problems. Since I don't know your paths, I can't really help with that.

As far as the other issues go, there's got to be some php code driving those things but you didn't post any so we can't be much help there either.

You've got to track down the code that's generating the problems. When you click a link to go to one of the categories with no items, look at the URL. It ends with a number (each of them does). That might clue you in where to start hunting down the code that generates the page. It's probably executing some a query.

I don't have enough additional information to go on. Good luck! When you dig a little deeper and find the code that's actually causing the problem, post the code and we'll see what we can do.
chrismaddox3d
Forum Newbie
Posts: 17
Joined: Fri Sep 24, 2010 5:22 pm

Re: Button missing and linkage issues?

Post by chrismaddox3d »

I was looking around and found the the code for the missing add to cart button and details button the left side,

Code: Select all

<img title=" Add to Cart " alt="Add to Cart" src="includes/templates/template_default/buttons/english/BUTTON_IMAGE_IN_CART2">
the above code is the messed up code,

Code: Select all

<img width="88" height="18" title=" Add to Cart " alt="Add to Cart" src="includes/templates/theme346/buttons/english/button_in_cart2.gif">
the above code now looks to be the fixed code, if i could figure out what php folder that might be in,
Still not sure about the linkage issues in the middle of the page, still looking into it,
Thanks,

Little Update Found the code is under button_names.php
Only thing the code seems to written correct, maybe there is control function or switch that is messing this up that needs to be turned on,
Here is the full code,
Hope someone can help,

Code: Select all

<?php
/**
 * @package languageDefines
 * @copyright Copyright 2003-2006 Zen Cart Development Team
 * @copyright Portions Copyright 2003 osCommerce
 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
 * @version $Id: button_names.php 5410 2006-12-27 03:56:46Z drbyte $
 */


/**
 * define the button images used in the project
 */

define('BUTTON_IMAGE_ADD_TO_CART', 'button_add_to_cart.gif');
define('BUTTON_IMAGE_ADD_ADDRESS', 'button_add_address.gif');
define('BUTTON_IMAGE_ADD_PRODUCTS_TO_CART','button_add_selected.gif');
define('BUTTON_IMAGE_BACK', 'button_back.gif');
define('BUTTON_IMAGE_BUY_NOW', 'button_buy_now.gif');
define('BUTTON_IMAGE_CANCEL', 'button_cancel.gif');
define('BUTTON_IMAGE_CHANGE_ADDRESS', 'button_change_address.gif');
define('BUTTON_IMAGE_CHECKOUT', 'button_checkout.gif');
define('BUTTON_IMAGE_CONFIRM_SEND', 'button_confirm_send.gif');
define('BUTTON_IMAGE_CONFIRM_ORDER', 'button_confirm_order.gif');
define('BUTTON_IMAGE_CONTINUE', 'button_continue.gif');
define('BUTTON_IMAGE_CONTINUE_SHOPPING', 'button_continue_shopping.gif');
define('BUTTON_IMAGE_DELETE', 'button_delete.gif');
define('BUTTON_IMAGE_DELETE_SMALL', 'button_delete_small.gif');
define('BUTTON_IMAGE_DOWNLOAD', 'button_download.gif');
define('BUTTON_IMAGE_EDIT_SMALL', 'small_edit.gif');
define('BUTTON_IMAGE_IN_CART', 'button_in_cart.gif');
define('BUTTON_IMAGE_IN_CART2', 'button_in_cart2.gif');
define('BUTTON_IMAGE_LOGIN', 'button_login.gif');
define('BUTTON_IMAGE_NEXT', 'button_next.gif');
define('BUTTON_IMAGE_PREVIOUS', 'button_prev.gif');
define('BUTTON_IMAGE_REDEEM', 'button_redeem.gif');
define('BUTTON_IMAGE_RETURN_TO_PROD_LIST', 'button_return_to_product_list.gif');
define('BUTTON_IMAGE_REVIEWS', 'button_reviews.gif');
define('BUTTON_IMAGE_SEARCH', 'button_search.gif');
define('BUTTON_IMAGE_SEND', 'button_send.gif');
define('BUTTON_IMAGE_SEND_A_GIFT_CERT', 'button_send_a_gift_cert.gif');
define('BUTTON_IMAGE_SEND_ANOTHER', 'button_send_another.gif');
define('BUTTON_IMAGE_SHIPPING_ESTIMATOR', 'button_shipping_estimator.gif');
define('BUTTON_IMAGE_SOLD_OUT','button_sold_out.gif');
define('BUTTON_IMAGE_SOLD_OUT_SMALL','button_sold_out_sm.gif');
define('BUTTON_IMAGE_SUBMIT', 'button_submit.gif');
define('BUTTON_IMAGE_TELL_A_FRIEND', 'button_tell_a_friend.gif');
define('BUTTON_IMAGE_TELLAFRIEND', 'button_TellAFriend.gif');
define('BUTTON_IMAGE_UNSUBSCRIBE', 'button_unsubscribe.gif');
define('BUTTON_IMAGE_UPDATE', 'button_update.gif');
define('BUTTON_IMAGE_VIEW_SMALL', 'button_view.gif');
define('BUTTON_IMAGE_WRITE_REVIEW', 'button_write_review.gif');

define('BUTTON_IMAGE_READ_REVIEWS', 'button_read_reviews.gif');
define('BUTTON_IMAGE_GOTO_PROD_DETAILS', 'button_goto_prod_details.gif');
define('BUTTON_IMAGE_GOTO_PROD_DETAILS2', 'button_goto_prod_details2.gif');
define('BUTTON_IMAGE_MORE_REVIEWS', 'button_more_reviews.gif');
define('BUTTON_IMAGE_CONTINUE_CHECKOUT', 'button_continue_checkout.gif');
//define('PREVNEXT_BUTTON_NEXT', '[Next&nbsp;>>]');
//define('PREVNEXT_BUTTON_LAST', 'LAST>>');


define('BUTTON_IMAGE_CREATE_ACCOUNT', 'button_create_account.gif');
define('BUTTON_IMAGE_LOG_OFF', 'button_logoff.gif');
/*
 * ALT tags used for buttons
 */
 
define('BUTTON_CREATE_ACCOUNT_ALT', 'Sign Up');
define('BUTTON_LOG_OFF_ALT', 'Log Off');
define('BUTTON_ADD_TO_CART_ALT', 'Add This to My Cart');
define('BUTTON_ADD_ADDRESS_ALT', 'Add Address');
define('BUTTON_ADD_PRODUCTS_TO_CART_ALT','Add Selected Products to Cart');
define('BUTTON_BACK_ALT', 'Back');
define('BUTTON_BUY_NOW_ALT', 'Buy Now');
define('BUTTON_CANCEL_ALT', 'Cancel');
define('BUTTON_CHANGE_ADDRESS_ALT', 'Change Address');
define('BUTTON_CHECKOUT_ALT', 'Checkout');
define('BUTTON_CONFIRM_SEND_ALT', 'Send Gift Certificate');
define('BUTTON_CONFIRM_ORDER_ALT', 'Confirm Order');
define('BUTTON_CONTINUE_ALT', 'Continue');
define('BUTTON_CONTINUE_SHOPPING_ALT', 'Continue Shopping');
define('BUTTON_DELETE_ALT', 'Delete');
define('BUTTON_DELETE_SMALL_ALT', 'Delete');
define('BUTTON_DOWNLOAD_ALT', 'Download Now');
define('BUTTON_EDIT_SMALL_ALT', 'Edit');
define('BUTTON_IN_CART_ALT', 'Add to Cart');
define('BUTTON_LOGIN_ALT', 'Sign In');
define('BUTTON_NEXT_ALT', 'Next');
define('BUTTON_PREVIOUS_ALT', 'Previous');
define('BUTTON_REDEEM_ALT', 'Redeem');
define('BUTTON_RETURN_TO_PROD_LIST_ALT', 'Return to the Product List');
define('BUTTON_REVIEWS_ALT', 'Go to the Reviews Page');
define('BUTTON_SEARCH_ALT', 'Search');
define('BUTTON_SEND_ALT', 'Send Now');
define('BUTTON_SEND_ANOTHER_ALT', 'Send Another Gift Certificate');
define('BUTTON_SEND_A_GIFT_CERT_ALT', 'Send A Gift Certificate');
define('BUTTON_SHIPPING_ESTIMATOR_ALT', 'Shipping Estimator');
define('BUTTON_SOLD_OUT_ALT', 'Sold Out');
define('BUTTON_SOLD_OUT_SMALL_ALT', 'Sold Out');
define('BUTTON_SUBMIT_ALT', 'Submit the Information');
define('BUTTON_TELL_A_FRIEND_ALT', 'Tell a Friend');
define('BUTTON_TELLAFRIEND_ALT', 'Tell a Friend');
define('BUTTON_UNSUBSCRIBE', 'Unsubscribe');
define('BUTTON_UPDATE_ALT', 'Update');
define('BUTTON_VIEW_SMALL_ALT', 'View');
define('BUTTON_WRITE_REVIEW_ALT', 'Write Review');
define('BUTTON_READ_REVIEWS_ALT', 'Read the Review');
define('BUTTON_GOTO_PROD_DETAILS_ALT', 'Go To This Product\'s Detailed Information');
define('BUTTON_MORE_REVIEWS_ALT', 'Read More Reviews');
another little update i found,
tpl_product_info_display.php code has the BUTTON_IMAGE_IN_CART in it,
just now sure if it's coded correct or even linked to what i posted earlier,
ill keep posting updates,

Code: Select all

<?php
/**
 * Page Template
 *
 * Loaded automatically by index.php?main_page=product_info.<br />
 * Displays details of a typical product
 *
 * @package templateSystem
 * @copyright Copyright 2003-2006 Zen Cart Development Team
 * @copyright Portions Copyright 2003 osCommerce
 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
 * @version $Id: tpl_product_info_display.php 5369 2006-12-23 10:55:52Z drbyte $
 */
 //require(DIR_WS_MODULES . '/debug_blocks/product_info_prices.php');
?>
<div class="centerColumn" id="productGeneral">

<!--bof Product Name-->
<h1 id="productName" class="productGeneral"><?php echo $products_name; ?></h1>
<!--eof Product Name-->

<!--bof Form start-->
<?php echo zen_draw_form('cart_quantity', zen_href_link(zen_get_info_page($_GET['products_id']), zen_get_all_get_params(array('action')) . 'action=add_product'), 'post', 'enctype="multipart/form-data"') . "\n"; ?>
<!--eof Form start-->

<?php if ($messageStack->size('product_info') > 0) echo $messageStack->output('product_info'); ?>

<!--bof Category Icon -->
<?php if ($module_show_categories != 0) {?>
<?php
/**
 * display the category icons
 */
require($template->get_template_dir('/tpl_modules_category_icon_display.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_category_icon_display.php'); ?>
<?php } ?>
<!--eof Category Icon -->

<!--bof Prev/Next top position -->
<?php if (PRODUCT_INFO_PREVIOUS_NEXT == 1 or PRODUCT_INFO_PREVIOUS_NEXT == 3) { ?>
<?php
/**
 * display the product previous/next helper
 */
require($template->get_template_dir('/tpl_products_next_previous.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_products_next_previous.php'); ?>
<?php } ?>
<!--eof Prev/Next top position-->

<!--bof Main Product Image -->
<?php
  if (zen_not_null($products_image)) {
  ?>
<?php
/**
 * display the main product image
 */
   require($template->get_template_dir('/tpl_modules_main_product_image.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_main_product_image.php'); ?>
<?php
  }
?>
<!--eof Main Product Image-->


<!--bof Product Price block -->
<h2 id="productPrices" class="productGeneral">
<?php
// base price
  if ($show_onetime_charges_description == 'true') {
    $one_time = '<span >' . TEXT_ONETIME_CHARGE_SYMBOL . TEXT_ONETIME_CHARGE_DESCRIPTION . '</span><br />';
  } else {
    $one_time = '';
  }
  echo $one_time . ((zen_has_product_attributes_values((int)$_GET['products_id']) and $flag_show_product_info_starting_at == 1) ? TEXT_BASE_PRICE : '') . zen_get_products_display_price((int)$_GET['products_id']);
?></h2>
<!--eof Product Price block -->

<!--bof free ship icon  -->
<?php if(zen_get_product_is_always_free_shipping($products_id_current) && $flag_show_product_info_free_shipping) { ?>
<div id="freeShippingIcon"><?php echo TEXT_PRODUCT_FREE_SHIPPING_ICON; ?></div>
<?php } ?>
<!--eof free ship icon  -->

 <!--bof Product description -->
<?php if ($products_description != '') { ?>
<div id="productDescription" class="productGeneral biggerText"><?php echo stripslashes($products_description); ?></div>
<?php } ?>
<!--eof Product description -->
<br class="clearBoth" />

<!--bof Add to Cart Box -->
<?php
if (CUSTOMERS_APPROVAL == 3 and TEXT_LOGIN_FOR_PRICE_BUTTON_REPLACE_SHOWROOM == '') {
  // do nothing
} else {
?>
            <?php
    $display_qty = (($flag_show_product_info_in_cart_qty == 1 and $_SESSION['cart']->in_cart($_GET['products_id'])) ? '<p>' . PRODUCTS_ORDER_QTY_TEXT_IN_CART . $_SESSION['cart']->get_quantity($_GET['products_id']) . '</p>' : '');
            if ($products_qty_box_status == 0 or $products_quantity_order_max== 1) {
              // hide the quantity box and default to 1
              $the_button = '<input type="hidden" name="cart_quantity" value="1" />' . zen_draw_hidden_field('products_id', (int)$_GET['products_id']) . zen_image_submit(BUTTON_IMAGE_IN_CART, BUTTON_IN_CART_ALT);
            } else {
              // show the quantity box
    $the_button = PRODUCTS_ORDER_QTY_TEXT . '<input type="text" name="cart_quantity" value="' . (zen_get_buy_now_qty($_GET['products_id'])) . '" maxlength="6" size="4" /><br />' . zen_get_products_quantity_min_units_display((int)$_GET['products_id']) . '<br />' . zen_draw_hidden_field('products_id', (int)$_GET['products_id']) . zen_image_submit(BUTTON_IMAGE_IN_CART, BUTTON_IN_CART_ALT);
            }
    $display_button = zen_get_buy_now_button($_GET['products_id'], $the_button);
  ?>
  <?php if ($display_qty != '' or $display_button != '') { ?>
    <div id="cartAdd">
    <?php
      echo $display_qty;
      echo $display_button;
            ?>
          </div>
  <?php } // display qty and button ?>
<?php } // CUSTOMERS_APPROVAL == 3 ?>
<!--eof Add to Cart Box-->

<!--bof Product details list  -->
<?php if ( (($flag_show_product_info_model == 1 and $products_model != '') or ($flag_show_product_info_weight == 1 and $products_weight !=0) or ($flag_show_product_info_quantity == 1) or ($flag_show_product_info_manufacturer == 1 and !empty($manufacturers_name))) ) { ?>
<ul id="productDetailsList" class="floatingBox back">
  <?php echo (($flag_show_product_info_model == 1 and $products_model !='') ? '<li>' . TEXT_PRODUCT_MODEL . $products_model . '</li>' : '') . "\n"; ?>
  <?php echo (($flag_show_product_info_weight == 1 and $products_weight !=0) ? '<li>' . TEXT_PRODUCT_WEIGHT .  $products_weight . TEXT_PRODUCT_WEIGHT_UNIT . '</li>'  : '') . "\n"; ?>
  <?php echo (($flag_show_product_info_quantity == 1) ? '<li>' . $products_quantity . TEXT_PRODUCT_QUANTITY . '</li>'  : '') . "\n"; ?>
  <?php echo (($flag_show_product_info_manufacturer == 1 and !empty($manufacturers_name)) ? '<li>' . TEXT_PRODUCT_MANUFACTURER . $manufacturers_name . '</li>' : '') . "\n"; ?>
</ul>
<br class="clearBoth" />
<?php
  }
?>
<!--eof Product details list -->

<!--bof Attributes Module -->
<?php
  if ($pr_attr->fields['total'] > 0) {
?>
<?php
/**
 * display the product atributes
 */
  require($template->get_template_dir('/tpl_modules_attributes.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_attributes.php'); ?>
<?php
  }
?>
<!--eof Attributes Module -->

<!--bof Quantity Discounts table -->
<?php
  if ($products_discount_type != 0) { ?>
<?php
/**
 * display the products quantity discount
 */
 require($template->get_template_dir('/tpl_modules_products_quantity_discounts.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_products_quantity_discounts.php'); ?>
<?php
  }
?>
<!--eof Quantity Discounts table -->

<!--bof Additional Product Images -->
<?php
/**
 * display the products additional images
 */
  require($template->get_template_dir('/tpl_modules_additional_images.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_additional_images.php'); ?>
<!--eof Additional Product Images -->

<!--bof Prev/Next bottom position -->
<?php if (PRODUCT_INFO_PREVIOUS_NEXT == 2 or PRODUCT_INFO_PREVIOUS_NEXT == 3) { ?>
<?php
/**
 * display the product previous/next helper
 */
 require($template->get_template_dir('/tpl_products_next_previous.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_products_next_previous.php'); ?>
<?php } ?>
<!--eof Prev/Next bottom position -->

<!--bof Tell a Friend button -->
<?php
  if ($flag_show_product_info_tell_a_friend == 1) { ?>
<div id="productTellFriendLink" class="buttonRow forward"><?php echo ($flag_show_product_info_tell_a_friend == 1 ? '<a href="' . zen_href_link(FILENAME_TELL_A_FRIEND, 'products_id=' . $_GET['products_id']) . '">' . zen_image_button(BUTTON_IMAGE_TELLAFRIEND, BUTTON_TELLAFRIEND_ALT) . '</a>' : ''); ?></div>
<?php
  }
?>
<!--eof Tell a Friend button -->

<!--bof Reviews button and count-->
<?php
  if ($flag_show_product_info_reviews == 1) {
    // if more than 0 reviews, then show reviews button; otherwise, show the "write review" button
    if ($reviews->fields['count'] > 0 ) { ?>
<div id="productReviewLink" class="buttonRow back"><?php echo '<a href="' . zen_href_link(FILENAME_PRODUCT_REVIEWS, zen_get_all_get_params()) . '">' . zen_image_button(BUTTON_IMAGE_REVIEWS, BUTTON_REVIEWS_ALT) . '</a>'; ?></div>
<br class="clearBoth" />
<p class="reviewCount"><?php echo ($flag_show_product_info_reviews_count == 1 ? TEXT_CURRENT_REVIEWS . ' ' . $reviews->fields['count'] : ''); ?></p>
<?php } else { ?>
<div id="productReviewLink" class="buttonRow back"><?php echo '<a href="' . zen_href_link(FILENAME_PRODUCT_REVIEWS_WRITE, zen_get_all_get_params(array())) . '">' . zen_image_button(BUTTON_IMAGE_WRITE_REVIEW, BUTTON_WRITE_REVIEW_ALT) . '</a>'; ?></div>
<br class="clearBoth" />
<?php
  }
}
?>
<!--eof Reviews button and count -->


<!--bof Product date added/available-->
<?php
  if ($products_date_available > date('Y-m-d H:i:s')) {
    if ($flag_show_product_info_date_available == 1) {
?>
  <p id="productDateAvailable" class="productGeneral centeredContent"><?php echo sprintf(TEXT_DATE_AVAILABLE, zen_date_long($products_date_available)); ?></p>
<?php
    }
  } else {
    if ($flag_show_product_info_date_added == 1) {
?>
      <p id="productDateAdded" class="productGeneral centeredContent"><?php echo sprintf(TEXT_DATE_ADDED, zen_date_long($products_date_added)); ?></p>
<?php
    } // $flag_show_product_info_date_added
  }
?>
<!--eof Product date added/available -->

<!--bof Product URL -->
<?php
  if (zen_not_null($products_url)) {
    if ($flag_show_product_info_url == 1) {
?>
    <p id="productInfoLink" class="productGeneral centeredContent"><?php echo sprintf(TEXT_MORE_INFORMATION, zen_href_link(FILENAME_REDIRECT, 'action=url&goto=' . urlencode($products_url), 'NONSSL', true, false)); ?></p>
<?php
    } // $flag_show_product_info_url
  }
?>
<!--eof Product URL -->

<!--bof also purchased products module-->
<?php require($template->get_template_dir('tpl_modules_also_purchased_products.php', DIR_WS_TEMPLATE, $current_page_base,'templates'). '/' . 'tpl_modules_also_purchased_products.php');?>
<!--eof also purchased products module-->

<!--bof Form close-->
</form>
<!--bof Form close-->
</div>
something else interesting i just saw,
what does the Status Code:403 Forbidden mean,
the rest of my images are Status Code:304 Not Modified,
would this be the issue,

Code: Select all

Request URL:http://youniverseonline.com/includes/templates/template_default/buttons/english/BUTTON_IMAGE_IN_CART2
Request Method:GET
Status Code:403 Forbidden
Request Headers
Cache-Control:max-age=0
Referer:http://youniverseonline.com/index.php?main_page=index
User-Agent:Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.3 (KHTML, like Gecko) Chrome/6.0.472.63 Safari/534.3
Response Headers
Connection:Keep-Alive
Content-Length:537
Content-Type:text/html; charset=iso-8859-1
Date:Sun, 26 Sep 2010 19:34:52 GMT
Keep-Alive:timeout=5, max=94
Server:Apache/2.2.16 (Unix) mod_ssl/2.2.16 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4

Been looking at the linkage issues,
Looked at 1 links code that wasn't broken and then the code for the broken link,
I will post both,
Thanks,
Broken code

Code: Select all

<div class="centerColumn" id="indexProductList">

<h1 id="productListHeading">Home</h1>


<div class="wrapper" id="indexProductListCatDescription">

        
    
</div>



<br class="clearBoth" />

<div id="productListing">


<table width="100%" border="0" cellspacing="0" cellpadding="0" id="cat7Table" class="tabTable">
  <tr  class="productListing-odd">
   <th class="productListing-data" scope="col" id="listCell0-0">There are no products to list in this category.</th>

  </tr>
 
</table>

</div>

Correct code

Code: Select all

<div class="centerColumn" id="indexProductList">

<h1 id="productListHeading">Kitchen Faucets</h1>


<div class="wrapper" id="indexProductListCatDescription">

        
        <div id="categoryImgListing" class="categoryImg"><img src="bmz_cache/8/803fce93c5246a356fc9af080896c339.image.38x50.jpg" alt="" width="38" height="50" /></div>
        
    
</div>




<form name="filter" action="http://youniverseonline.com/index.php?main_page=index" method="get"><label class="inputLabel">Filter Results by:</label><input type="hidden" name="main_page" value="index" /><input type="hidden" name="cPath" value="2" /><input type="hidden" name="sort" value="20a" /><select name="alpha_filter_id" onchange="this.form.submit()">
  <option value="0">Items starting with ...</option>
  <option value="65">A</option>

  <option value="66">B</option>
  <option value="67">C</option>
  <option value="68">D</option>
  <option value="69">E</option>
  <option value="70">F</option>
  <option value="71">G</option>

  <option value="72">H</option>
  <option value="73">I</option>
  <option value="74">J</option>
  <option value="75">K</option>
  <option value="76">L</option>
  <option value="77">M</option>

  <option value="78">N</option>
  <option value="79">O</option>
  <option value="80">P</option>
  <option value="81">Q</option>
  <option value="82">R</option>
  <option value="83">S</option>

  <option value="84">T</option>
  <option value="85">U</option>
  <option value="86">V</option>
  <option value="87">W</option>
  <option value="88">X</option>
  <option value="89">Y</option>

  <option value="90">Z</option>
  <option value="48">0</option>
  <option value="49">1</option>
  <option value="50">2</option>
  <option value="51">3</option>
  <option value="52">4</option>

  <option value="53">5</option>
  <option value="54">6</option>
  <option value="55">7</option>
  <option value="56">8</option>
  <option value="57">9</option>
</select>
</form>

<br class="clearBoth" />

<div id="productListing">

<div id="productsListingTopNumber" class="navSplitPagesResult back">Displaying <strong>1</strong> to <strong>4</strong> (of <strong>26</strong> products)</div>
<div id="productsListingListingTopLinks" class="navSplitPagesLinks forward"> &nbsp;<strong class="current">1</strong>&nbsp;&nbsp;<a href="http://youniverseonline.com/index.php?main_page=index&cPath=2&sort=20a&page=2" title=" Page 2 ">2</a>&nbsp;&nbsp;<a href="http://youniverseonline.com/index.php?main_page=index&cPath=2&sort=20a&page=3" title=" Page 3 ">3</a>&nbsp;&nbsp;<a href="http://youniverseonline.com/index.php?main_page=index&cPath=2&sort=20a&page=4" title=" Page 4 ">4</a>&nbsp;&nbsp;<a href="http://youniverseonline.com/index.php?main_page=index&cPath=2&sort=20a&page=5" title=" Page 5 ">5</a>&nbsp;<a href="http://youniverseonline.com/index.php?main_page=index&cPath=2&sort=20a&page=6" title=" Next Set of 5 Pages ">...</a>&nbsp;&nbsp;<a href="http://youniverseonline.com/index.php?main_page=index&cPath=2&sort=20a&page=2" title=" Next Page ">[Next&nbsp;>>]</a>&nbsp;</div>

<br class="clearBoth" />

<table width="100%" border="0" cellspacing="0" cellpadding="0" id="cat2Table" class="tabTable">
  <tr  class="productListing-rowheading">
   <th class="productListing-heading" align="center" scope="col" id="listCell0-0">Product Image</th>
   <th class="productListing-heading" scope="col" id="listCell0-1"><a href="http://youniverseonline.com/index.php?main_page=index&cPath=2&page=1&sort=2a" title="Sort products descendingly by Item Name" class="productListing-heading">Item Name-</a></th>
   <th class="productListing-heading" align="right" width="125" scope="col" id="listCell0-2"><a href="http://youniverseonline.com/index.php?main_page=index&cPath=2&page=1&sort=3a" title="Sort products ascendingly by Price" class="productListing-heading">Price</a></th>
  </tr>
  <tr  class="productListing-odd">

   <td class="productListing-data" align="center"><a href="http://youniverseonline.com/index.php?main_page=product_info&cPath=2&products_id=110"><img src="bmz_cache/3/3da69ff8ee153e48c45f2acb97f15cc3.image.200x200.jpg" alt="Single Handle Antique Brass Centerset Kitchen Faucet2211AB" title=" Single Handle Antique Brass Centerset Kitchen Faucet2211AB " width="200" height="200" class="listingProductImage" /></a></td>
   <td class="productListing-data"><h3 class="itemTitle"><a href="http://youniverseonline.com/index.php?main_page=product_info&cPath=2&products_id=110">Single Handle Antique Brass Centerset Kitchen Faucet2211AB</a></h3><div class="listingDescription">Specification: Suitable Place: Kitchen Installation Type: Centerset Valve Type: Ceramic Valve Material: Brass Finish: Antique Brass What's in the box: (including Fixture, Straight Tube, Shower Holder, Hose, Diverter and Faucet Body) 1 x Faucet 2 x Hose 1 x Accessory Set, 1 x Installation Instruction Features: Experience standing in the rain… while...</div></td>
   <td class="productListing-data" align="right"><span class="normalprice">$250.99 </span>&nbsp;<span class="productSpecialPrice">$158.99</span><br /><br /><a href="http://youniverseonline.com/index.php?main_page=product_info&cPath=2&products_id=110">... more info</a><br /><br /></td>
  </tr>
  <tr  class="productListing-even">
   <td class="productListing-data" align="center"><a href="http://youniverseonline.com/index.php?main_page=product_info&cPath=2&products_id=107"><img src="bmz_cache/a/ae57d3549162032b8b4c6550ce94f91d.image.200x200.jpg" alt="Single Handle Chrome Centerset Kitchen Faucet2206BN" title=" Single Handle Chrome Centerset Kitchen Faucet2206BN " width="200" height="200" class="listingProductImage" /></a></td>

   <td class="productListing-data"><h3 class="itemTitle"><a href="http://youniverseonline.com/index.php?main_page=product_info&cPath=2&products_id=107">Single Handle Chrome Centerset Kitchen Faucet2206BN</a></h3><div class="listingDescription">Specification: Suitable Place: Kitchen Installation Type: Centerset Valve Type: Ceramic Valve Material: Brass Finish: Chrome What's in the box: (including Fixture, Straight Tube, Shower Holder, Hose, Diverter and Faucet Body) 1 x Faucet 2 x Hose 1 x Accessory Set, 1 x Installation Instruction Features: Experience standing in the rain… while...</div></td>
   <td class="productListing-data" align="right">$155.99<br /><br /><a href="http://youniverseonline.com/index.php?main_page=product_info&cPath=2&products_id=107">... more info</a><br /><br /></td>
  </tr>
  <tr  class="productListing-odd">
   <td class="productListing-data" align="center"><a href="http://youniverseonline.com/index.php?main_page=product_info&cPath=2&products_id=108"><img src="bmz_cache/a/aef279b508c5534d84564b5795aeaee8.image.200x200.jpg" alt="Single Handle Chrome Centerset Kitchen Faucet2207" title=" Single Handle Chrome Centerset Kitchen Faucet2207 " width="200" height="200" class="listingProductImage" /></a></td>
   <td class="productListing-data"><h3 class="itemTitle"><a href="http://youniverseonline.com/index.php?main_page=product_info&cPath=2&products_id=108">Single Handle Chrome Centerset Kitchen Faucet2207</a></h3><div class="listingDescription">Specification: Suitable Place: Kitchen Installation Type: Centerset Valve Type: Ceramic Valve Material: Brass Finish: Chrome What's in the box: (including Fixture, Straight Tube, Shower Holder, Hose, Diverter and Faucet Body) 1 x Faucet 2 x Hose 1 x Accessory Set, 1 x Installation Instruction Features: Experience standing in the rain… while...</div></td>

   <td class="productListing-data" align="right">$150.99<br /><br /><a href="http://youniverseonline.com/index.php?main_page=product_info&cPath=2&products_id=108">... more info</a><br /><br /></td>
  </tr>
  <tr  class="productListing-even">
   <td class="productListing-data" align="center"><a href="http://youniverseonline.com/index.php?main_page=product_info&cPath=2&products_id=109"><img src="bmz_cache/e/e474e2de449812c6869fd04ce5b3e1cc.image.200x200.jpg" alt="Single Handle Chrome Centerset Kitchen Faucet2210" title=" Single Handle Chrome Centerset Kitchen Faucet2210 " width="200" height="200" class="listingProductImage" /></a></td>
   <td class="productListing-data"><h3 class="itemTitle"><a href="http://youniverseonline.com/index.php?main_page=product_info&cPath=2&products_id=109">Single Handle Chrome Centerset Kitchen Faucet2210</a></h3><div class="listingDescription">Specification: Suitable Place: Kitchen Installation Type: Centerset Valve Type: Ceramic Valve Material: Brass Finish: Chrome What's in the box: (including Fixture, Straight Tube, Shower Holder, Hose, Diverter and Faucet Body) 1 x Faucet 2 x Hose 1 x Accessory Set, 1 x Installation Instruction Features: Experience standing in the rain… while...</div></td>
   <td class="productListing-data" align="right">$149.99<br /><br /><a href="http://youniverseonline.com/index.php?main_page=product_info&cPath=2&products_id=109">... more info</a><br /><br /></td>

  </tr>
 
</table>
<div id="productsListingBottomNumber" class="navSplitPagesResult back">Displaying <strong>1</strong> to <strong>4</strong> (of <strong>26</strong> products)</div>
<div  id="productsListingListingBottomLinks" class="navSplitPagesLinks forward"> &nbsp;<strong class="current">1</strong>&nbsp;&nbsp;<a href="http://youniverseonline.com/index.php?main_page=index&cPath=2&sort=20a&page=2" title=" Page 2 ">2</a>&nbsp;&nbsp;<a href="http://youniverseonline.com/index.php?main_page=index&cPath=2&sort=20a&page=3" title=" Page 3 ">3</a>&nbsp;&nbsp;<a href="http://youniverseonline.com/index.php?main_page=index&cPath=2&sort=20a&page=4" title=" Page 4 ">4</a>&nbsp;&nbsp;<a href="http://youniverseonline.com/index.php?main_page=index&cPath=2&sort=20a&page=5" title=" Page 5 ">5</a>&nbsp;<a href="http://youniverseonline.com/index.php?main_page=index&cPath=2&sort=20a&page=6" title=" Next Set of 5 Pages ">...</a>&nbsp;&nbsp;<a href="http://youniverseonline.com/index.php?main_page=index&cPath=2&sort=20a&page=2" title=" Next Page ">[Next&nbsp;>>]</a>&nbsp;</div>

<br class="clearBoth" />

</div>





</div>

Another little update here again,
My webhost provider fixed the broken button for me,
Here is what he did,
Pays having good host,
/home/youniver/public_html/includes/languages/english/button_names.php. I had
to add the lines below to specify which file was supposed top be displayed.

define('BUTTON_IMAGE_IN_CART2' , 'button_image_in_cart2.gif');
define('BUTTON_IMAGE_GOTO_PROD_DETAILS2' , 'button_goto_prod_details.gif');
Post Reply