Page 6 of 7 FirstFirst ... 4567 LastLast
Results 51 to 60 of 69
  1. #51
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,363
    Plugin Contributions
    94

    Default Re: Google Product Search Feeder II [Support Thread]

    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)

  2. #52
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,363
    Plugin Contributions
    94

    Default Re: Google Product Search Feeder II [Support Thread]

    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.

  3. #53
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,360
    Plugin Contributions
    23

    Default Re: Google Product Search Feeder II [Support Thread]

    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:
    PHP Code:
    if (GPSF_WEIGHT === 'true' && $product['products_weight'] > 0) {
                
    $this->xmlWriter->writeElement('g:product_weight'$product['products_weight'] . ' ' GPSF_UNITS);
            } 
    If you change the groduct_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.
    The full-time Zen Cart Guru. WizTech4ZC.com
    New template for 2.0 viewable here: 2.0 Demo

  4. #54
    Join Date
    Jun 2005
    Posts
    355
    Plugin Contributions
    0

    Default Re: Google Product Search Feeder II [Support Thread]

    I just changed groduct_weight to g:shipping_weight and it seems to have been happy
    2 + 2 = 5 for extremely large values of 2

    Pez Collectors Store •••••••• My Plugins List

  5. #55
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,363
    Plugin Contributions
    94

    Default Re: Google Product Search Feeder II [Support Thread]

    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.

  6. #56
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,363
    Plugin Contributions
    94

    Default Re: Google Product Search Feeder II [Support Thread]

    Quote Originally Posted by lat9 View Post
    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

  7. #57
    Join Date
    Nov 2020
    Posts
    284
    Plugin Contributions
    1

    Default Re: Google Product Search Feeder II [Support Thread]

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

    Code:
    Max memory (memory_limit):4800M
    Maximum input time:360
    Max execution time (in seconds):12000
    Maximum number of products in feed:2,725
    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 :/

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

    Code:
    [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.
    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 items

  8. #58
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,363
    Plugin Contributions
    94

    Default Re: Google Product Search Feeder II [Support Thread]

    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.

  9. #59
    Join Date
    Nov 2020
    Posts
    284
    Plugin Contributions
    1

    Default Re: Google Product Search Feeder II [Support Thread]

    Quote Originally Posted by lat9 View Post
    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.
    I thought I had missed a file but after triple checking I had no choice but to revert to last know good setup. Still limited at 2725 feed items and just discovered that Google is seeing alot of my urls as soft 404's

  10. #60
    Join Date
    Feb 2007
    Location
    Pennsylvania
    Posts
    814
    Plugin Contributions
    0

    Default Re: Google Product Search Feeder II [Support Thread]

    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.

    Click image for larger version. 

Name:	product_detail_page.JPG 
Views:	11 
Size:	41.2 KB 
ID:	20820

    Click image for larger version. 

Name:	merchant_center_missing_weights.JPG 
Views:	9 
Size:	13.4 KB 
ID:	20821

    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

 

 
Page 6 of 7 FirstFirst ... 4567 LastLast

Similar Threads

  1. v150 Google Merchant Center Feeder for ZC v1.5.x [Support Thread]
    By DivaVocals in forum Addon Admin Tools
    Replies: 504
    Last Post: 19 Nov 2024, 03:50 PM
  2. Google Base Feeder Support Thread [OLD]
    By numinix in forum All Other Contributions/Addons
    Replies: 3562
    Last Post: 2 Apr 2012, 06:30 PM
  3. Search Helper Support Thread
    By swguy in forum All Other Contributions/Addons
    Replies: 18
    Last Post: 9 Nov 2011, 11:14 AM
  4. Windows Live Product Search Contribution Support Thread
    By numinix in forum All Other Contributions/Addons
    Replies: 209
    Last Post: 3 Jul 2009, 08:23 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR