Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

bigal50

Archived
  • Posts

    16
  • Joined

  • Last visited

Profile Information

  • Real Name
    Allen

bigal50's Achievements

  1. Figured out what I was doing wrong. In the vendor setup I hadn't put a zipcode for the vendor. In my case I am using the vendor for different shipping options. I have a USPS vendor for items that I only want to ship by USPS, I will do the same for UPS, flat rate etc.. Allen
  2. I'm hoping that someone can point me in the right direction here. I just installed MVS 1.1 and have it enabled in Admin/Configuration. When putting an item in the cart and going to checkout it says that there in the caculations, please contact store owner. If I don't use MVS the UPS and USPS shipping works. It doesn't make any difference if I have the standard osc UPS & USPS modules set to true or false. I have checked the 2 module configurations set the same as in the osc version. The item that I am using to test if set to the vendor that has the UPS & USPS modules installed. It seems for some reason that UPS & USPS can't be contacted to get the quotes. Thanks Allen
  3. I'm hoping that someone can point me in the right direction here. I just installed MVS 1.1 and have it enabled in Admin/Configuration. When putting an item in the cart and going to checkout it says that there in the caculations, please contact store owner. If I don't use MVS the UPS and USPS shipping works. It doesn't make any difference if I have the standard osc UPS & USPS modules set to true or false. I have checked the 2 module configurations set the same as in the osc version. The item that I am using to test if set to the vendor that has the UPS & USPS modules installed. It seems for some reason that UPS & USPS can't be contacted to get the quotes. Thanks Allen
  4. This may not be the best solution but it seems to work on my site, it's closer to Ken's original contrib in the way it places thing in the title, description & keywords. Don't forget BACKUP before editing files. In catalog/includes/modules/general.php around line 68 Find the following $sts->template['headertags']= "<title>" . TITLE ."</title>"; Replace with this // Header Tags for novices w/STS v4.3.3 BOF $sts->template['headertags']= "<title>"; // $sts->template['headertags'] .= (strlen($breadcrumb_tags->trail_tags('')) > 0) ? TITLE . ' - ' . $breadcrumb_tags->trail_tags(' - ') : TITLE; $sts->template['headertags'] .= $header_tags[title_tag]; $sts->template['headertags'] .= ' - ' . TITLE; $sts->template['headertags'] .= "</title>"; $sts->template['headertags'] .= "<meta name=\"description\" content=\""; $sts->template['headertags'] .= $header_tags[desc_tag]; $sts->template['headertags'] .= "\"><meta name=\"keywords\" content=\""; $sts->template['headertags'] .= $header_tags[keywords_tag]; $sts->template['headertags'] .= "\">"; // Header Tags for novices EOF This works with the catalog/admin/header_tags_edit.php too. Allen
  5. After a little testing it seems that there might be a flaw in the above code, at least on my site. It is only putting the Store Name - Catagory - Catagory in the title and just the catagory in Description and Keywords. Could be that I'm using a different version of STS that what Egor was using, I'm using STS v4.3.3 Here is part of the header from a product page <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>Parts and Things - DVD Movies</title><meta name="description" content="DVD Movies"><meta name="keywords" content="DVD Movies"><base href="http://www.partsanthings.com/catalog/"> Allen
  6. Hi Ken, Found a post in Tips and Tricks with the answer As always BACKUP before making any changes In catalog/includes/modules/sts_inc/general.php Look for the following, around line 67 $sts->template['headertags']= "<title>" . TITLE ."</title>"; Replace with the following // Header Tags for novices w/STS BOF $sts->template['headertags']= "<title>"; $sts->template['headertags'] .= (strlen($breadcrumb_tags->trail_tags('')) > 0) ? TITLE . ' - ' . $breadcrumb_tags->trail_tags(' - ') : TITLE; $sts->template['headertags'] .= "</title>"; $sts->template['headertags'] .= "<meta name=\"description\" content=\""; $sts->template['headertags'] .= (strlen($product_info_tags['products_description']) > 10) ? strip_tags($product_info_tags['products_description']) : strip_tags($breadcrumb_tags->trail_tags(' ')); $sts->template['headertags'] .= "\"><meta name=\"keywords\" content=\""; $sts->template['headertags'] .= strip_tags($breadcrumb_tags->trail_tags(', ')); $sts->template['headertags'] .= "\">"; // Header Tags for novices w/STS Thanks to Egor for this code. I only copied it to this thread Thanks Ken for the great contrib and trying to help me with this. You might want to add this to your docs to make it easier for others with STS to use Header Tags for novices. Thanks Allen
  7. Hi Ken, Found out where it is happening at but my programing isn't good enough to know how to correct it. From what I can tell the problem is in catalog/includes/modules/sts_inc/general.php The line of code is towards the bottom at around line 69 $sts->template['headertags']= "<title>" . TITLE ."</title>"; Tried putting your coed from index.php in place of what was there and got parse errors. What ever I tried didn't work. Allen
  8. Ken, I figured out what is causing it, but not how to fix it. In the top of the template there is a line <!--Headcontent--> this puts the header information in the page. Now to figure out how to modify it so that it will include you contrib. Allen
  9. Hi Ken, Here's the header code from product_info.php <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>"> <title><?php echo $header_tags[title_tag]; ?></title> <meta name="description" content="<?php echo $header_tags[desc_tag]; ?>"> <meta name="keywords" content="<?php echo $header_tags[keywords_tag]; ?>"> <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=100,height=100,screenX=150,screenY=150,top=150,le ft=150') } //--></script> </head> Allen
  10. Hi Ken, With STS active and using the template the title only shows the store name and there are no Meta tags for the description and Keywords. When not using the STS template and running the stock osc your contribution works as described. Here a part of the view source from a product page. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html $htmlparams> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>Parts and Things</title><base href="http://www.partsanthings.com/catalog/"> <!-- start get_javascript(applicationtop2header) //--> <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=100,height=100,screenX=150,screenY=150,top=150,le ft=150') } //--></script> <!-- end get_javascript(applicationtop2header) //--> <link rel="stylesheet" media="screen" type="text/css" href="stylesheet.css"> <script type="text/javascript" src="column.js"></script> </head> <body> <!-- Header Start --> <div id="tmpheader"><img class="pos_right" src="../images/pnt-25790.gif" alt="Parts and Things" width="257" height="90" align="left"></img><div align="center"><h2>eStore</h2><h3>We'll sell your stuff</h3></div> Allen
  11. Installed the contribution Header Tags for novices and am having a problem. I am using STS v4.3.3 (plain without the Header Tag inclusion) with STS set to True HT4N does not work. If I set STS to False then HT4N works. So the problem has to have something to do with the fact that I am using STS. Has anyone else had this problem or does anyone know the fix? Thanks Allen
  12. Recently installed STS v4.33 congrats to the author. I do however have a couple of questions 1) The Information box has a green border and I would rather have it the same as the other boxes. 2) There are little pictures on most of the pages with names that start with table_background_?.gif or text_greeting_?.gif. I would like to remove these and have found a few by searching through the files. I was hoping that some one could point me to a list of where these are located. Don't want to delete the gif files as I believe that will cause other problems not to mention not as clean code. Any help would be greatly appreciated Allen Pardon the double post, couldn't figure out how to delete it.
  13. Recently installed STS v4.33 congrats to the author. I do however have a couple of questions 1) The Information box has a green border and I would rather have it the same as the other boxes. 2) There are little pictures on most of the pages with names that start with table_background_?.gif or text_greeting_?.gif. I would like to remove these and have found a few by searching through the files. I was hoping that some one could point me to a list of where these are located. Don't want to delete the gif files as I believe that will cause other problems not to mention not as clean code. Any help would be greatly appreciated Allen
  14. I have been trying to find all the references to the files text_greeting_?.gif and table_background_?,gif so that I can remove them I have found some of the references to them by searching various files. Does anyone now of a list of where these files are located. They are the images that show up on the various pages in the center section. I have installed STS v4.3.3 if that makes any difference. Thanks Allen
×
×
  • Create New...