Themes
Useful snippets
Remove access to membership product pages
Hide membership products for customers, so they can only be seen on the plans page.
- Add the code below to your theme.liquid file near the top with the theme's other meta code.
- Update the redirect_url variable with the path to your plans page if you have changed it from the default.
- Now when you try to view the membership product it should redirect to your plans page.
