Search found 1 match

Page 1 of 1

Search found 1 match

Re: Display different HTML Module when logged in

You can use OpenCart’s built-in customer group and login status checks in your module's controller or custom layout. Just wrap your HTML in a PHP check like: php Copy Edit <?php if ($this->customer->isLogged()) { ?> <!-- WelcomeBack HTML --> <?php } else { ?> <!-- Welcome HTML --> <?php } ?> For cus...

Jump to post
  • Sun Jun 15, 2025 11:24 pm
  • Replies 8
  • Views 2978

Page 1 of 1

Search found 1 match