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 481 to 500 of 505
1 May 2021, 9:29 AM
#481
jsarwar avatar

jsarwar

Zen Follower

Join Date:
Jul 2012
Posts:
347
Plugin Contributions:
0

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

How to include custom fields in feed like promo id, tax and shipping etc. per product?
Have created such extra fields on product page but not sure how to include them in feed.

1 Jun 2021, 10:25 PM
#482
jsarwar avatar

jsarwar

Zen Follower

Join Date:
Jul 2012
Posts:
347
Plugin Contributions:
0

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

Anyone?

jsarwar:

How to include custom fields in feed like promo id, tax and shipping etc. per product?
Have created such extra fields on product page but not sure how to include them in feed.

1 Jun 2021, 10:34 PM
#483
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]

Looks like there's nothing in the code to make it "simple".
You'll have to alter the code to make sure those fields are pulled from the database, and then also make sure they're output using the required format. Probably in this long section of code: https://github.com/torvista/Zen_Cart-Google_Merchant_Center_Feeder/blob/master/catalog/googlefroogle.php#L183-L703

.
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.

22 Jun 2021, 4:07 PM
#484
wolfderby avatar

wolfderby

Zen Follower

Join Date:
Dec 2008
Location:
Pittsburgh, PA
Posts:
241
Plugin Contributions:
0

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

DrByte:

Looks like there's nothing in the code to make it "simple".
You'll have to alter the code to make sure those fields are pulled from the database, and then also make sure they're output using the required format. Probably in this long section of code: https://github.com/torvista/Zen_Cart-Google_Merchant_Center_Feeder/blob/master/catalog/googlefroogle.php#L183-L703

Seems this repo's far more up-to-date than the add-on. Still wondering why so many of my products are skipped atm.

24 Jun 2021, 1:10 PM
#485
wolfderby avatar

wolfderby

Zen Follower

Join Date:
Dec 2008
Location:
Pittsburgh, PA
Posts:
241
Plugin Contributions:
0

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

wolfderby:

Seems this repo's far more up-to-date than the add-on. Still wondering why so many of my products are skipped atm.

...oh hey look, debug in the config. (:

20 Sep 2021, 10:17 AM
#486
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 recently added a massive repository of products using easy populate and i now have some 1800 products, until now i've never noticed an issue but it seems to max out at 1401 products. i've checked the settings and it has a setting that equates to unlimited products included in the feed.
I thought perhaps it was just skipping out of stock items ect and created a listing for a new product that arrived yesterday. when i uploaded again i got the same result "1401 of 1401 records created" is the basics of what i was reading. i'm currently using zen 1.57c. It appears that according to the numinix website i'm out on updating by the latest 2 changelogs but can't find anyway to download the latest official version on there website. I pay the monthly subscription with them but can't see a download link on the site for the updated versions. not even sure if that will resolve my product limit issue or if that lies elsewhere?

when i generate a feed i get the following file pop up in my sites log files folder

[20-Sep-2021 10:10:30 UTC] Request URI: /index.php?main_page=product_info&products_id=1598, IP address: 66.249.65.139
#1  zen_get_buy_now_qty() called at [/home/********/domains/crazygamer.uk/public_html/includes/modules/pages/product_info/main_template_vars.php:83]
#2  require(/home/*******/domains/crazygamer.uk/public_html/includes/modules/pages/product_info/main_template_vars.php) called at [/home/*******/domains/crazygamer.uk/public_html/includes/templates/tableau2/common/tpl_main_page.php:179]
#3  require(/home/*******/domains/crazygamer.uk/public_html/includes/templates/tableau2/common/tpl_main_page.php) called at [/home/*********/domains/crazygamer.uk/public_html/index.php:94]
--> PHP Warning: Division by zero in /home/********/domains/crazygamer.uk/public_html/includes/functions/functions_prices.php on line 563.

[20-Sep-2021 10:10:30 UTC] Request URI: /index.php?main_page=product_info&products_id=1598, IP address: ********
#1  zen_get_buy_now_qty() called at [/home/*******/domains/crazygamer.uk/public_html/includes/templates/tableau2/templates/tpl_product_info_display.php:152]
#2  require(/home/******/domains/crazygamer.uk/public_html/includes/templates/tableau2/templates/tpl_product_info_display.php) called at [/home/*******/domains/crazygamer.uk/public_html/includes/modules/pages/product_info/main_template_vars.php:153]
#3  require(/home/*********/domains/crazygamer.uk/public_html/includes/modules/pages/product_info/main_template_vars.php) called at [/home/*******/domains/crazygamer.uk/public_html/includes/templates/tableau2/common/tpl_main_page.php:179]
#4  require(/home/********/domains/crazygamer.uk/public_html/includes/templates/tableau2/common/tpl_main_page.php) called at [/home/*******/domains/crazygamer.uk/public_html/index.php:94]
--> PHP Warning: Division by zero in /home/*********/domains/crazygamer.uk/public_html/includes/functions/functions_prices.php on line 563.
21 Sep 2021, 1:32 PM
#487
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]

