I want to show something else, instead of the original product content to the guest users. I think I could do that with woocommerce action and filters, but I looked in the woocommerce codes and didn't realized which hook is suitable.

I think for changing the whole single product content, woocommerce_before_main_content will be good, but there is another problem, when I find the right hook, how can I hide the product content and show something else ?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.