Re: 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?
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?
Re: Google Merchant Center Feeder for ZC v1.5.x [Support Thread]
Quote:
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.
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 :/
Re: Google Merchant Center Feeder for ZC v1.5.x [Support Thread]
Quote:
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.
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 :)
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?
Code:
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.
Re: Google Merchant Center Feeder for ZC v1.5.x [Support Thread]
Quote:
Originally Posted by
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?
Code:
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.
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.
Quote:
Originally Posted by
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?
Code:
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.
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..._Center_Feeder. I thought that was the latest, oops :(
The file heading is
Code:
<?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
Code:
<?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>