got condition working now in the settings it shows as true finally. just entered into the settings "v_products_condition" which answers another question i had asked earlier or maybe forgot to ask but wondered as an afterthought.. If it shows on your product listing page as mine did "Condition" you should enter lowercase not the initial capital. I would assume this to be the same if for example you had "GTIN" unlike me with it entered as "gtin" both would still result in "v_gtin" or possibly "v_product_gtin" (mine doesn't use the product part of the prefix but others may?)

So I have now got a few ideas on the categories issue I have tried one idea without success and thinking maybe i'm onto the right tracks but making a noob mistake.

so basically I wasn't using the field "v_master_categories_id" but i had the "v_categories name" field for the obvious of the categories names supplied in the options of fields i could add on the suppliers end.

My idea was I could use the create a custom field option and entitle that "v_master_categories" this then gives you the option to create that output in the feed file with a preset value. Using the category computer components on my website was my wish, this has the "v_master_categories_id" id of 83.

I gleefully made this custom field and processed it to find it hadn't created these products in the computer components category using "v_categories_name" as the subcategory as i had hoped. I then remember you said that the categories and subcategories are seperated by a carat.
This then led to me using the latest file i had saved with a quick copy and paste to edit the one fields output to include the carat.

The new "v_master_categories field" field contents was "83^" after the quick edit job and when processed sadly it did not work.

Maybe its as simple as deleting all the products and the running the feed again with these steps i've already tried.

Easier option would be if i could create a field based of a prefix on the suppliers site but i don't see this as an option, not saying its not there, its most likely staring me in the face like the products name was, that turned out to be listed as the option "products short description" that took days to work out lol.

26 Oct 2021, 3:08 PM
#488
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 am getting warnings that some of my images are too small.

For my shop, I use 200x200 pixels for my images.

I sell articles for dogs and they have now decided dog coats are "apparel" and apparel images must have a minimum size of 250x250.

Seems my only solution will be to change all 200x200 images to 250x250 otherwise my grid layout will look messy.
How tedious.

Unless anyone has a bright idea, I assume changing my image sizes in configuration/images will not help if I do not actually change the images sizes in the feeder sent to google

26 Oct 2021, 3:20 PM
#489
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,140
Plugin Contributions:
56

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

marton_1:

I am getting warnings that some of my images are too small.

For my shop, I use 200x200 pixels for my images.

I sell articles for dogs and they have now decided dog coats are "apparel" and apparel images must have a minimum size of 250x250.

Seems my only solution will be to change all 200x200 images to 250x250 otherwise my grid layout will look messy.
How tedious.

Unless anyone has a bright idea, I assume changing my image sizes in configuration/images will not help if I do not actually change the images sizes in the feeder sent to google
Are you using Image Handler? If so, you can 'upsize' those images. See https://github.com/DivaVocals/zen_Image-Handler/blob/master/pages/c_dimensions.md for more information.

26 Oct 2021, 4:08 PM
#490
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]

