0

I need to fetch the

products of a customer that have reached to checkout + the products that customer has placed ordered for.

The collection should not include the items that are in the cart but the customer has not visited the checkout page , so in short

$products = previously ordered product + products that the customer has viewed on checkout page

4
  • When and where you need this product list?
    – Amit Bera
    Jul 12, 2018 at 6:00
  • @amit bera In a custom .phtml template Jul 12, 2018 at 7:09
  • which page?Checkout page or other pages?
    – Amit Bera
    Jul 12, 2018 at 7:20
  • at the homepage which is loading the phtml file from custom module Jul 13, 2018 at 10:13

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.