Hi Magento log show ERROR Notice: Undefined variable: productId in /home/myhomestoreco/public_html/app/code/local/Sm/Cartpro/controllers/IndexController.php on line 31

  • check your variable is wrong in line 31 – Rakesh Donga Feb 20 '20 at 5:47
  • You are not getting the product in the controller for some reason or you have some spelling mistake while calling the object of the product – Mr Zid Feb 20 '20 at 5:48

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.