v1.0.3 of Google Product Search Feeder II is now available for download: https://www.zen-cart.com/downloads.php?do=file&id=2379
This release corrects issue #39 (Correct PHP Warnings when a product is missing some of its 'joined' database records)
v1.0.3 of Google Product Search Feeder II is now available for download: https://www.zen-cart.com/downloads.php?do=file&id=2379
This release corrects issue #39 (Correct PHP Warnings when a product is missing some of its 'joined' database records)
v1.0.4 of Google Product Search Feed II is now available for download: https://www.zen-cart.com/downloads.php?do=file&id=2379
This release contains changes associated with the following GitHub issues:
#40: Multiple GPSF extensions result in a PHP Fatal error.
#41: getProductsTitle extension method is never called.
#42: zc_plugins can't provide GPSF extensions.
thanks so much for updating this! I did one of the updates years ago and know well the issues!
But a question. Turns out google is a bit picky about weight and it requires a shipping weight. Not a product weight. The mod lists it as product weight. I've asked for clarification to see if they want both product and shipping weights. I hope not.
So it looks like this line in the gpsfFeedGenerator.php file:
If you change the gPHP Code:
if (GPSF_WEIGHT === 'true' && $product['products_weight'] > 0) {
$this->xmlWriter->writeElement('g:product_weight', $product['products_weight'] . ' ' . GPSF_UNITS);
}
roduct_weight to g:shipping_weight, that will fix the feed assuming they don't have to have both weights. If it does, duplicating that line with the change in one and not the other will suffice.
My main purpose here to find out who else has run into this and and they have fixed it to google's satisfaction.
I just changed groduct_weight to g:shipping_weight and it seems to have been happy
From the Google documentation: https://support.google.com/merchants...98720655404-NA
... it looks like the g:shipping_weight is needed if you're specifying the shipping costs via the Merchant Center.
See this GitHub issue for change-tracking: https://github.com/lat9/gpsf/issues/45
i seem to have ran into a hiccup, currently using v1.00 and all was running fine until a few days ago when i got a google protection from lost products alert, seems out of the blue my gpsf has started an arbitrary limit of 2725 maximum products. Symptom is max products field set to 0 for unlimited, and i get the following displayed on my gpsf2 feed generation page upon visiting it...
i have tried to upgrade to v 1.3 but that resulted in a database and file restore due to an undefined GPSF_LANGUAGE which i tried to define as en only if not already defined to get the error that it was already defined :/Code:Max memory (memory_limit):4800M Maximum input time:360 Max execution time (in seconds):12000 Maximum number of products in feed:2,725
today i find that i have had another error message too for an undefined GPSF_LANGUAGE and had to define it as 'en' to be able to generate a feed oddly too...
my small edit to skip an image for providing url if already a url is working fine still, otherwise it is a standard set of files. Anything that would cause the limit to kick in outside of the max product setting perhaps? i thought along the lines of file size limit which gzip did not resolve (if it was the cause) and also ruled out a hiccup with perhaps pc parts imported via ep4 having similar but not identical names by disabling the "remove duplicates from feed" option, but it still stayed at the same figure of itemsCode:[21-Nov-2024 00:00:03 UTC] PHP Fatal error: Uncaught Error: Undefined constant "GPSF_LANGUAGE" in /gpsf_main_controller.php:76 Stack trace: #0 {main} thrown in /gpsf_main_controller.php on line 76 [21-Nov-2024 00:00:03 UTC] Request URI: /gpsf_main_controller.php?feed=fy_un_tp&key=keyremoved, IP address: removed --> PHP Fatal error: Uncaught Error: Undefined constant "GPSF_LANGUAGE" in /gpsf_main_controller.php:76 Stack trace: #0 {main} thrown in /gpsf_main_controller.php on line 76.
GPSF_LANGUAGE is removed when you upgrade to a current version of GPSF. It appears that you forgot to copy the upgraded version of /gpsf_main_controller.php -- that goes into the root of your site's file system.
Hello All.
I installed the latest version on zc 1.5.8 on PHP Version: 8.2.26. Everything seems to be working just fine, but true to form... google has a problem with the data.
In the xml feed file each product's weight and shipping weight are represented accurately. This data also appears on the product details page in google merchant center. But on the dashboard it's showing that all 100 products are missing the shipping_weight.
Every item in the feed file contains both of the following
<g: product_weight>3 lb</g: product_weight>
<g:shipping_weight>3 lb</g:shipping_weight>
I am seeing <![CDATA in the g:title, g:brand, g: product_type and g:description. Not sure if that should be there or not.
Thanks a bunch,
John
Bookmarks