Home › Forums › WoodMart support forum › Theme Conflict with WooCommerce
Theme Conflict with WooCommerce
- This topic has 9 replies, 2 voices, and was last updated 2 months ago by Artem Temos.
March 24, 2023 at 5:58 pm #453967
When I try to add a new page or edit a page, it always loads the same product page, meaning I can’t edit or add new pages. I’ve made a screen recording – please see link shared securely.
I have found the issue seemed to stem from enabling the WooCommerce Plugin – when enabled the new page link opens in a product page. I spoke to WooCommerce support about it and they asked that I test for conflicts. On switching the theme to a default theme, the problem was resolved, I could add and edit pages again. So it seems there is a conflict issue between the WoodMart Theme and WooCommerce Plugin. Please can you help?
March 24, 2023 at 6:23 pm #453974
- This topic was modified 2 months, 1 week ago by Puddle123.
Please, disable all plugins that are not related to our theme and provide us with your admin access. We will log in and check what is wrong there. You can leave only the following plugins that are required for our theme:
Elementor/WPBakery page builder
Thank you in advanceMarch 24, 2023 at 7:05 pm #453997
Sure, I’ve done that. Please see details below. It’s on our staging site.
March 27, 2023 at 9:14 am #454326
- This reply was modified 2 months, 1 week ago by Puddle123.
We just tested your website but didn’t see any problems with the page editing mechanism. Here is a screenshot https://gyazo.com/b99dc63b3ad76a9a0374eb8c4b187415
Kind RegardsMarch 27, 2023 at 1:44 pm #454436
Thanks for testing. I’ve doubled checked, the issue happens when you try to add a new page. Or also when editing Blog — Posts Page. Please review those.
ThanksMarch 27, 2023 at 2:37 pm #454452
Yes, we see the problem now. Please, send us your FTP access so we can perform further investigation.
Kind RegardsMarch 27, 2023 at 3:27 pm #454464
Please find the information sent securely. ThanksMarch 28, 2023 at 3:44 pm #454824
Try to add the following PHP code snippet to the child theme functions.php file to do this
remove_filter( 'woocommerce_short_description', 'do_shortcode', 11 );
Kind RegardsMarch 28, 2023 at 10:54 pm #454934
Initial testing looks promising, appears to have fixed it, thank you. Does adding that code stop the short descriptions from showing or any other impacts we should know about?
CheersMarch 29, 2023 at 9:13 am #455024
It removes shortcodes from the short description. The problem seems to be caused by some shortcode added to one of the product descriptions.
- You must be logged in to create new topics. Login / Register