Jump to content

Create custom Order - Increase number of items searched


djo1919

Recommended Posts

Hello everyone,

Create Custom Order:
After upgrading Prestashop to the version 1.7.8.3, I can only see 10 products instead of all products before the update.

I need your assistance please to display all the products while searching to create a new custom order.

Thank you in advance.

Best Regards

Screenshot 2022-03-26 at 12-58-48 Create order • Pushfit.se - C_o Logic Consulting.png

Link to comment
Share on other sites

Hi,

prestashop_root/src/PrestaShopBundle/Controller/Admin/Sell/Order/OrderController.php , searchProductsAction() method, replace "10" with the value you want.

/** @var FoundProduct[] $foundProducts */
$foundProducts = $this->getQueryBus()->handle(new SearchProducts($searchPhrase, 10, $currencyIsoCode, $orderId));

 

  • Thanks 1
Link to comment
Share on other sites

  • 1 year later...

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...