Please submit a private ticket if you need to share sensitive information, such as license details and admin credentials.

Okay
  Public Ticket #4500248
WPC Variation Bulk Editor for WooCommerce not working with Google for WooCommerce
Open

Comments

  • Martina started the conversation

    We are using your plugin on several woocommerce shops, but after activating plugin "Google for WooCommerce" we recognized trouble while editing products. The product description is white font on white background and several features are still not working. If we turn plugin "WPC Variation Bulk Editor for WooCommerce" off, it's working smoothly.

    Can you reproduce this effect ?

    Thanks in advance!

  •  1,542
    Dustin replied

    Hi Martina,

    We have noticed an incompatibility issue between these two plugins. You need to edit the following file: google-listings-and-ads/src/Admin/Product/Attributes/VariationsAttributes.php and add the following code:

    if ( ! $product || ! is_a( $product, 'WC_Product_Variation' ) ) {
    	// Added by WPC Variation Bulk Editor
    	return;
    }

    3732583301.png

    Best regards,
    Dustin

  • Martina replied

    Hi Dustin,

    Thank you very much for your quick help. That was very helpful and it works great. Is there also a way to do this with a snippet code? I'm afraid that the change will be gone with the next update and we'll have to do it over and over again.

    We use the plugin “code snippets”.

    Thanks again for your help!

    Greatings, Martina

  •  1,542
    Dustin replied

    Unfortunately, the Google for WooCommerce plugin doesn’t have a filter/action hook in that location for us to use snippets, so we have to edit the file directly.

    Since the WPC Variation Bulk Editor plugin only works in the backend, you can only activate it when you need it. At the same time, you will deactivate Google for WooCommerce to avoid conflicts between the two plugins.

    Best regards,
    Dustin