If this is your first visit, check our documentation. To post, register or login.
Forums / Addon Admin Tools / Google Merchant Center Feeder for ZC v1.5.x [Support Thread]

Google Merchant Center Feeder for ZC v1.5.x [Support Thread]

Started by divavocals on 1 Apr 2012, 11:10 PM · Views: 153,737

Results 461 to 480 of 505
6 Dec 2020, 5:25 PM
#461
flappingfish avatar

flappingfish

Zen Follower

Join Date:
Nov 2020
Posts:
319
Plugin Contributions:
4

Google Merchant Center Feeder for ZC v1.5.x [Support Thread]

thanks bud i dont have a test site though i just take backups and upload usually. my site is brand new think the template was for an older version and i had to pay someone to sort it out due to outdated php tags ect. he finished up then i installed this and all worked fine apart from that one issue. drag and drop should work if i rename the folders ect as i did previously then would you say?

Apologies for the new thread start but i thought perhaps it was not fully relevant to the support thread and more unique to my site perhaps. did not mean to cause offence. I was anxious to resolve the issue before google pulled my items and resetted the assesment period for initial feed upload. christmas time, i dont have much stock but to get google giving me errors the day after i had it all fine was a work stopper for me, ive still got about 100 items to list but stopped to resolve the issue with the feeder.

took 3 attempts to get google to accept my file was exactly what i said it was so my products are finally up i just need to make sure my next feed i generate matches the one registered at google or edit google to match what the module produces once fixed. did i read your github response correct that it will generate a fixed file name for now and i should basically leave the field blank if it shows to me once ive uploaded the fresh files?

6 Dec 2020, 7:30 PM
#462
flappingfish avatar

flappingfish

Zen Follower

Join Date:
Nov 2020
Posts:
319
Plugin Contributions:
4

Re: Google Merchant Center Feeder for ZC v1.5.x [Support Thread]

i did a backup just in case, uploaded the fresh files and all works a treat :) i just need to follow the rest of the guide as im getting product pulls on missing gtin's.
If im selling both new and used items and some of my new items wont have gtins (single pokemon card for example) how would i get rid of the gtin notice on those items? would i have to use the gtin of the pack the card came from? would using the same gtin for them products cause issues listing them in zen?

6 Dec 2020, 11:03 PM
#463
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,880
Plugin Contributions:
7

Re: Google Merchant Center Feeder for ZC v1.5.x [Support Thread]

thanks bud I don't have a test site
..and you are uploading someone else's files to your production site...

at some point you will have a very bad experience and will understand why you MUST have a test site.

Steve
github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

6 Dec 2020, 11:38 PM
#464
flappingfish avatar

flappingfish

Zen Follower

Join Date:
Nov 2020
Posts:
319
Plugin Contributions:
4

Re: Google Merchant Center Feeder for ZC v1.5.x [Support Thread]

Isn't that the whole point of open source software though? install and use? I used all these modules in my original site without issues and there are many contributors to the plugin. 2014 when my site was last up so alot has changed with zen since then and how the internet operates so everything is either outdated or someone has contributed to fix it. I trust someone with over 2000 posts wouldnt be sharing something malicious but i do get what your saying.
whats the best way to get myself a development server as this is honestly the first time ive ever heard such a thing :/

7 Dec 2020, 9:18 AM
#465
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,880
Plugin Contributions:
7

Re: Google Merchant Center Feeder for ZC v1.5.x [Support Thread]

Isn't that the whole point of open source software though? install and use?
Er, no! The point of open source is to use it and then improve it for the good of all, and/or pay for it. It's not a free lunch to take advantage of other people's time, knowledge and effort for your profit.

How you use it is your decision.

Testing other people's code is not a question of trust, it's basic business/common sense.
While it is unlikely there is malicious intent, with the best will in the world there is always the strong likelihood that something conflicts with something else (your ZC version/other mods/incomplete upgrade/php version/your mistake/incorrect instructions/failed sql...) and your source of income becomes a public white screen of death while you figure out why.

Being forced to troubleshoot on the clock is not the best way to learn how your site works and why it is broken.

Your input to this thread is a mild example. You installed a development version and found out the hard way it was not as you wanted and lost time.

Trying stuff out first elsewhere is a no-brainer. There is much information about setting up a local webserver.

Steve
github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

7 Dec 2020, 11:56 PM
#466
flappingfish avatar

flappingfish

Zen Follower

Join Date:
Nov 2020
Posts:
319
Plugin Contributions:
4

Re: Google Merchant Center Feeder for ZC v1.5.x [Support Thread]

