Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Stealth1

Pioneers
  • Posts

    335
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Stealth1

  1. If yours is an English language implementation you don't have to concern yourself with stopwords etc so there's really not much to learn . . the initial settings should be fine.

     

    You may want to take a look at includes/languages/english/kissmt.php where the standard text lives.

     

    If you add a category/manufacturers description it is worth bearing in mind that KissMT will use that and will stop gathering data from the database so the first X words of the descriptions are very important and should be keyword rich as they will be used for the meta data.

     

    Also if you make changes and nothing seems to happen, you haven't reset the cache.

     

    Hope that helps.

     

    Is the "description" that I input in the admin side supposed to be displayed on the page under the section heading? Did I do something wrong?

     

    http://tougetuning.com/testsite/index.php/dvd-movies-action-c-3_10

  2. I am trying to add the Categories and Manufacturers Descriptions but I am stuck at the following. I have 4 instances of the code your saying to look for. I found the first within the nested categories but the other one I can't determine from your description.

     

    Find ... There are three of these we only want to change the first two. One in nested categories the other in products/manufacturers listings

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

     

    Replace with ...

            </table>
           <?php KissMT_Desc_Extn::init()->output(); ?>
           </td>
         </tr>
         <tr>
           <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>

     

    The second Instance is here

    // needed for the new products module shown below
       $new_products_category_id = $current_category_id;
    ?>
                 </tr>
               </table></td>
             </tr>
             <tr>
               <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>

     

    The third is here

                <td align="right"><?php echo tep_image(DIR_WS_IMAGES . $image, HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>
             </tr>
           </table></td>
         </tr>
         <tr>
           <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>

     

    The fourth is here

                <td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_default.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>
             </tr>
           </table></td>
         </tr>
         <tr>
           <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>

  3.  

    Thanks for the link, so I went through and changed everything and now its working properly. For those who may run into this problem in the future here is what I had to do.

     

    I have All Products SEO V1.2 for reference

     

    Changed the following files from all-products.php to all_products.php in

    Catalog/

    Catalog/includes/functions/

    Catalog/includes/boxes/

    Catalog/includes/languages/english/

    Catalog/includes/modules/

    Catalog/admin/

    Catalog/admin/includes/languages/english/

     

    Changed all-products.php to all_products.php inside the following files

    Catalog/includes/filenames.php

    Catalog/includes/column_left.php

    Catalog/admin/includes/english/english.php

    Catalog/admin/includes/filenames.php

  4. sure in this thread somewhere is a fix for all products. Basically the file is misnamed all-products.php osCommerce filenames use filename.php and file_name.php but never hyphen so the script is filtering it.

     

    I've tried searching but it comes up with 7 pages of stuff that doesn't relate to all products SEO regardless of what I search.

     

    If I change all-products.php to all_products.php what else will I have to change?

  5. Does this work with All Products SEO? I am getting the following errors when I click "view all products"

     

    Warning: USU5 could not find a valid base filename, please inform the developer. in /home/trplscom/public_html/tougetuning/testsite/includes/application_top.php on line 69
    
    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/trplscom/public_html/tougetuning/testsite/includes/application_top.php:69) in /home/trplscom/public_html/tougetuning/testsite/includes/functions/sessions.php on line 102
    
    Warning: USU5 could not find a valid base filename, please inform the developer. in /home/trplscom/public_html/tougetuning/testsite/includes/application_top.php on line 69

  6. If you are using a cron job to run the file daily/weekly etc, when you set up the cron job you use that command ( changing the ***** to correct values of course)

     

    What correct values?

     

    My original command is

    php ......................./tougetuning/testsite/googlesitemap/index.php

     

    What values are you referring to as using for *****?

     

    Also for the new command I am guessing I would change the second part to the below?

     

    * * * * * * wget -q http://www.tougetuning.com/testsite/googlesitemap/index.php >/dev/null 2>&1

  7. Just installed this and want to complete the install. I have Google XML Sitemap and I understand I have to upload 2 files but I am unsure of the last part of the instructions. Could you possibly explain this to me or what I need to do.

     

    Cron jobs:

     

    Because the cron files now include files the cron will have to be changed to access the file using apache.

     

    Like ..

     

    * * * * * * wget -q http://www.somesite.com/folder/file.php >/dev/null 2>&1

  8. I just installed this and I have an issue, the sub-total is not showing nor is the taxes.

     

    Sub-Total is always displaying $0.00 and then somehow the Total: ends up at some random number which I can't seem to find a reason for as it is not just the shipping. There is also no line for taxes it simply has sub-total, shipping, total.

     

    Another issue is it doesn't display any of the payment details, I use money order as a method of payment yet it doesn't tell the customer where or who to send the Money Order to.

  9. For those having issues with the price entered being multiplied make sure you look at the following admin area.

     

    Under Admin -> Config -> Shipping/Packaging there is an option for multiplying the rate if the zone is not the one for your country. It is likely set to 3 and your home country probably isn't set either.

     

    For those who are having the issue where the entered price isn't staying when you edit and update a product and then is showing $0.00 no matter what I found this was caused by the instructions being unclear.

     

    In /catalog/admin/categories.php

     

    Where it says find: (There are multiple instances of this code in this file and I believe people are placing the code in the wrong space because of this)

    if (USE_CACHE == 'true') {
    				tep_reset_cache_block('categories');
    				tep_reset_cache_block('also_purchased');
    			}

     

    Add Before:

    // start indvship
             $sql_shipping_array = array('products_ship_zip' => tep_db_prepare_input($_POST['products_ship_zip']),
    'products_ship_methods_id' => tep_db_prepare_input($_POST['products_ship_methods_id']),
    'products_ship_price' => round(tep_db_prepare_input($_POST['products_ship_price']),4),
    'products_ship_price_two' => round(tep_db_prepare_input($_POST['products_ship_price_two']),4));
             $sql_shipping_id_array = array('products_id' => (int)$products_id); 
             $products_ship_query = tep_db_query("SELECT * FROM " . TABLE_PRODUCTS_SHIPPING . " WHERE products_id = " . (int)$products_id);
             if(tep_db_num_rows($products_ship_query) >0) {
               if (($_POST['products_ship_zip'] == '')&&($_POST['products_ship_methods_id'] == '')&&($_POST['products_ship_price'] == '')&&($_POST['products_ship_price_two'] == '')){
                 tep_db_query("DELETE FROM " . TABLE_PRODUCTS_SHIPPING . " where products_id = '" . (int)$products_id . "'");
               } else {
                 tep_db_perform(TABLE_PRODUCTS_SHIPPING, $sql_shipping_array, 'update', "products_id = '" . (int)$products_id . "'");
               }
             } else {
               if (($_POST['products_ship_zip'] != '')||($_POST['products_ship_methods_id'] != '')||($_POST['products_ship_price'] != '')||($_POST['products_ship_price_two'] != '')){
                 $sql_ship_array = array_merge($sql_shipping_array, $sql_shipping_id_array);
                 tep_db_perform(TABLE_PRODUCTS_SHIPPING, $sql_ship_array, 'insert');
               }
             }
             // end indvship

     

    It Should say Find:

    if (USE_CACHE == 'true') {
               tep_reset_cache_block('categories');
               tep_reset_cache_block('also_purchased');
             }
    
             tep_redirect(tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . '&pID=' . $products_id));
           }
           break;
         case 'copy_to_confirm':

  10. Just installed this and there appears to be a BIG bug which may have been caused by a previous revision. If you have an item set at an individual shipping price and another that is set to use your normal shipping module (say UPS). If the 2 items are in the cart together the customer can checkout with only paying the shipping for the individual shipping.

     

    It should work as follows

     

    -Item with Individual Shipping Price only in cart - Display all options (UPS, Individual shipping price etc)

    -Item with No Individual shipping price, normal weight/dimensions setup (Display UPS only, do not display Individual Shipping Price)

    -1 Item with Individual shipping Price set and 1 with the normal weight/dimensions (Display UPS only, do not display Individual Shipping Price)

     

    I suck at code so I probably won't be able to fix this myself but hoping someone else can

  11. Is Step 15 correct for the install instructions?

     

    15) In catalog/includes/boxes/categories.php,

     

    FIND:

     

       new infoBox($info_box_contents);

     

    ADD BEFORE:

     

      $info_box_contents[] = array('align' => 'center',
                                  'text' => '<a class="allproductsBox" href="' . tep_href_link(FILENAME_PRODUCTS_NEW) . '" title="' . BOX_INFORMATION_ALLPRODS_SEO_WHATSNEW . '">' . BOX_INFORMATION_ALLPRODS_SEO_WHATSNEW .'</a>');

  12. Just installed this mod and it works 99% correct so far from what I have tested. The only problem I came across was when I click the "New Order Email" button I get the following error.

     

    1146 - Table 'trplscom_osc3.eorder_text' doesn't exist
    
    SELECT * FROM eorder_text where eorder_text_id = '1' and language_id = '1'
    
    [TEP STOP]
    

  13. perhaps u upload the file to the wrong place (not admin?) I say again if you define a function you cannot get a Call to undefined function error for it!! english.php is always called, so any functions in it are always defined so if your error says not defined, you did'nt put it there or you made errors in edit, no other option..

     

    How many times do I have to repeat it, YOU MESSED UP, do others have your error no, why not!!!

     

    I figured out YOUR error which is in the instructions in states "In includes/languages/english.php (or other language)" where it should say admin/includes/languages/english.php

     

    Maybe you should take a look at your work before you blame others!

  14. I see where your problem may be. Do you have a popup sized image defined for that product?

     

    This change in the product_info.php will display the thumb if the popup image is not present:

     

    find:

    if (ENABLE_LIGHTBOX == 'true') {
    // lightbox addon
    ?><script language="javascript"><!--
    document.write('<?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image_pop']) . '"target="_blank" rel="lightbox[group]" title="'. $product_info['products_name'].'" >' . tep_image(DIR_WS_IMAGES . (!empty($product_info['products_image_med'])?$product_info['products_image_med']:(!empty($product_info['products_image_pop'])?$product_info['products_image_pop']:(!empty($product_info['products_image'])?$product_info['products_image']:''))), addslashes($product_info['products_name']), (ADDIMAGES_RESTRICT_PARENT=='true'?DISPLAY_IMAGE_WIDTH:''), (ADDIMAGES_RESTRICT_PARENT=='true'?DISPLAY_IMAGE_HEIGHT:''), 'hspace="5" vspace="5"') . '<br>' . (!empty($product_info['products_image_description'])?$product_info['products_image_description']:TEXT_CLICK_TO_ENLARGE) . '</a>'; ?>');
    //--></script>
    <noscript>
    <?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . (!empty($product_info['products_image_pop'])?$product_info['products_image_pop']:$product_info['products_image'])) . '" target="_blank" rel="lightbox[group]" title="'.$product_info['products_name'].'">' . tep_image(DIR_WS_IMAGES . (!empty($product_info['products_image_med'])?$product_info['products_image_med']:(!empty($product_info['products_image_pop'])?$product_info['products_image_pop']:(!empty($product_info['products_image'])?$product_info['products_image']:''))), $product_info['products_name'], (ADDIMAGES_RESTRICT_PARENT=='true'?DISPLAY_IMAGE_WIDTH:''), (ADDIMAGES_RESTRICT_PARENT=='true'?DISPLAY_IMAGE_HEIGHT:''), 'hspace="5" vspace="5"') . '<br>' . (!empty($product_info['products_image_description'])?$product_info['products_image_description']:TEXT_CLICK_TO_ENLARGE) . '</a>'; ?>
    </noscript><?php
    } else {
    

     

    replace with:

     

    if (ENABLE_LIGHTBOX == 'true') {
    // lightbox addon
    ?><script language="javascript"><!--
    document.write('<?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . (!empty($product_info['products_image_pop'])?$product_info['products_image_pop']:$product_info['products_image'])) . '"target="_blank" rel="lightbox[group]" title="'. $product_info['products_name'].'" >' . tep_image(DIR_WS_IMAGES . (!empty($product_info['products_image_med'])?$product_info['products_image_med']:(!empty($product_info['products_image_pop'])?$product_info['products_image_pop']:(!empty($product_info['products_image'])?$product_info['products_image']:''))), addslashes($product_info['products_name']), (ADDIMAGES_RESTRICT_PARENT=='true'?DISPLAY_IMAGE_WIDTH:''), (ADDIMAGES_RESTRICT_PARENT=='true'?DISPLAY_IMAGE_HEIGHT:''), 'hspace="5" vspace="5"') . '<br>' . (!empty($product_info['products_image_description'])?$product_info['products_image_description']:TEXT_CLICK_TO_ENLARGE) . '</a>'; ?>');
    //--></script>
    <noscript>
    <?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . (!empty($product_info['products_image_pop'])?$product_info['products_image_pop']:$product_info['products_image'])) . '" target="_blank" rel="lightbox[group]" title="'.$product_info['products_name'].'">' . tep_image(DIR_WS_IMAGES . (!empty($product_info['products_image_med'])?$product_info['products_image_med']:(!empty($product_info['products_image_pop'])?$product_info['products_image_pop']:(!empty($product_info['products_image'])?$product_info['products_image']:''))), $product_info['products_name'], (ADDIMAGES_RESTRICT_PARENT=='true'?DISPLAY_IMAGE_WIDTH:''), (ADDIMAGES_RESTRICT_PARENT=='true'?DISPLAY_IMAGE_HEIGHT:''), 'hspace="5" vspace="5"') . '<br>' . (!empty($product_info['products_image_description'])?$product_info['products_image_description']:TEXT_CLICK_TO_ENLARGE) . '</a>'; ?>
    </noscript><?php
    } else {
    

     

    That's amazing, thanks for the fixed, I guess the module is based on actually working with a store and uploading images. I just had all the stock photos on there.

     

    Any idea on the resizing of the button for remove from cart?

     

    Can I just copy over the code for the lightbox portions to the review pages to get them to work for images displayed on those pages aswell? I know on one I have to change $product_info to $review but other than that I believe they are similar for those sections but wanted to check in advance.

  15. Then either you failed to upload that file, or your site is using another language, if you define a function you cannot get a Call to undefined function error for it!!

     

    My site ONLY uses english, all others have been removed. The file reviews.php is in the admin/ directory.

     

    I completely followed the instructions as I mentioned before. This only happens when I click the little image for preview after installing your update for the admin side review section.

     

    Otherwise the contribution works perfect except using this "shortcut" button to preview a review.

  16. u have failed to completge the install!!, please always triple check your edits if any errors.

     

     

    In includes/languages/english.php ?

     

    I followed the instructions exactly, this line is added into includes/languagres/english.php

     

    // return a dbase formatted date for ddmmyyyy format adjust if you use the mmddyyyy format
    function tep_store_date ($date) {
    
      return substr($date, 6, 4) . '-' . substr($date, 3, 2) . '-' . substr($date, 0, 2) . ' ' . date('H:i:s');
    
     }

  17. this contribution doesn't resize buttons, only the product images, and only when you specify in the AI settings. I think you missed some of the thumb code.

     

    The site is www.tougetuning.com/testsite, you can add a product and view the cart to see what I mean. I went completely through the oscThumb install and removed all added code. There is also nothing left from it in the shopping_cart.php file so I can't figure out why it is so small.

     

    Also the Lightbox is still not working it just keeps showing the loading thing but never actually displays the image when clicked.

×
×
  • Create New...