Incompatibility wit core woocommerce functions
-
Hello,
I have found a very strange issue with your plugin
I need to show some specific information based on category on a single product page created with Elementor.
It info displays thru shortcodes – I can show any additional information for a product with small snippet of a code.
BUT.
When I put a piece of code into functions.php of a theme, e.g.:add_shortcode('test', 'test_func'); function test_func () { global $product; $product = wc_get_product( get_the_id() ); return $product->get_name(); }
Elementor editor returns a server error (500).
Site is almost empty – only Astra theme, Elementor and Yoast.The code is too simple –?I used it and similar snippets many times.
When I disabled Yoast Seo Plugin code works like a charm.
So – I see some incompatibilities of Yoast SEO plugin with core woocommerce functions.Any suggestions?
- This topic was modified 3 years, 11 months ago by .
- This topic was modified 3 years, 11 months ago by .
The page I need help with: [log in to see the link]
- The topic ‘Incompatibility wit core woocommerce functions’ is closed to new replies.