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

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.