I think the issue you are having with that is caused by Woocommerce. Can you try adding this plugin to your WordPress site and see if that resolves the problem: GitHub - scossar/wp-discourse-woocommerce-support: Integrates the wp-discourse plugin with WooCommerce · GitHub. If you don’t want to install the plugin, add the code that’s in the Alternatives to installing the plugin section of the Readme.
Let me know if this doesn’t solve the problem for you.