thanks tor vista i appreciatte your advice and the fix to the github release was nice. i just want to get my site up and running and in no way am i expecting a free lunch, im hoping to learn how to code as time progresses ill pick it up but for now im trying to launch a buisness from savings for the year from making cutbacks to survive so my coffers empty but i do have a custom module that may need fixing php tag wise but its running on my site now id be happy to donate. I hired someone from a freelancing site after getting no response from offering to pay for help in the wanted section and he said it needed tweaking but didnt send me the modified install files back so would need checking before using, i had it custom made in 2008 to deliver xbox codes on the order invoice. no idea best way to donate a module but its on offer.... i had thought it could be improved or given an option to add images to save time on manual input/errors ect but makes a good frame work for expansion and brings new functionality to zen too :)

5 Jan 2021, 3:06 PM
#467
marton_1 avatar

marton_1

Totally Zenned

Join Date:
Apr 2013
Location:
eglisau switzerland
Posts:
568
Plugin Contributions:
0

Re: Google Merchant Center Feeder for ZC v1.5.x [Support Thread]

This is working fine on my new 1.5.7 site, responsive classic, PHP 7 except for the following warnings, maybe I missed a define somewhere?

 require(/home/httpd/vhosts/simmar.ch/httpdocs/catalog/MYADMIN/googlefroogle.php) called at [/home/httpd/vhosts/simmar.ch/httpdocs/catalog/MYADMIN/index.php:11]
--> PHP Warning: Use of undefined constant GOOGLE_PRODUCTS_FEED_SORT 

Not an issue but would be nice to stop these warnings.

5 Jan 2021, 3:38 PM
#468
carlwhat avatar

carlwhat

zennedOut

Join Date:
Nov 2005
Location:
los angeles
Posts:
2,974
Plugin Contributions:
8

Re: Google Merchant Center Feeder for ZC v1.5.x [Support Thread]

marton_1:

This is working fine on my new 1.5.7 site, responsive classic, PHP 7 except for the following warnings, maybe I missed a define somewhere?

require(/home/httpd/vhosts/simmar.ch/httpdocs/catalog/MYADMIN/googlefroogle.php) called at [/home/httpd/vhosts/simmar.ch/httpdocs/catalog/MYADMIN/index.php:11]
--> PHP Warning: Use of undefined constant GOOGLE_PRODUCTS_FEED_SORT

> 
> Not an issue but would be nice to stop these warnings.

yes, you missed a define somewhere.  that is what the warning is saying.  

a few things:- this is a feed; i see no need to have a sort.
- i have looked at the most current version, as well as a version that goes back 7 years.  that constant GOOGLE_PRODUCTS_FEED_SORT is not in the code.
- looks like you have modified something along the way.
- entirely possible that whatever you modified it for needs a sort; but it is not going to sort anything until you define that constant.

if you post the code where that constant is used, we can help in removing it.  unless you want your feed sorted, in which case you can define it here:

home/httpd/vhosts/simmar.ch/httpdocs/catalog/MYADMIN/includes/extra_datafiles/googlefroogle.php

hope that helps!

best.

author of square Webpay, now with Apple Pay and Google Pay.
mXworks
donations: venmo or paypal accepted.
premium consistent excellent support. available for hire.

5 Jan 2021, 3:40 PM
#469
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: Google Merchant Center Feeder for ZC v1.5.x [Support Thread]

@carlwhat is right.
It's not in any of the free module's code.
Are you using a newer paid version of the module? If so, Numinix doesn't support it here. Go to their website for support of their paid module.

marton_1:

This is working fine on my new 1.5.7 site, responsive classic, PHP 7 except for the following warnings, maybe I missed a define somewhere?

require(/home/httpd/vhosts/simmar.ch/httpdocs/catalog/MYADMIN/googlefroogle.php) called at [/home/httpd/vhosts/simmar.ch/httpdocs/catalog/MYADMIN/index.php:11]
--> PHP Warning: Use of undefined constant GOOGLE_PRODUCTS_FEED_SORT

> 
> Not an issue but would be nice to stop these warnings.