lat9:

Are you using Image Handler? If so, you can 'upsize' those images. See https://github.com/DivaVocals/zen_Image-Handler/blob/master/pages/c_dimensions.md for more information.

Thank you for your lightning-fast reply.
I do not use Image Handler.

I use Irfanview that enables me to change the size of images in batches :)

22 Jan 2022, 6:26 AM
#491
diptimoy avatar

diptimoy

Zen Follower

Join Date:
Apr 2012
Location:
Bardhaman , Bharat
Posts:
217
Plugin Contributions:
1

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

I have a query , is this add -on compatible with zencart 157c and php7.4?

24 Jan 2022, 12:02 PM
#492
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]

GitHub version is working on php 8.0.14.
But the feed structure/contents may not be 100% up to date for current Google requirements.

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

1 Mar 2022, 10:08 PM
#493
planetjune avatar

planetjune

New Zenner

Join Date:
Jul 2008
Posts:
36
Plugin Contributions:
0

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

I was using 1.14.7 until by Google Merchant Center started throwing XML formatting errors a few days ago. My products haven't changed, so perhaps Google has just become stricter? (I've just upgraded to the GitHub version 1.5.0 of this plugin to see if that would fix the problem but it hasn't made a difference.)

My problem appears to be words with French accents in my product descriptions - the Zen Cart description field encodes the symbol "e acute" (é) as "é" but for valid XML I think it needs to be "&# 233;" (remove the space before the 233; - it converted to é here without it!) - that's as far as I've got with the debugging so far!

I'm not 100% sure this is even the problem, but only products that have that character seem to be affected (unless I'm missing something, which is entirely possible...)

1 Mar 2022, 11:00 PM
#494
planetjune avatar

planetjune

New Zenner

Join Date:
Jul 2008
Posts:
36
Plugin Contributions:
0

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

Okay, I have at least confirmed that this is definitely the problem - I edited one product listing manually in the XML file and re-uploaded it, and that product was accepted and is formatted perfectly.

5 Feb 2023, 6:24 PM
#495
get2go avatar

get2go

New Zenner

Join Date:
Jul 2021
Posts:
12
Plugin Contributions:
0

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

How to include sale_price in feed using this plugin?
How to include Google Product Category Default per product level instead of one defined in setting for all products?

17 Feb 2023, 1:48 PM
#496
hbhorses avatar

hbhorses

New Zenner

Join Date:
Oct 2017
Location:
Belgium
Posts:
9
Plugin Contributions:
0

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

Hi PlanetJune, have you been able to fix the issue with the accents? I have also accents not appearing in my descriptions.
Where i have everything configured as utf8. Do we have a special setting file for it?

15 Jun 2023, 3:33 AM
#497
spawnie69 avatar

spawnie69

Totally Zenned

Join Date:
Sep 2005
Location:
Ocala, FL
Posts:
527
Plugin Contributions:
0

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

Is this mod working on zc 1.58a ?

15 Jun 2023, 8:22 AM
#498
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]

The Main branch on my Github should be working.
The 1.6 branch is in a halfway house....I got sidetracked so currently it's not in a useable state and I won't have time to fix anytime soon.

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

3 Jul 2023, 1:07 PM
#499
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]

It should be working. It works on my site.
You'll need to install the 1.5 version, then remove all the files and use the 1.6 version + upgrade script. I just never got round to updating the installer.
Report problems on Github and further posts in the main thread:

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

19 Sep 2023, 3:54 PM
#500
planetjune avatar

planetjune

New Zenner

Join Date:
Jul 2008
Posts:
36
Plugin Contributions:
0

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

hbhorses:

Hi PlanetJune, have you been able to fix the issue with the accents? I have also accents not appearing in my descriptions.
Where i have everything configured as utf8. Do we have a special setting file for it?

Sorry hbhorses, I wasn't notified that you'd messaged me. My XML now validates correctly, but I can't remember exactly what I did to make that happen. I think it may have been when I globally changed all my tables to utf8mb4 instead of just utf8..?