New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[V8.4.0] WC Shortcode [product_page id="xxxx"] Prevents Page Editing, Opens WooCommerce Product Details #42785
Comments
Reported here, also (7524753-zen): |
What is the cycle for fixes like these to make it to the final release? This is one that has caused us alot of issues as well. |
7721682-zen |
was this fixed? or were there multiple issues with the prodcutpage shortcode?
|
Another Workaround:
The above snippet will disable the block editor for the specific pages added in the array and you will be able to edit the page using the WordPress classic editor |
7842224-zen |
Received another report of this on 7929699-zen. When I tested this on my site using WC Workaround: When I used the snippet @thisissandip shared above, that resolved the issue on my site and allowed me to view the edit version of the page as expected. |
Just discovered this issue yesterday. I thought it was related to the theme, but it is certainly woocommerce. Also can confirm it is not a problem on the frontend, only when going to edit pages. Can confirm 8.3.1 works. Will try the workaround, but seeing as this originated back in 8.4, what is the timetable for a fix? Is causing headaches on many websites for us. |
Prerequisites
Describe the bug
After updating to WooCommerce 8.4.0, pages with the shortcode [product_page id="xxxx"] open the WooCommerce product page instead. This problem occurs when editing a normal page with the shortcode.
This bug was reported here: https://wordpress.org/support/topic/update-8-4-0-opens-the-product-page-instead-of-normal-page
7445720-zen
Expected behavior
The page should show the shortcode instead of the product details.
Actual behavior
The issue causes pages with the shortcode
[product_page id=”xxxx”]
to open the WooCommerce product page directly, making it impossible to edit these pages. The problem was temporarily resolved by reverting back to version 8.3.1.Steps to reproduce
[product_page id="xxxx"]
shortcode.CleanShot.2023-12-13.at.21.54.48.mp4
WordPress Environment
WooC0mmerce 8.4.0
WordPress 6.4.2
Isolating the problem
The text was updated successfully, but these errors were encountered: