• Resolved Daniil S.

    (@dscelectronicsde)


    Hi, we have a large store and manufacture our products on demand. This means we have all of our 1k+ products and variations on backorder, and the products are available within 4 days after order received. Now “Google Listing & Ads” requires the field “Availability Date” to be set to a value for each product, which is a problem for us because first of all we can not manually set the attribute for over 1000 products in bulk (no such function available) and the attribute is not available in the attribute rules section. Thus my suggestion, either add the option to update the Availability Date for all products in bulk, or add it to the attribute rules section so we can set it to a value “Today + X Days” or at least a specific fix date. Another solution would be to add the attribute “Availability ” to the attribute rules section, wo we could set all products to “Available” instead of “Backorder” for the feed.

    • This topic was modified 1 year, 6 months ago by Daniil S..
Viewing 15 replies - 1 through 15 (of 17 total)
  • I agree this should be changed, however there is a workaround we used for our company. Use a plugin like WP Sheet editor to change the availability date in bulk for all listings/variations.

    Thread Starter Daniil S.

    (@dscelectronicsde)

    Hi, thanks a lot for the hint! We normally use a bulk editing plugin “PW Bulk Edit” but unfortunately it can’t see the atteibutes of the “Google Listing & Ads” plugin. I will try the plugin suggested by you, if we get a “NO” from the devs in this topic.

    Another solution could be writing some code to automatically update the metafield. Heres some code that may help in themes.php:
    https://pastebin.com/4XeHWCc4

    Thread Starter Daniil S.

    (@dscelectronicsde)

    Awesome, thanks a lot! This looks brilliant!

    NP! I do think the devs should add your suggestion…. This is very common with many of us…

    Thread Starter Daniil S.

    (@dscelectronicsde)

    Regarding your code, can i add it to the child theme “functions.php” or does it have to go to “themes.php”?

    sorry… i meant in your themes functions.php yes…

    Thread Starter Daniil S.

    (@dscelectronicsde)

    Hay, thank you for your reply! Tried it now, unfortunately not doing anything – also no errors in the server PHP logs or anything. Just silently not doing anything ?? Tried to run the CRON task manually, no luck as well. Trying to debug now, but can’t seem to find where it actually fails.

    I’d make sure the metafield is actually “availability_date”

    I’ve also noticed the availability date should be formatted differently… Check out these changes and let me know how it turns out.
    https://pastebin.com/KYFWd6G0

    Thread Starter Daniil S.

    (@dscelectronicsde)

    Hi again! The correct metafield name is “_wc_gla_availabilityDate”, with this corrected in the latest code snippet everything works flawlessly. A big thanks to you!

    Glad it works! Hopefully this sort of feature will help out others while the devs implement a similar update.

    Good morning,

    i read and i have a problem too, after entering so many EAN’s in the google tab on woocommerce, when i go into my google merchant center account, i notice that this data is not synchronized.

    As well as the brand, I added the plugin attribute indicating how to go about getting this data, but it is not imported.

    Thread Starter Daniil S.

    (@dscelectronicsde)

    Seems the developers are not that active…

    Plugin Support wpnomad a11n

    (@wpnomad)

    Hi @dscelectronicsde ,

    Thus my suggestion, either add the option to update the Availability Date for all products in bulk, or add it to the attribute rules section so we can set it to a value “Today + X Days” or at least a specific fix date. Another solution would be to add the attribute “Availability ” to the attribute rules section, wo we could set all products to “Available” instead of “Backorder” for the feed.

    Thank you for the suggestion. Kindly add this as a feature request here so the development team can discuss and consider adding the feature: https://woocommerce.com/feature-requests/google-listings-and-ads/

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘Add the attribute “Availability date” to atteibute rules’ is closed to new replies.