Jump to content

[Solved] product list BO


overbags

Recommended Posts

  • 9 months later...

thank you very much for the answer. in the meantime he managed to modify the AdminController.php file in class -> controller to modify default_pagination now I have also corrected _orderBy and everything works. do you know the difference between AdminController.php and AdminOrdersController?

Link to comment
Share on other sites

If you change in AdminController, the changes will take effect for all classes that extend this class (and of course, are not overwritten). If you change in AdminOrdersController, the changes will only take effect on the orders page.

Link to comment
Share on other sites

do I define them within the first function?

    public function __construct()
    {
    $this->_orderBy = 'reference';
    $this->_default_pagination = 300;

        $this->bootstrap = true;
        $this->table = 'product';
        $this->className = 'Product';
ecc. ecc.

Link to comment
Share on other sites

  • overbags changed the title to [Solved] product list BO

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...