raicap Posted April 25, 2021 Share Posted April 25, 2021 How do I add an exception to prevent a module from appearing in a specific product? Link to comment Share on other sites More sharing options...
lototo Posted June 11, 2021 Share Posted June 11, 2021 if (Module::isEnabled('moduleName') && $product->id != 10) {} Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now