Tom14 Posted June 9, 2014 Share Posted June 9, 2014 Hi Jack. Since I had updated the last versions I have a problem with the tax info. I tried to fix it without success. Please take for example a look at: http://www.unitraders.de/bwt-anschlussmodul-34-ohne-druckminderer-p-638.html Every product shows now a duplicate from the tax info "[inkl. 19% MwSt zzgl. Versandkosten]" />" in the top left which normally stands under the price. Thanks. Br Thomas Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted June 9, 2014 Author Share Posted June 9, 2014 This addon doesn't have anything at all to do with taxes. It does change the code that display the price for some shops so perhaps that is what you are seeing. I suggest replacing the product_info.php file with your original, make sure that it is working as it was, then apply the changes for this addon one at a time, being sure to check the result at each change to find the problem. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Tom14 Posted June 9, 2014 Share Posted June 9, 2014 Thanks for the quick answer. I already replaced the product_info, index .....and also several files with older ones before I now was written in the forum. I know that your time is limited... ;-) but nothing helps. The tax_info comes from the info beneath the prices for each product. It's required in our laws. I just replaced the product_info with a still older one..no sucess. Do you have any idea? Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted June 9, 2014 Author Share Posted June 9, 2014 It looks like it is a pre-2.3 shop so, if that is the case, the only thing affecting the product page is in the product_info.php file. Since you've replaced that, from the point-of-view of the product page, Header Tags SEO doesn't exist. So the problem has to be related to something else, though I don't know what that might be. I would have to see the code to determine the problem. All I can suggest is that you replace all of the files you changed in the shop side and see if that fixes it. Maybe you changed one, or uploaded one, that shouldn't have been changed? Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Tom14 Posted June 9, 2014 Share Posted June 9, 2014 Yes, it is a pre-2.3 shop. I think there was a little mistake in understanding. If I take the original file (from back then 2006) then the tax disapear in the left corner. Only with the files of the Header Tags it is shown but I'm pretty sure that this happend by the last two updates. I made for any months the update till 3.2.6 and it worked but now in the last days I updated till 3.3.2.1 and now I have the problem. Another problem is in the admin section that the Fill Tags don't work but this I will check more in the next days. Quote Link to comment Share on other sites More sharing options...
Tom14 Posted June 9, 2014 Share Posted June 9, 2014 When I take out following from the product_info: <?php/*** Begin Header Tags SEO ***/if ( file_exists(DIR_WS_INCLUDES . 'header_tags.php') ) { require(DIR_WS_INCLUDES . 'header_tags.php');} else {?> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>"> <title><?php echo TITLE; ?></title><?php}/*** End Header Tags SEO - oscommerce-solution.com ***/?> and: pd.products_head_sub_text from the $product_info_query and: replace this: <p><?php echo HTS_Highlight(stripslashes($product_info['products_description']), $header_tags_array['keywords']); ?></p> with the old one: <p><?php echo stripslashes($product_info['products_description']); ?></p> then the tax in the left corner disappear.. Can you make sense of something?? Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted June 9, 2014 Author Share Posted June 9, 2014 Oh, I see. Yes, I misunderstood the problem. The reason that text is displaying like that is because you've overwritten or added a php delimiter ( <?php or ?> ). Both of the code sections you show look correct. The problem may be in the includes/header_tags.php file. If you haven't tried using the one included in the package, then I suggest doing that first. Otherwise, it is something in that file and you will have to trace down the problem. Did you try using the product_info.php file from the package to see if the problem goes away? You can upload it as a different name, like product_info_hts.php, but you will also need to turn off the url rewriter so you can access it. That should help you determine which file is at fault. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
♥joli1811 Posted June 9, 2014 Share Posted June 9, 2014 Take a look also in includes/footer.php and includes/template_bottom.php (if you have ) I made a mistake once when installing and the includes/footer.php mistake appeared in the header Quote To improve is to change; to be perfect is to change often. Link to comment Share on other sites More sharing options...
Tom14 Posted June 9, 2014 Share Posted June 9, 2014 Thanks a lot both. Now I'm sure that the header_tags file was the guilty one. Version <=3.3.0 works for me Version > 3.3.1 doesn't works. I'm will check this deeper but on the other hand if you have the "quicker" solution means you know in which line...you're welcome here... :thumbsup: @@John Yes, sometimes I still only wondering... :) Quote Link to comment Share on other sites More sharing options...
mr_absinthe Posted June 11, 2014 Share Posted June 11, 2014 Jack, if I do the following: 1/ complete Title Tag - URL on admin page and enter "Test Product Blue" 2/ have the latest Ultimate SEO URLs installed 3/ clear cache (both) I should see the URL as follows: www.mystore.com/category-test-product-blue-p-59.html or not? Because I don't. Quote Absinthe Original Liquor Store Link to comment Share on other sites More sharing options...
Jack_mcs Posted June 11, 2014 Author Share Posted June 11, 2014 You also have to enable the Header Tags setting in Ultimate SEO. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
mr_absinthe Posted June 11, 2014 Share Posted June 11, 2014 (edited) Brilliant! I've missed that part of settings. :thumbsup: Now, another small issue... All product TAGS (title, description, etc) work fine for default language (English) but they don't seem to work for any other language despite the fact that they're all set in admin. Category Title URL work fine for all languages but no products tags. Also, Header Tags Category Title, Description, etc. doesn't seem to be displayed (works fine in English), it is empty, see this: <html dir="LTR" lang="fr"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title></title> <meta name="Description" content="" > <meta name="Keywords" content="" > <meta http-equiv="Content-Language" content="fr" > <meta name="robots" content="noodp" > <meta name="slurp" content="noydir" > Edited June 11, 2014 by mr_absinthe Quote Absinthe Original Liquor Store Link to comment Share on other sites More sharing options...
Jack_mcs Posted June 12, 2014 Author Share Posted June 12, 2014 Please try running the test routine to see if there are errors for the languages. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
mr_absinthe Posted June 12, 2014 Share Posted June 12, 2014 All seems to be fine now, not sure where the problem was - maybe me sitting in front of the computer for too long... Quote Absinthe Original Liquor Store Link to comment Share on other sites More sharing options...
jimmyforsyth Posted June 12, 2014 Share Posted June 12, 2014 (edited) The coding should be something like what is shown below: <h1>Main Heading</h1><h2>Secondary Heading 1</h2><h3>Sub-section of the secondary heading 1</h3><h2>Secondary Heading 2</h2><h3>Sub-section of the secondary heading 2</h3> Edited June 12, 2014 by jimmyforsyth Quote Link to comment Share on other sites More sharing options...
tim_ver Posted June 13, 2014 Share Posted June 13, 2014 Anyone install and confirm if Header Tags SEO V 3.0 works on Oscommerce version 2.3.3.3? Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted June 13, 2014 Author Share Posted June 13, 2014 It works for all versions of oscommerce. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Spiceupyour Posted June 13, 2014 Share Posted June 13, 2014 (edited) Hi jack thanks for this great contrubition, but I dont think it works with 2.3.4, and also please look at the code from includes/template_top.php If I use the file included in the complet package for a fresh install from "HeaderTags_SEO_V_3.3.2_1" I get errors, i am no expert but i think there is some extra code in this file ----------------------------------------------------------------------------------------------------------- ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" <?php echo HTML_PARAMS; ?>><head><?php/*** Begin Header Tags SEO ***/if ( file_exists(DIR_WS_INCLUDES . 'header_tags.php') ) { require(DIR_WS_INCLUDES . 'header_tags.php');} else {?> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>" /> <title><?php echo tep_output_string_protected($oscTemplate->getTitle()); ?></title><?php}/*** End Header Tags SEO by oscommerce-solution.com ***/?><base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>" /><link rel="stylesheet" type="text/css" href="ext/jquery/ui/redmond/jquery-ui-1.8.22.css" /><script type="text/javascript" src="ext/jquery/jquery-1.8.0.min.js"></script><script type="text/javascript" src="ext/jquery/ui/jquery-ui-1.8.22.min.js"></script><script type="text/javascript">// fix jQuery 1.8.0 and jQuery UI 1.8.22 bug with dialog buttons; http://bugs.jqueryui.com/ticket/8484if ( $.attrFn ) { $.attrFn.text = true; }</script> -------------------------------------------------------------------- I have solved this problem My problem now is ------------------------------------------------------------------------------ 1146 - Table 'lingerie_test2.TABLE_HEADERTAGS' doesn't existselect page_name from TABLE_HEADERTAGS where page_name like 'index.php' and language_id = '1' LIMIT 1[TEP STOP] ---------------------------------------------------------------- and when i click on any links under Header Tags>> Fill Tags Keywords Page Control Silo Control Social Test in the admin side i get error like below www.mysite/catalog/admin/FILENAME_HEADER_TAGS_FILL_TAGS Please any help will be appreciated Edited June 13, 2014 by Spiceupyour Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted June 14, 2014 Author Share Posted June 14, 2014 The files in the package won't be compatible with all versions due to the many differences between the versions. If you perform the manual instructions or do a file compare, you should be able to figure it out. The second problem is because you made a mistake in the installation. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Spiceupyour Posted June 14, 2014 Share Posted June 14, 2014 Thanks Jack, you have made a good contribution, I will try again Quote Link to comment Share on other sites More sharing options...
Spiceupyour Posted June 14, 2014 Share Posted June 14, 2014 (edited) Thanks Jack, I re-installed a fresh copy and it works great, Thanks!!! will do some more test, and let you know, Thanks again Edited June 14, 2014 by Spiceupyour Quote Link to comment Share on other sites More sharing options...
Spiceupyour Posted June 14, 2014 Share Posted June 14, 2014 Dear Jack need your help and advice once again, On product info page I get a error on line 163 Fatal error: Call to undefined function hts_highlight() in /home4/****/public_html/****/catalog/product_info.php on line 163 This is the original code <?php echo stripslashes($product_info['products_description']); ?> Replace with your code <?php /*** Begin Header Tags SEO ***/ ?> <?php echo HTS_Highlight(stripslashes($product_info['products_description']), $header_tags_array['keywords']); ?> <?php /*** End Header Tags SEO ***/ ?> Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted June 14, 2014 Author Share Posted June 14, 2014 That error is saying the code can't find the hts_highlight function. That is located in the includes/header_tags.php file. So either you didn't upload it or there is something wrong with your changes. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Spiceupyour Posted June 16, 2014 Share Posted June 16, 2014 Hi Jack, finally got every thing working, just a little problem When I replace "Replace me in Page Control" under page control with some new text, the new text is displayed on the index.php also get Products New - Default title Reviews - Default title display on other pages, i think I have to remove a line of code from header.php but I am not good with code, just learning, please advice Thanks Quote Link to comment Share on other sites More sharing options...
Spiceupyour Posted June 16, 2014 Share Posted June 16, 2014 (edited) Thanks for every thing you guys!! This is a great Free Contribution thanks to jack. I will like to share some info that was not clear or missing in the instruction's for others to take advantage off 1. you have to under Admin > Configuration > Header Tags SEO > Find, Displays the page title at the very top of the page and turn it off {false] this will solve your problem of duplicate title and more. 2. if you are using this contribution with the latest version of Oscommerce 2.3.4 that you have to make a small change to one of the new files before uploading. Catalog\includes\modules > [New files] File name header_tags_social_bookmarks.php Find Line 69 $url = '<a rel="nofollow" target="_blank" href="' . $url . '&title=' . $TITLE . '"><img style="vertical-align:middle;display:inline;border-style:none" title="' . ucfirst($db['groupname']) . '" alt="' . ucfirst($db['groupname']) . '" src="' . DIR_WS_IMAGES . 'socialbookmarks/' . $db['groupname'] .'-'.$db['data'] . '.png' . '" width="'.$width.'" height="'.$height.'" /></a>'; replace with $url = '<a rel="nofollow" target="_blank" href="' . $url . '&title=' . $TITLE . '"><img style="vertical-align:middle;display:inline;border-style:none" title="' . ucfirst($db['groupname']) . '" alt="' . ucfirst($db['groupname']) . '" src="' . DIR_WS_IMAGES . 'social_bookmarks/' . $db['groupname'] .'-'.$db['data'] . '.png' . '" width="'.$width.'" height="'.$height.'" /></a>'; this this because the directory name for social bookmarks has change from Catalog\includes\Images\socialbookmarks to Catalog\includes\Images\social_bookmarks [ _ has been added] Edited June 16, 2014 by Spiceupyour Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.