Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

D-Flxz

Pioneers
  • Posts

    88
  • Joined

  • Last visited

Posts posted by D-Flxz

  1. Got it working!

    had to rename categories_css.php to categories.php

     

    But i don't can't get it working correctly with my ststemplate :(

    because my div side_menu has a width of 200px.

    so it cuts off the lenght of the sub menu in the css categories, because it reaches the limit of the max width of the div.

    Increasing the lenght of the div will screwup my template.

    Is there a way that the css menu can overleap the div so it overleaps the content div..

  2. I have another problem with the css menu

    The only helpfull info that i could find was:

     

    you have to copy all the CSS code out of the php file in this cotribution and paste it

    into your actual CSS file. Then copy the javascript part (right after the CSS in the same file)

    and paste that into ALL your templates for STS.

    So...if you have built any additional templates for categories, or whatever,

    make sure you add the javascript to each of them, Then it will work fine with STS...

     

    So i took the CSS from categories_css.php the CSS and copied it to the style sheet (Both Catalog & STS)

     

    /*Credits: Dynamic Drive CSS Library */
    /*URL: http://www.dynamicdrive.com/style/ */
    
    .suckerdiv ul{
    margin: 0;
    padding: 0;
    list-style-type: none;
    width: 200px; /* Width of Menu Items */
    border-bottom: 1px solid #555555;
    font-family: arial;
    font-size: 12px;
    }
    
    .suckerdiv ul li{
    position: relative;
    background-color: #222222;
    }
    
    /*1st level sub menu style */
    .suckerdiv ul li ul{
    left: 199px; /* Parent menu width - 1*/
    position: absolute;
    width: 200px; /*sub menu width*/
    top: 0;
    display: none;
    }
    
    /*All subsequent sub menu levels offset */
    .suckerdiv ul li ul li ul{
    left: 199px; /* Parent menu width - 1*/
    }
    
    /*All subsequent sub menu levels offset */
    .suckerdiv ul li ul li a{
    left: 199px; /* Parent menu width - 1*/
    background-color: #222222;
    }
    
    /*All subsequent sub menu levels offset */
    .suckerdiv ul li ul li ul li a{
    background-color: #222222;
    }
    
    /*All subsequent sub menu levels offset */
    .suckerdiv ul li ul li ul li ul li a{
    background-color: #222222;
    }
    
    /* menu links style */
    .suckerdiv ul li a{
    display: block;
    color: yellow;
    text-decoration: none;
    background-color: #222222;
    padding: 1px 5px;
    border: 1px solid #555555;
    border-bottom: 0;
    line-height: 1.75em;
    }
    
    .suckerdiv ul li a:hover{
    background-color: yellow;
    color: black;
    text-decoration: none;
    }
    
    .suckerdiv ul li ul li a:hover{
    background-color: yellow;
    color: black;
    text-decoration: none;
    }
    
    .suckerdiv ul li ul li ul li a:hover{
    background-color: yellow;
    color: black;
    text-decoration: none;
    }
    
    /* The main categories with sub-categories */
    .suckerdiv .subfolderstyle{
    background: url(images/arrow-list.gif) no-repeat center right;
    }
    
    /* This one colors the sub-folder with other sub-folders */
    .suckerdiv ul li ul .subfolderstyle {
    background-color: #222222;
    }
    
    /* This one colors the sub-folder with other sub-folders */
    .suckerdiv ul li ul li ul .subfolderstyle {
    background-color: #222222;
    }
    
    /* This one colors the sub-folder with other sub-folders */
    .suckerdiv ul li ul li ul li ul .subfolderstyle {
    background-color: #222222;
    }
    
    /* Holly Hack for IE \*/
    * html .suckerdiv ul li { float: left; height: 1%; }
    * html .suckerdiv ul li a { height: 1%; }
    /* End */

     

    Then i took the java from catgories_css.php and copied into the sts templates index.php.html & product_info.php.html

     

    <script type="text/javascript">
    
    //SuckerTree Vertical Menu (Aug 4th, 06)
    //By Dynamic Drive: http://www.dynamicdrive.com/style/
    
    var menuids=["suckertree1"] //Enter id(s) of SuckerTree UL menus, separated by commas
    
    function buildsubmenus(){
    for (var i=0; i<menuids.length; i++){
     var ultags=document.getElementById(menuids[i]).getElementsByTagName("ul")
       for (var t=0; t<ultags.length; t++){
       ultags[t].parentNode.getElementsByTagName("a")[0].className="subfolderstyle"
       ultags[t].parentNode.onmouseover=function(){
       this.getElementsByTagName("ul")[0].style.display="block"
       }
       ultags[t].parentNode.onmouseout=function(){
       this.getElementsByTagName("ul")[0].style.display="none"
       }
       }
     }
    }
    
    if (window.addEventListener)
    window.addEventListener("load", buildsubmenus, false)
    else if (window.attachEvent)
    window.attachEvent("onload", buildsubmenus)
    
    </script>

     

    But there no css menu comin' up? when sts is turned of it show the css menu..

     

    Any thoughts?

  3. Hi, duz somebody uses Fancier Invoice & Packingslip v1.0

     

    It works good without sts, but not when you are using print invoice on the customer side...

    When you click on print invoice you see in the popup screen some screwed-up pieces from the index and some pieces from the invoice.

    You should only see the invoice details but pieces from rest of the site, when sts is turned of it works perfect.

     

    I did a lot of searchin' but didn't find a decent answer

    Don't know how to fix it...

    Allready found the answer...

    In the sts_default.php file, find the following code:

      if (strstr($scriptbasename, "popup")|| strstr($scriptbasename, "info_shopping_cart"))
      return ''; // We don't use template for these scripts

     

    Replace with:

      if (strstr($scriptbasename, "popup") || strstr($scriptbasename, "print_my_invoice")|| strstr($scriptbasename, "info_shopping_cart"))          
    return ''; // We don't use template for these scripts	

     

     

    Thanks to B. Kellum

  4. Hi, duz somebody uses Fancier Invoice & Packingslip v1.0

     

    It works good without sts, but not when you are using print invoice on the customer side...

    When you click on print invoice you see in the popup screen some screwed-up pieces from the index and some pieces from the invoice.

    You should only see the invoice details but pieces from rest of the site, when sts is turned of it works perfect.

     

    I did a lot of searchin' but didn't find a decent answer

    Don't know how to fix it...

  5. double check that all the included files actually got uploaded to your site. Then double check that PHP errors are turned on with your host so that you may be able to debug future issues.

    Hi, this line is causing the empty shopping card

     

    // BOF: Additional Images
     if (empty($_GET['pID'])) { $_GET['pID'] = $_GET['products_id']; }

     

    I'm testing the site on an local server (Xampp) but it turned al on the php error handling in php.ini

    but no errors are showing up? maybee i did something wrong...

     

    No files are missing..

  6. Hi, this code is causing me a empty shoppingcard on product_info.php

     

    // BOF: Additional Images
     if (empty($_GET['pID'])) { $_GET['pID'] = $_GET['products_id']; }
    
    if (ADDIMAGES_MENU_LOCATION == 'product_info') { 
     include(DIR_WS_LANGUAGES . $language . '/' . FILENAME_POPUP_ADD_IMAGE);
    
    // $navigation->remove_current_page();
    
     if (!empty($_GET['imagesID'])) {
       $products_query = tep_db_query( "SELECT ai.products_id, ai.images_description, ai.thumb_images, ai.medium_images, ai.popup_images, p.products_image, p.products_image_med, p.products_image_pop, p.products_image_description FROM " . TABLE_ADDITIONAL_IMAGES . " ai, " . TABLE_PRODUCTS . " p WHERE ai.products_id=p.products_id and ai.additional_images_id = '".(int)$_GET['imagesID']."'");
       $selected_image = tep_db_fetch_array($products_query);
     } elseif (!empty($_GET['pID'])) {
       $products_query = tep_db_query( "SELECT products_id, products_image, products_image_med, products_image_pop, products_image_description FROM " . TABLE_PRODUCTS . " WHERE products_id = '".(int)$_GET['pID']."'");
       $selected_image = tep_db_fetch_array($products_query);
     }
    
     $imagemenu = new displayonpageimagemenu ( $selected_image['products_id'] );
    
     // calculate menu size in pixels
     $extra_window_width = 24;  // space for web browser
     $extra_window_height = 86;  // space for web browser
    
     if (ADDIMAGES_POPUP_SHOW_ON_POPUP == 'true' && ($imagemenu->addimages_count > 1)) {
       list ($menu_width, $menu_height) = $imagemenu->boxsize();
       if (ADDIMAGES_POPUP_TABLE_LOCATION == 'sides') { 
      $extra_window_width += $menu_width; 
      if ($imagemenu->maximageheight < $menu_height) { $imagemenu->maximageheight = $menu_height; }
    }
       if (ADDIMAGES_POPUP_TABLE_LOCATION == 'above' || ADDIMAGES_POPUP_TABLE_LOCATION == 'below') { 
      $extra_window_height += $menu_height; 
      if ($imagemenu->maximagewidth < $menu_width) { $imagemenu->maximagewidth = $menu_width; }
    }
     }
     if(!empty($selected_image['products_image_description'])) { 
       $imagemenu->maximageheight += 22; // add space for large image description text height
     }
    }
    // EOF: Additional Images
    
    
    

     

    Somebody knows why?

     

    Without the script the buy now button works o.k.

  7. Another question..

     

    When i turn on the product_info.php.html internet explorer gives me error message

     

    Usersagent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; OfficeLiveConnector.1.3; OfficeLivePatch.0.0; InfoPath.1; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)

    Tijdstempel: Fri, 21 May 2010 09:00:55 UTC

     

     

    Message: Object expected

    line: 17

    Sign: 2

    Code: 0

    URI: http://localhost/quad-350cc-groen-p-28.html?osCsid=9df54f6ac80ec8db73e9c5d547e36b49

     

    i translated to english.. i hope i did it wright

     

     

    This is only when the template is activated. so i think it has to do with sts

     

    Thnaks for your help!

  8. I've used it in the past with no issues with STS. The reason it is not working for you when you use the Product Info Content Template feature is because you did not modify the includes/modules/sts_inc/product_info.php file with the added code from product tabs that you added to the stock osC product_info.php file.

     

    If you installed Product Tabs correctly, then it will work in STS with no additional code changes as long as you do not require the use of the Product Info Content Template feature in STS. If you do need this feature, then you will have to do as suggested above.

    Hi Bill!

     

    thanks for you info, but i can't manage how to do it...

     

    this is my current product_info.php

     

    <?php
    /*
     $Id: product_info.php,v 1.97 2003/07/01 14:34:54 hpdl Exp $
    
     osCommerce, Open Source E-Commerce Solutions
     http://www.oscommerce.com
    
     Copyright (c) 2003 osCommerce
    
     Released under the GNU General Public License
    */
    
     require('includes/application_top.php');
    
     require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_PRODUCT_INFO);
    
     $product_check_query = tep_db_query("select count(*) as total 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 = '" . (int)$languages_id . "'");
     $product_check = tep_db_fetch_array($product_check_query);
    ?>
    <!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; ?>">
    <?php 
    # cDynamic Meta Tags
    /*<title><?php echo TITLE; ?>*/
    require(DIR_WS_INCLUDES . 'meta_tags.php');
    #
    ?>
    <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,resizable=yes,copyhistory=no,width=100,height=100,screenX=150,screenY=150,top=150,left=150')
    }
    //--></script>
    <?php
    /* Product Tabs 2.1 Start--> Handle many JavaScript in product_info.php
    // Example if you have menu.js JavaScript what need to onload you can use this code
    window.onload=function(){
    initTabs();
    menu();
    }
    </script>
    */
    ?> 
    <script language="javascript">
    window.onload=function(){
    initTabs();
    }
    </script>
    <!-- Product Tabs 2.1 End-->
    </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
     if ($product_check['total'] < 1) {
    ?>
         <tr>
           <td><?php new infoBox(array(array('text' => TEXT_PRODUCT_NOT_FOUND))); ?></td>
         </tr>
         <tr>
           <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
         </tr>
         <tr>
           <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">
             <tr class="infoBoxContents">
               <td><table border="0" width="100%" cellspacing="0" cellpadding="2">
                 <tr>
                   <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
                   <td align="right"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image_button('button_continue.gif', IMAGE_BUTTON_CONTINUE) . '</a>'; ?></td>
                   <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
                 </tr>
               </table></td>
             </tr>
           </table></td>
         </tr>
    <?php
     } else {
    //Product Tabs 2.0 Start
    // BOF
       $product_info_query = tep_db_query("select p.products_id, pd.products_name, pd.products_description, pd.products_spec, pd.products_musthave, pd.products_extraimage, pd.products_manual, pd.products_extra1, pd.products_moreinfo, p.products_model, p.products_quantity, p.products_image, p.products_image_med, p.products_image_lrg, p.products_image_sm_1, p.products_image_xl_1, p.products_image_sm_2, p.products_image_xl_2, p.products_image_sm_3, p.products_image_xl_3, p.products_image_sm_4, p.products_image_xl_4, p.products_image_sm_5, p.products_image_xl_5, p.products_image_sm_6, p.products_image_xl_6, 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 = '" . (int)$languages_id . "'");
    // EOF
    //Product Tabs 2.0 End
       $product_info = tep_db_fetch_array($product_info_query);
    
       tep_db_query("update " . TABLE_PRODUCTS_DESCRIPTION . " set products_viewed = products_viewed+1 where products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and language_id = '" . (int)$languages_id . "'");
    
       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']));
       }
    
       if (tep_not_null($product_info['products_model'])) {
         $products_name = $product_info['products_name'] . '<br><span class="smallText">[' . $product_info['products_model'] . ']</span>';
       } else {
         $products_name = $product_info['products_name'];
       }
    ?>
         <tr>
           <td><table border="0" width="100%" cellspacing="0" cellpadding="0">
             <tr>
               <td class="pageHeading" valign="top"><?php echo $products_name; ?></td>
               <td class="pageHeading" align="right" valign="top"><?php echo $products_price; ?></td>
             </tr>
           </table></td>
         </tr>
         <tr>
           <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
         </tr>
         <tr>
           <td class="main">
    <?php
       if (tep_not_null($product_info['products_image'])) {
    ?>
             <table border="0" cellspacing="0" cellpadding="2" align="right">
               <tr>
                 <td align="center" class="smallText">
    <!--Product Tabs 2.0 Start-->
    <!--BOF UltraPics-->
    <?php
    if ($product_info['products_image_med']!='') {
    	$new_image = $product_info['products_image_med'];
    	$image_width = MEDIUM_IMAGE_WIDTH;
    	$image_height = MEDIUM_IMAGE_HEIGHT;
    } else {
    	$new_image = $product_info['products_image'];
    	$image_width = SMALL_IMAGE_WIDTH;
    	$image_height = SMALL_IMAGE_HEIGHT;
    }
    
    ?>
    <!--EOF UltraPics-->
    <!--Product Tabs 2.0 End-->
    <script language="javascript"><!--
    //Product Tabs 2.0 Start
    //BOF UltraPics
    //BOF Original
    /*
    document.write('<?php echo '<a href="javascript: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>'; ?>');
    */
    //EOF Original
    document.write('<?php echo '<a href="javascript:popupWindow(\\\'' . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $product_info['products_id'] . 'ℑ=0') . '\\\')">' . tep_image(DIR_WS_IMAGES . $new_image, addslashes($product_info['products_name']), $image_width, $image_height, 'hspace="5" vspace="5"') . '<br>' . tep_image_button('image_enlarge.gif', TEXT_CLICK_TO_ENLARGE) . '</a>'; ?>');
    //EOF UltraPics
    //Product Tabs 2.0 End
    //--></script>
    <noscript>
    <!--Product Tabs 2.0 Start-->
    <!--BOF UltraPics-->
    <!--BOF Original--><!--
    <?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image']) . '" target="_blank">' . 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>'; ?>
    --><!--EOF Original-->
    <?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image_med']) . '">' . tep_image(DIR_WS_IMAGES . $new_image . 'ℑ=0', addslashes($product_info['products_name']), $image_width, $image_height, 'hspace="5" vspace="5"') . '<br>' . tep_image_button('image_enlarge.gif', TEXT_CLICK_TO_ENLARGE) . '</a>'; ?>
    <!--EOF UltraPics-->
    <!--Product Tabs 2.0 End-->
    </noscript>
                 </td>
               </tr>
             </table>
    
    <?php
       }
    ?>
    <!--Product Tabs 2.0 Start-->
    <TABLE CELLPADDING="5" CELLSPACING="0" WIDTH="80%" STYLE="BORDER: 0PX SOLID #000000;background: #FFFFFF;">
    <tr>
    <td>
    <?php
          include(DIR_WS_MODULES . 'product_tabs.php');
    ?>
    </td></tr></table>
    <!--Product Tabs 2.0 End-->
    <?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 = '" . (int)$languages_id . "'");
       $products_attributes = tep_db_fetch_array($products_attributes_query);
       if ($products_attributes['total'] > 0) {
    ?>
             <table border="0" cellspacing="0" cellpadding="2">
               <tr>
                 <td class="main" colspan="2"><?php echo TEXT_PRODUCT_OPTIONS; ?></td>
               </tr>
    <?php
         $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 = '" . (int)$languages_id . "' order by popt.products_options_name");
         while ($products_options_name = tep_db_fetch_array($products_options_name_query)) {
           $products_options_array = array();
           $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 = '" . (int)$products_options_name['products_options_id'] . "' and pa.options_values_id = pov.products_options_values_id and pov.language_id = '" . (int)$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'])) .') ';
             }
           }
    
           if (isset($cart->contents[$HTTP_GET_VARS['products_id']]['attributes'][$products_options_name['products_options_id']])) {
             $selected_attribute = $cart->contents[$HTTP_GET_VARS['products_id']]['attributes'][$products_options_name['products_options_id']];
           } else {
             $selected_attribute = false;
           }
    ?>
               <tr>
                 <td class="main"><?php echo $products_options_name['products_options_name'] . ':'; ?></td>
                 <td class="main"><?php echo tep_draw_pull_down_menu('id[' . $products_options_name['products_options_id'] . ']', $products_options_array, $selected_attribute); ?></td>
               </tr>
    <?php
         }
    ?>
             </table>
    <?php
       }
    ?>
           </td>
         </tr>
         <tr>
           <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
         </tr>
    <?php
       $reviews_query = tep_db_query("select count(*) as count from " . TABLE_REVIEWS . " where products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "'");
       $reviews = tep_db_fetch_array($reviews_query);
       if ($reviews['count'] > 0) {
    ?>
         <tr>
           <td class="main"><?php echo TEXT_CURRENT_REVIEWS . ' ' . $reviews['count']; ?></td>
         </tr>
         <tr>
           <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
         </tr>
    <?php
       }
    
       if (tep_not_null($product_info['products_url'])) {
    ?>
         <tr>
           <td class="main"><?php echo sprintf(TEXT_MORE_INFORMATION, tep_href_link(FILENAME_REDIRECT, 'action=url&goto=' . urlencode($product_info['products_url']), 'NONSSL', true, false)); ?></td>
         </tr>
         <tr>
           <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
         </tr>
    <?php
       }
    
       if ($product_info['products_date_available'] > date('Y-m-d H:i:s')) {
    ?>
         <tr>
           <td align="center" class="smallText"><?php echo sprintf(TEXT_DATE_AVAILABLE, tep_date_long($product_info['products_date_available'])); ?></td>
         </tr>
    <?php
       } else {
    ?>
    
    <?php
       }
    ?>
         <tr>
           <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
         </tr>
         <tr>
           <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">
             <tr class="infoBoxContents">
               <td><table border="0" width="100%" cellspacing="0" cellpadding="2">
                 <tr>
                   <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
                   <td class="main"><?php echo '<a href="' . tep_href_link(FILENAME_PRODUCT_REVIEWS, tep_get_all_get_params()) . '">' . tep_image_button('button_reviews.gif', IMAGE_BUTTON_REVIEWS) . '</a>'; ?></td>
                   <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>
                   <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
                 </tr>
               </table></td>
             </tr>
           </table></td>
         </tr>
         <tr>
           <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
         </tr>
         <tr>
           <td>
    <?php
       if ((USE_CACHE == 'true') && empty($SID)) {
         echo tep_cache_also_purchased(3600);
       } else {
         include(DIR_WS_MODULES . FILENAME_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'); ?>
    

  9. I have another problem wih the product tabs...

     

    when i turn off sts product_info template, the product tabs are working. But when i want to enlarge some picz in the product tabs menu it displays only the sts popup image from product_info and not the popup from extra picz that are listed in the product tabs..

  10. Hi, duz somebody know how to get the the product tabs contri working with sts?

     

    At this moment it's only working when i use template for product info page set to false.

     

    When i turn it on i can't get if fixed to work with sts..

     

    I'm searchin'for days now, but i can't get fixed

     

    any thoughts?

  11. Hi, a few days ago my hoster (a friend of mine) turned on some error reporting function on his server, and all images were gone... except for the pictures on the full discription. when he turned off the error reporting all pictures were showing up.

    i replaced imagemagic.php v1.5 for imagemagic.php v1.7 and all images where showing up,

    Everything works fine now except that the watermark ain't showing up, and after 2 days's of searching, i can't get it work properly.

     

    somebody has a clue?

  12. Hi, nice contri :D

     

    Good work!

     

    Works like a charm!

    except for 1 thing, when i create a product i can fill the extra fields, it also shows up in the discription, but when edit the product, the extra field data is lost and i have to retype all the lost data in the extra fields. This will cause me a lot of extra work when i want to correct/update a product

     

    Is there a way to fix this? or it just works like this?

     

    thnxz in advance.

  13. you may want to post that one in a more general forum as it is not a related bug to the contribution

     

    I to have noticed that if changed in admin it will not change on site -- but have not looked into an answer

     

    Hmmm i thought that this was the support forum for the "Fancier Invoice & Packingslip"

    i think it's relative to the contri because it dusn't show the tax in the invoice wich belongs to this contri.

    Maybee there's a little fix?

     

    tax.jpg

  14. I was searchin' for this to....

     

    You are a Hero !!!

     

    :D

     

    1 tiny little thing, and then it's perfect..

    you got the blue validation form, that's placed in a white table, but on the right side of the tabel there's a lot of unwanted white space, i hope that you know what i mean.

     

    I don't know how to reduce the white space, so that it looks equal on both sides

     

    Anyway, much thnxz for the work you did...

  15. Got it :D

    Need to do some more testing but it appears to be o.k.

     

    catalog\includes\functions\general.php

    line 453

     

    change:

    	  $country = tep_output_string_protected($address['country']['title']);

     

    to:

    	  $country = tep_output_string_protected($address['country']);

     

    There could be some issue's with paypal ipn, have to check it out..

  16. So now, all of the invoices and packing slips are displaying good overall except for the invoice on the customers side. Did anyone ever figure out how to resolve the problem with only the first letter of the county being shown?

     

    Yeah me 2... :D

     

    i'am still working on it...

    But till now, still no progress :(

     

     

    butt till now i only broke 3 computer screens.... :P

  17. The account_history_info.php page has to be pulling the codes from different defines than what are in print_my_invoice.php.

     

    Ik think That's correct, but most of the time catalog\includes\languages\english\print_my_invoice.php

    is related to:

    catalog\print_my_invoice.php

     

    But anyway, I solved it by working that way.

    I had the problem, i saw in the shop that catalog\account_history_info.php was displaying: NAVBAR_TITLE_2 instead of : History

     

    I added in: catalog\includes\languages\english\account_history_info.php

    define('NAVBAR_TITLE_2', 'History');

×
×
  • Create New...