Jump to content
gottaloveit

Automatically send data feed to Froogle

Recommended Posts

19 hours ago, Jack_mcs said:

@PapancoIn the googlefeeder.php file, change the OPTIONS_ENABLED_GOOGLE_UTM setting  to 0 or 1, depending on if you are using that google option.. Then find this line


define('OPTIONS_GOOGLE_UTM', '?utm_source=GoogleBase1&utm_medium=BaseFeed1&utm_campaign=products'); //see http://www.google.com/support/googleanalytics/bin/answer.py?hl=en&answer=55578

and replace it with this


if (OPTIONS_ENABLED_GOOGLE_UTM == 0) {
   define('OPTIONS_GOOGLE_UTM', '?store={my_store_code}'); 
} else {
   define('OPTIONS_GOOGLE_UTM', '?store={my_store_code}&utm_source=GoogleBase1&utm_medium=BaseFeed1&utm_campaign=products'); //see http://www.google.com/support/googleanalytics/bin/answer.py?hl=en&answer=55578
}

As before, be sure to change the "my_store_cde" with yours.

@Jack_mcs thanks for the support: I did a test but with UTM == 0 the store code is not inserted in the URL. If I enable UTM on 1, the UTM URL is correctly entered but the store code is not inserted in the URL. what else can i try?

Share this post


Link to post
Share on other sites

@PapancoAs mentioned, this is untested so I must be missing something. I will actually test it here and post once I have it working. I will try to get to it this week.


Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Need Help? See this thread and provide the information requested.

How to Upgrade to the latest version

Recommended SEO Addons

Share this post


Link to post
Share on other sites

A new version has been uploaded with these changes:

  • Added a localfeed option.
  • Corrected code for php warnings.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Need Help? See this thread and provide the information requested.

How to Upgrade to the latest version

Recommended SEO Addons

Share this post


Link to post
Share on other sites

Hello,

The csv file i get doesn't have a header, i mean the columns titles in the first row, for example : Title, Link, Brand, etc.... is it possible to add it ?

Thanks

Share this post


Link to post
Share on other sites

@PsytaniumI can't reproduce that and no one else has mentioned it. You don't mention your php version though if that was the problem, there would be other problems. So I don't know what that might be. Maybe if you are trying to use one of the options. Try selecting Complete from the dropdown menu. If that works then you will need to let me know what option it is failing on.


Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Need Help? See this thread and provide the information requested.

How to Upgrade to the latest version

Recommended SEO Addons

Share this post


Link to post
Share on other sites
Just now, Jack_mcs said:

@PsytaniumI can't reproduce that and no one else has mentioned it. You don't mention your php version though if that was the problem, there would be other problems. So I don't know what that might be. Maybe if you are trying to use one of the options. Try selecting Complete from the dropdown menu. If that works then you will need to let me know what option it is failing on.

When i run googlefeeder.php, 2 files are placed in feed directory, the txt file have headers, while the csv file don't.

Sorry for the poor explanation, OCS2.3.4

I'm trying to include the txt file in Facebook feed.

Share this post


Link to post
Share on other sites
53 minutes ago, Psytanium said:

the txt file have headers, while the csv file don't.

The csv file is not meant to be used. It is included to give a quick look at the view in admin because most computers are not setup to load .txt files as a spreadsheet. This is what it says on the page when the script is ran:

Quote

It is still in development and not meant for anything other than viewing.

 


Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Need Help? See this thread and provide the information requested.

How to Upgrade to the latest version

Recommended SEO Addons

Share this post


Link to post
Share on other sites

@Jack_mcs

Hi Jack,

I hope you are well.

I am running the feeder on Phoenix Version 1.0.8.12 and it works great.

I have however found that the image is pulled from the first image in the gallery and not the actual main image.

I have checked the feed file on 1 particular product and it shows the correct image name but the image being uploaded to google is different

Just wondering if you have come across this and could offer any resolve?

Thanks

Edited by PupStar

Share this post


Link to post
Share on other sites

@PupStarNo, I haven't noticed that before. the code loads in the images from the images table but just cycles through them to add them. So if the main image doesn't match the first image, which is possible, then it would probably be wrong. You could try turning of the Products Images option (right column). That will prevent the images table from being checked. I don't recall if the main image is used instead but if it is then you that should work.


Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Need Help? See this thread and provide the information requested.

How to Upgrade to the latest version

Recommended SEO Addons

Share this post


Link to post
Share on other sites
27 minutes ago, Jack_mcs said:

@PupStarNo, I haven't noticed that before. the code loads in the images from the images table but just cycles through them to add them. So if the main image doesn't match the first image, which is possible, then it would probably be wrong. You could try turning of the Products Images option (right column). That will prevent the images table from being checked. I don't recall if the main image is used instead but if it is then you that should work.

@Jack_mcs I have tried to set

define('OPTIONS_USE_IMAGE_TABLE', '0'); //set to 1 to use the products_images table, which is only available in 2.3 shops

to 0 and 1 with no change in result.

I have noticed that if the product has only 1 image then it does pick the main image correctly.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×