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
    Commented Jul 12, 2018 at 6:00
  • @amit bera In a custom .phtml template Commented Jul 12, 2018 at 7:09
  • which page?Checkout page or other pages?
    – Amit Bera
    Commented Jul 12, 2018 at 7:20
  • at the homepage which is loading the phtml file from custom module Commented Jul 13, 2018 at 10:13

0

Your Answer

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

Browse other questions tagged or ask your own question.