wordpress-seo icon indicating copy to clipboard operation
wordpress-seo copied to clipboard

Broken with WooCommerce 3.0

Open ghost opened this issue 9 years ago • 27 comments

What did you expect to happen?

It to work?

What happened instead?

It broke.

How can we reproduce this behavior?

Upgrading to WooCommerce 3.0

Can you provide a link to a page which shows this issue?

Technical info

  • WordPress version:
  • Yoast SEO version:

ghost avatar Apr 05 '17 15:04 ghost

With the update to Woocommerce 3.0 you are not able to update any existing product data. In addition you encounter the same problem when trying to add a new product. Essentially the the product data box is non functional, so no shipping, inventory, attributes, variable and general selections are non-operative.

Deactivating the plugin allowed everything to function properly.

drnick2 avatar Apr 05 '17 15:04 drnick2

thanks @drnick2 I've been so busy reporting bugs for WooCommerce 3.0 I got lazy here.

I can confirm what you have stated above is correct and the plugin is not compatible with this version of WC.

ghost avatar Apr 05 '17 16:04 ghost

I've deactivated the Yoast SEO plugin as well to restore functionality of everything in the back end. Hopefully there is a patch soon to resolve this because WordPress without Yoast feels weird.

jtleathers avatar Apr 05 '17 19:04 jtleathers

no patch needed not a WordPress SEO bug bug is elsewhere .org is the place for free support github is for bugs

ab6c551e974a4541850c65aa68dd8ed4

BurlesonBrad avatar Apr 05 '17 20:04 BurlesonBrad

I am having same issue, when I upgrade woocommerce 3.0, product page stop working

sherii20 avatar Apr 05 '17 20:04 sherii20

@BurlesonBrad I'm running a clean WordPress Install with Latest Version of WooCommerce & Yoast SEO and this issue still persists.

ghost avatar Apr 05 '17 20:04 ghost

I can confirm the same - with a clean install and only Woocommerce and Yoast SEO, there are a couple javascript errors in the console. Looks like it might be related to the "select2" v4 update. https://github.com/woocommerce/woocommerce/wiki/2.6.x-to-3.0.0-Developer-Migration-Notes#select2-version-4

keeneyemedia avatar Apr 05 '17 21:04 keeneyemedia

@BurlesonBrad This is an issue with Woocommerce 3.0 and Yoast SEO when it comes to updating or changing current or new product data, everything else seemed to be working as far as receiving new orders. Not until you deactivate Yoast can you actually change or update product data.

drnick2 avatar Apr 05 '17 21:04 drnick2

Both versions of select2 cannot work together so it breaks the product page. If yoast could update to the new Select2 version asap, it would be pretty awesome since for now I cannot live without any of these two plugins...

lazharichir avatar Apr 06 '17 03:04 lazharichir

Also, Primary Category functionality is gone.

cjwebdev avatar Apr 06 '17 05:04 cjwebdev

Thanks for reporting this issue. Unfortunately we've been unable to reproduce this with Yoast SEO 4.5 and WooCommerce 3.0.

Could you please answer the following questions for us?

  • Are you using any other plugins/addons next to WooCommerce and Yoast SEO 4.5 (we're assuming you're using the free plugin, if you use any Yoast SEO addons or another plugin, please let us know)
  • Could you please make screenshots of the exact steps you have taken?
  • What theme are you using? Preferably please check if the bug also occurs with a standard WP theme such as twenty seventeen.

CarolineGeven avatar Apr 06 '17 07:04 CarolineGeven

Hi Caroline,

We are using Salient 7.6 and the latest versions of WooCommerce and Yoast.

Attached is a screenshot of the JS error and details of our WP setup.

With the new error, most JS functions on the Product Edit page are disabled, as is Primary Category functionality.

screen shot 2017-04-06 at 5 14 46 pm

wp_sysrep.txt

cjwebdev avatar Apr 06 '17 07:04 cjwebdev

@cjwebdev We'd like to solve this issue asap, could you please e-mail us at [email protected] and mention this ticket? As we cannot reproduce this, we would like to get access to the WordPress admin of your website. This will allow us to look at your specific setup and help us find a solution.

For increased security, we advise you to create a new admin user for us. Please also include a link to your admin login page, for example: http://www.example.com/wp-admin/.

The above applies to everyone who runs into this issue. Please e-mail us at [email protected], mention this ticket and create an admin account for us so we can find a solution asap. Thanks in advance.

CarolineGeven avatar Apr 06 '17 07:04 CarolineGeven

@CarolineGeven The incompatibility may actually be with WooCommerce Smart Coupons.

I did a local install of WordPress with the Twenty Seventeen theme and only 3 plugins: Yoast SEO 4.5, WooCommerce 3.0 and WooCommerce Smart Coupons 3.2.1.

The error starts showing up when editing a Product if Smart Coupons is activated.

jtleathers avatar Apr 06 '17 08:04 jtleathers

@jtleathers Thanks for letting us know. Does the error also occur with WooCommerce 3.0 and Smart Coupons active and Yoast SEO inactive?

CarolineGeven avatar Apr 06 '17 08:04 CarolineGeven

@CarolineGeven No, it only occurs if both Smart Coupons and Yoast SEO are active. It goes away if you deactivate one or the other.

jtleathers avatar Apr 06 '17 08:04 jtleathers

@jtleathers Thanks for the fast response. Can you please email us at [email protected] and mention this ticket? We'd like to get to the bottom to this. As we cannot reproduce this, we would like to get access to the WordPress admin of your website. For increased security, we advise you to create a new admin user for us. Please also include a link to your admin login page.

CarolineGeven avatar Apr 06 '17 08:04 CarolineGeven

@CarolineGeven I'll put this site online and send some login info to that email address. In the meantime, I was able to get the error to stop by commenting out a single line of jQuery in the Smart Coupons main plugin file:

jQuery( this ).select2( select2_args ).addClass( 'enhanced' );

Doing so probably breaks functionality but it might help narrow down the issue.

jtleathers avatar Apr 06 '17 08:04 jtleathers

Thanks for this, @jtleathers. We'll look into this with the Smart Coupons extension.

mattyza avatar Apr 06 '17 10:04 mattyza

I have the same problem. The "Product Data" section does not work in WooCommerce. I can not intervene because it is an e-commerce site. I have a problem with ordering for Joyetech Shop Sites.

joyetechesigara avatar Apr 06 '17 13:04 joyetechesigara