velvetpixel Posted December 13, 2011 Share Posted December 13, 2011 The code in this contribution just uses the code that is already setup in the shop so this shouldn't be a problem. I've installed it into many shops and never ran across such a problem. It might be easier to focus on the actual failure that google is giving and try to fix that. Thanks Jack, The failure from google is that the encoding is incorrect causing malformed characters :P I will look deeper into the osCommerce code to find what's causing the code to be windows-1257 instead of utf-8. Quote osCommerce 2.3.1 Add-Ons Installed Header Tags SEO Ultimate SEO URLs Google Sitemap SEO Easy Populate QT Pro Margin Report AJAX Attribute Manager Smart Columns CKEditor OSCThumb Select Product Image Directory Category CSS Menu Enable Disable Categories Contact Form Captcha Link to comment Share on other sites More sharing options...
Jack_mcs Posted December 13, 2011 Share Posted December 13, 2011 Thanks Jack, The failure from google is that the encoding is incorrect causing malformed characters I will look deeper into the osCommerce code to find what's causing the code to be windows-1257 instead of utf-8. Look in the english.php file, or whatever language you are using. There is a setting near the top for that. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
cheapo Posted December 18, 2011 Share Posted December 18, 2011 Could something be done like if($catParentID = '28') { $google_product_cat = "Sporting Goods > Indoor Games > Bowling > Bowling Balls"; }else{ $google_product_cat = "Sporting Goods > Indoor Games > Bowling"; } So that there could be multiple levels of google's taxonomy based upon the parent id? Thanks, Mike Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted December 18, 2011 Share Posted December 18, 2011 Could something be done like if($catParentID = '28') { $google_product_cat = "Sporting Goods > Indoor Games > Bowling > Bowling Balls"; }else{ $google_product_cat = "Sporting Goods > Indoor Games > Bowling"; } So that there could be multiple levels of google's taxonomy based upon the parent id? Thanks, Mike Yes, that could be done, though it would be a pain if you have many categories. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
cheapo Posted December 18, 2011 Share Posted December 18, 2011 Yes, that could be done, though it would be a pain if you have many categories. Just plugged in that code (that I quickly wrote above; I'm sure it is wrong) and it didn't work... I guess I'll have to see what the right if($catParentID = '28') statement is... Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted December 19, 2011 Share Posted December 19, 2011 (edited) Just plugged in that code (that I quickly wrote above; I'm sure it is wrong) and it didn't work... I guess I'll have to see what the right if($catParentID ='28') statement is... I don't offer specialized coding due to the trime it takes but I will mention that if($catParentID = '28') should be if($catParentID == '28') Edited December 19, 2011 by Jack_mcs Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
cheapo Posted December 19, 2011 Share Posted December 19, 2011 I don't offer specialized coding due to the trime it takes but I will mention that if($catParentID = '28') should be if($catParentID == '28') Thank you. I did have == when I placed it into the file to test but it didn't work. I don't know why but $catParentID is always empty. No worries as it isn't a killer at this time but it would be nice to be able to get pretty granular in the google taxonomy. Might lead to better ranking... Mike Quote Link to comment Share on other sites More sharing options...
booksfromhome Posted January 7, 2012 Share Posted January 7, 2012 (edited) I load the new version (2.9) to my osc 2.3.1 and got a strange effect in my admin page. A lolt of the buttons are not showing up only the link text, they work but no fancy buttons BOX_HEADING_CONFIGURATION BOX_CONFIGURATION_ADMINISTRATORS BOX_CONFIGURATION_STORE_LOGO My Store Minimum Values Maximum Values Images Customer Details Shipping/Packaging Product Listing Stock Logging Cache E-Mail Options Download GZip Compression Sessions Add More Fields BOX_HEADING_CATALOG BOX_HEADING_MODULES BOX_HEADING_CUSTOMERS BOX_HEADING_LOCATION_AND_TAXES BOX_HEADING_LOCALIZATION BOX_HEADING_REPORTS BOX_HEADING_TOOLS Edited January 7, 2012 by booksfromhome Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted January 8, 2012 Share Posted January 8, 2012 (edited) I load the new version (2.9) to my osc 2.3.1 and got a strange effect in my admin page. A lolt of the buttons are not showing up only the link text, they work but no fancy buttons BOX_HEADING_CONFIGURATION BOX_CONFIGURATION_ADMINISTRATORS BOX_CONFIGURATION_STORE_LOGO You're missing definitions in the english.php file so you must have overwrote/deleted those when making the changes for that file. Edited January 8, 2012 by Jack_mcs Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
booksfromhome Posted January 8, 2012 Share Posted January 8, 2012 your are right, I was missing all the box defines, I have no idea how they disapeared Quote Link to comment Share on other sites More sharing options...
booksfromhome Posted January 8, 2012 Share Posted January 8, 2012 I added the product_condition to the database BUT I have no idea how to add it to my product input page. I may have to use your ADD MORE FIELDS . Any ideas on how to do it manually?? Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted January 8, 2012 Share Posted January 8, 2012 I added the product_condition to the database BUT I have no idea how to add it to my product input page. I may have to use your ADD MORE FIELDS . Any ideas on how to do it manually?? It's not a simple change so it isn't something I would go through in a support thread like this. You could try posting in the general forum and someone might walk you through it. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Rev0lt Posted January 8, 2012 Share Posted January 8, 2012 (edited) Sorry for the basic question, but I can't get tax working at all, using ver 2.9. The feed is showing excluding Tax, but I am in Australia and have to show 10% tax. I searched this thread and found some similar questions from users with 2.8, but the solution was fixed in 2.9..? What do I have to set to show 10% tax? Thanks I have messed around with the following, but must not have got the right combo. define('OPTIONS_ENABLED_INCLUDE_TAX', 1); define('OPTIONS_TAX_RATE' , '10.0'); define('OPTIONS_TAX_CALC', (OPTIONS_ENABLED_INCLUDE_TAX define('OPTIONS_TAX_STRING' Edited January 8, 2012 by Rev0lt Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted January 8, 2012 Share Posted January 8, 2012 Sorry for the basic question, but I can't get tax working at all, using ver 2.9. The feed is showing excluding Tax, but I am in Australia and have to show 10% tax. I searched this thread and found some similar questions from users with 2.8, but the solution was fixed in 2.9..? What do I have to set to show 10% tax? Thanks I have messed around with the following, but must not have got the right combo. define('OPTIONS_ENABLED_INCLUDE_TAX', 1); define('OPTIONS_TAX_RATE' , '10.0'); define('OPTIONS_TAX_CALC', (OPTIONS_ENABLED_INCLUDE_TAX define('OPTIONS_TAX_STRING' If it is a flat 10% for everything you would be better off logging into your googlebase account and setting up the tax there. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Rev0lt Posted January 9, 2012 Share Posted January 9, 2012 (edited) Hi Jack, It won't let me set it there - it will only allow for US states, even when I have set my Country to Australia.. unless there's another way. >>>> Tax & Shipping Overview The tax setting should only be used for merchants submitting feeds to the US. Please do not use this setting if you are not submitting feeds to the US. For all other countries, it is required to submit prices which are tax inclusive. Edited January 9, 2012 by Rev0lt Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted January 9, 2012 Share Posted January 9, 2012 It won't let me set it there - it will only allow for US states, even when I have set my Country to Australia.. unless there's another way. In that case, the OPTIONS_ENABLED_INCLUDE_TAX option should be set to 2. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Rev0lt Posted January 9, 2012 Share Posted January 9, 2012 Thanks, got it working. :) I was putting 2 in the first 'OPTIONS_ENABLED_INCLUDE_TAX' but not in the one further down. Quote Link to comment Share on other sites More sharing options...
Irin Posted January 10, 2012 Share Posted January 10, 2012 Hello. I came upon the strangest thing, that I can't seem to figure out. I'm using the latest "GoogleBase" v2.9 release with all latest, required by Google, attributes. When I create a data feed (in .txt) and view it through ftp, it shows perfectly, with all the required attributes. However, if I view this .txt file in browser (and this is also what is being uploaded to Google Base), it shows absolutely different information, the attributes are different, like the file is being pulled from somewhere else. I checked everywhere and couldn't find any other occurrences of this file, only in my /googlefeeds/ directory. I'm really confused and don't know where to look for a solution. Can somebody help, please? Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted January 10, 2012 Share Posted January 10, 2012 Hello. I came upon the strangest thing, that I can't seem to figure out. I'm using the latest "GoogleBase" v2.9 release with all latest, required by Google, attributes. When I create a data feed (in .txt) and view it through ftp, it shows perfectly, with all the required attributes. However, if I view this .txt file in browser (and this is also what is being uploaded to Google Base), it shows absolutely different information, the attributes are different, like the file is being pulled from somewhere else. I checked everywhere and couldn't find any other occurrences of this file, only in my /googlefeeds/ directory. I'm really confused and don't know where to look for a solution. Can somebody help, please? Try going into your feeds directory and deleting the feed. Then run the script manually and check that directory again. If the file is not there, then something is wrong with your paths. If it is there, download it to your computer, open it and verify the data is correct. If it is, then go into your googlebase account and use the option to upload it manually. If the data is correct, then something is wrong with your path in the cron job, most likely. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Irin Posted January 10, 2012 Share Posted January 10, 2012 (edited) Hi Jack, Thanks for your reply. I did just like you said, ran the script manually from my admin panel and then downloaded file from ftp /googlefeeds/ directory to my computer, and all the data is correct. Also, when I manually run a script and the file is uploaded to Google Base, it shows no errors, except for the 'product type' value. Google requires more precise classification signals for ‘product type’ attribute, such as > or /. However, if I click on the link created by running a script in admin panel, the file shows a wrong data, though it's a file from exactly same location as the one I downloaded through ftp. What can be wrong with the script? Edited January 10, 2012 by Irin Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted January 10, 2012 Share Posted January 10, 2012 Hi Jack, Thanks for your reply. I did just like you said, ran the script manually from my admin panel and then downloaded file from ftp /googlefeeds/ directory to my computer, and all the data is correct. Also, when I manually run a script and the file is uploaded to Google Base, it shows no errors, except for the 'product type' value. Google requires more precise classification signals for ‘product type’ attribute, such as > or /. However, if I click on the link created by running a script in admin panel, the file shows a wrong data, though it's a file from exactly same location as the one I downloaded through ftp. What can be wrong with the script? The directions say to create a directory named feeds. Since you are using a different directory, you have to change the code in the file to use it. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Irin Posted January 10, 2012 Share Posted January 10, 2012 Yes, I changed the code to the following: $OutFile = 'googlefeeds/' . FEEDNAME; Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted January 10, 2012 Share Posted January 10, 2012 Yes, I changed the code to the following: $OutFile = 'googlefeeds/' . FEEDNAME; I don't offer support for altered code (others may though), even if it is a valid change. Plus, I've already provided the troubleshooting techniques for finding the problem. Anything else would require seeing the feed, the results on google, etc., which isn't possible in a support thread. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Mort-lemur Posted January 11, 2012 Share Posted January 11, 2012 Hi Jack, Back to an old subject.... I have had a warning from Google Review team that some prices on my feed do not match the prices on my store - this relates to the Vat / Non-Vat items that I sell. I have Vat (Tax) turned on to add 20% to all products - which makes the Non-Taxable items a higher price on the feed than they should be - hence the warning email from Google. Have you had any more thoughts on how submitting accurate prices could be achieved for a store that sells taxable and non taxable items? (without having to manually alter the feed prior to submission) Many Thanks Quote Now running on a fully modded, Mobile Friendly 2.3.4 Store with the Excellent MTS installed - See my profile for the mods installed ..... So much thanks for all the help given along the way by forum members. Link to comment Share on other sites More sharing options...
Jack_mcs Posted January 12, 2012 Share Posted January 12, 2012 Have you had any more thoughts on how submitting accurate prices could be achieved for a store that sells taxable and non taxable items? (without having to manually alter the feed prior to submission) No, I haven't had time to look at it. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons 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.