I have to add product from home page using custom module. so how to add products in shopping cart by clicking Add to cart button.

Please anyone help me

  • custom product ? product with custom option ? Dec 30 '16 at 6:41
  • Not like that Sir. I mentioned what i need?
    – Pinku
    Dec 30 '16 at 7:16
  • Possible duplicate of How can I add "add to cart button" in custom phtml file? Dec 30 '16 at 7:36
  • It's not duplicate. The given solution is only working for add to cart button but it's not working for update shopping cart box. I want if pressed add to cart button then same time it should update shopping cart. but here shopping is not increasing
    – Pinku
    Dec 30 '16 at 7:57
  • What happens when you try to add again product that already exists in cart ? some error ?or ? Dec 30 '16 at 8: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.