Use the admin Developers Toolkit to search "All PHP Files" for where that "GOOGLE_PRODUCTS_FEED_SORT" is referenced.
It was probably intended to be a configuration setting, but evidently your store doesn't have such a setting.
So, either it's an old one that the PHP file should no longer be referencing, or it's a new one that hasn't been inserted into your database yet.
There's another possibility, that it relates to an optional plugin that the module calls, but again your database doesn't have that setting inserted currently (whether that's "yet" or "anymore").

Find its references in your PHP files and then you can take steps to exclude using it, or find out in the addon's installation files what it should be set to and add it that way.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

5 Jan 2021, 4:23 PM
#470
marton_1 avatar

marton_1

Totally Zenned

Join Date:
Apr 2013
Location:
eglisau switzerland
Posts:
568
Plugin Contributions:
0

Re: Google Merchant Center Feeder for ZC v1.5.x [Support Thread]

Many thanks for the quick replies
The file is catalog/myadmin/googlefroogle named 1.4.7 that I downloaded from GitHub according to a link in this thread, https://github.com/torvista/Zen_Cart-Google_Merchant_Center_Feeder. I thought that was the latest, oops :(

The file heading is

<?php
/**
 * googlefroogle.php
 *
 * @package google froogle
 * @copyright Copyright 2007 Numinix Technology http://www.numinix.com
 * @copyright Portions Copyright 2003-2006 Zen Cart Development Team
 * @copyright Portions Copyright 2003 osCommerce
 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
 * @version $Id: googlefroogle.php 57 2011-05-17 00:35:31Z numinix $
 */

and around line 227 I have

<?php //todo use this to change default and remove configuration switch ?>
          <div title="<?php echo TEXT_FEED_SORT_TITLE . GOOGLE_PRODUCTS_FEED_SORT; ?>"><b><?php echo TEXT_FEED_ORDER_BY; ?></b>
              <label><?php echo TEXT_FEED_ID . zen_draw_radio_field('feed_sort', 'id', GOOGLE_PRODUCTS_FEED_SORT === 'ID'); ?></label>
              <label><?php echo TEXT_FEED_MODEL . zen_draw_radio_field('feed_sort', 'model', GOOGLE_PRODUCTS_FEED_SORT === 'Model'); ?></label>
              <label><?php echo TEXT_FEED_NAME . zen_draw_radio_field('feed_sort', 'name', GOOGLE_PRODUCTS_FEED_SORT === 'Name'); ?></label>
          </div>
5 Jan 2021, 4:34 PM
#471
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: Google Merchant Center Feeder for ZC v1.5.x [Support Thread]

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

5 Jan 2021, 4:51 PM
#472
carlwhat avatar

carlwhat

zennedOut

Join Date:
Nov 2005
Location:
los angeles
Posts:
2,974
Plugin Contributions:
8

Re: Google Merchant Center Feeder for ZC v1.5.x [Support Thread]

marton_1:

Many thanks for the quick replies
The file is catalog/myadmin/googlefroogle named 1.4.7 that I downloaded from GitHub according to a link in this thread, https://github.com/torvista/Zen_Cart-Google_Merchant_Center_Feeder. I thought that was the latest, oops :(

yeah, i'm not real sure what the ZC policy is... i think the official plugins come from the downloads page on this site. there has been an attempt to integrate github repos with ZC plugins; but the downloads page for this plugin does not have a github repo associated with it.

and around line 227 I have

<?php //todo use this to change default and remove configuration switch ?>
      <div title="<?php echo TEXT_FEED_SORT_TITLE . GOOGLE_PRODUCTS_FEED_SORT; ?>"><b><?php echo TEXT_FEED_ORDER_BY; ?></b>
          <label><?php echo TEXT_FEED_ID . zen_draw_radio_field('feed_sort', 'id', GOOGLE_PRODUCTS_FEED_SORT === 'ID'); ?></label>
          <label><?php echo TEXT_FEED_MODEL . zen_draw_radio_field('feed_sort', 'model', GOOGLE_PRODUCTS_FEED_SORT === 'Model'); ?></label>
          <label><?php echo TEXT_FEED_NAME . zen_draw_radio_field('feed_sort', 'name', GOOGLE_PRODUCTS_FEED_SORT === 'Name'); ?></label>
      </div>

again, i am not sure why one would need their feed sorted.

as previously stated, there is a problem with the insert into the database.  we could do a manual insert into the db if so desired which would eliminate the NOTICE.

in addition, i have found setting up a scheduled job to run the feed is the way to go.  it seems this NOTICE is only done when on the admin page.  setting up a scheduled job to run the feed eliminates going to the admin page to re-run your feed.  most hosting companies have an interface on their cpanel to do that; else if you have SSH access to your server you can set up a cronjob to run it on a scheduled basis.

let us know if you want help with that.

best.

author of square Webpay, now with Apple Pay and Google Pay.
mXworks
donations: venmo or paypal accepted.
premium consistent excellent support. available for hire.

5 Jan 2021, 5:34 PM
#473
marton_1 avatar

marton_1

Totally Zenned

Join Date:
Apr 2013
Location:
eglisau switzerland
Posts:
568
Plugin Contributions:
0

Re: Google Merchant Center Feeder for ZC v1.5.x [Support Thread]

Thanks again for the quick replies.

The ZC download page does not mention ZC later than 155 so I tried the Github version.

No problem, I can delete that section of the code should the scheduled job throw up warnings.

I do usually run it with a cron job but am currently testing my new 157 site manually.

5 Jan 2021, 6:02 PM
#474
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,880
Plugin Contributions:
7

Re: Google Merchant Center Feeder for ZC v1.5.x [Support Thread]

If you use that Github code, you also need to run that \sql\updates\update_1_15_0.sql file too. Sorry for not making that clear. I'll update the readme.

I had to leave the work I was doing on this and although the code is working, the instructions and sql updates need an overhaul, which I will certainly not get round to doing, so over to the community for that.

Still, now that it is on Github it is open to better maintenance than before.

Steve
github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

5 Jan 2021, 6:51 PM
#475
marton_1 avatar

marton_1

Totally Zenned

Join Date:
Apr 2013
Location:
eglisau switzerland
Posts:
568
Plugin Contributions:
0

Re: Google Merchant Center Feeder for ZC v1.5.x [Support Thread]

Time, one thing none of us have enough of...

Thanks for the update.

5 Jan 2021, 7:18 PM
#476
marton_1 avatar

marton_1

Totally Zenned

Join Date:
Apr 2013
Location:
eglisau switzerland
Posts:
568
Plugin Contributions:
0

Re: Google Merchant Center Feeder for ZC v1.5.x [Support Thread]

Just to say I ran \sql\updates\update_1_15_0.sql file and now I have no more warnings in my log.
Many thanks for the prompt and friendly fix.

23 Apr 2021, 9:35 PM
#477
noppie avatar

noppie

Zen Follower

Join Date:
Mar 2004
Posts:
210
Plugin Contributions:
0

Re: Google Merchant Center Feeder for ZC v1.5.x [Support Thread]

I am having a strange problem.. the feeds directory is not being picked up, I set the folder to 777 and then 755 and it says it isn't there. I don't know what to do from here.. i used the google feed manager from the grub. i put the folder under my folder shop/feeds.

My Multi_Site Zen Carts
http://herasonlinemarket.com

24 Apr 2021, 9:06 AM
#478
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,880
Plugin Contributions:
7

Re: Google Merchant Center Feeder for ZC v1.5.x [Support Thread]

In the Admin configuration for Google Merchant Feeder, I have the feed directory as

feeds/google_merchant_center/

What is saying "it isn't there" and when does "it" say that?

Steve
github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

24 Apr 2021, 9:07 AM
#479
marton_1 avatar

marton_1

Totally Zenned

Join Date:
Apr 2013
Location:
eglisau switzerland
Posts:
568
Plugin Contributions:
0

Re: Google Merchant Center Feeder for ZC v1.5.x [Support Thread]

I have a problem with additional images. I did a search in this thread for my problem but did not find it although I cannot be the first one to have this problem?

My problem is that when links are added for additional images for a product then sometimes image links are added from other products, for example, for my AVA product then some of the additional images are from the Bavaria product, see example below. Also strange is the false Bavaria images are from the Bavaria product that is not active.

<g:image_link>https://www.simmar.ch/catalog/images/large/Ava_LRG.jpg</g:image_link>

<g:additional_image_link>https://www.simmar.ch/catalog/images/47374_Hunter%20Halsband%20Bavaria.jpg</g:additional_image_link>

<g:additional_image_link>https://www.simmar.ch/catalog/images/large/47374_Hunter_Halsband_Bavaria_LRG.jpg</g:additional_image_link>

<g:additional_image_link>https://www.simmar.ch/catalog/images/large/47374_Hunter_Halsband_Bavaria_01_LRG.jpg</g:additional_image_link>

<g:additional_image_link>https://www.simmar.ch/catalog/images/47374_Hunter_Halsband_Bavaria_01_LRG.jpg</g:additional_image_link>

<g:additional_image_link>https://www.simmar.ch/catalog/images/large/47374_Hunter_Halsband_Bavaria_02_LRG.jpg</g:additional_image_link>

<g:additional_image_link>https://www.simmar.ch/catalog/images/47374_Hunter_Halsband_Bavaria_02_LRG.jpg</g:additional_image_link>

<g:additional_image_link>https://www.simmar.ch/catalog/images/47374_Hunter_Halsband_Bavaria_LRG.jpg</g:additional_image_link>

<g:additional_image_link>https://www.simmar.ch/catalog/images/large/Ava_01_LRG.jpg</g:additional_image_link>

<g:additional_image_link>https://www.simmar.ch/catalog/images/large/Bavaria-65101_LRG.jpg</g:additional_image_link>

<g:additional_image_link>https://www.simmar.ch/catalog/images/large/Bavaria-65101_2_LRG.jpg</g:additional_image_link>

Thanks for any help.

24 Apr 2021, 8:04 PM
#480
noppie avatar

noppie

Zen Follower

Join Date:
Mar 2004
Posts:
210
Plugin Contributions:
0

Re: Google Merchant Center Feeder for ZC v1.5.x [Support Thread]

i got the feeds to finally show.. and i really don't know what i did.. but it is working

My Multi_Site Zen Carts
http://herasonlinemarket.com