2013-12-16

I have a custom module which does same function of product view page. I am using this module in order to show my bundle products. i have created a fully functional module for this.

I have loaded the product successfully and displayed products name,description, different options in my page. However my add to cart button is not working.

I am loading my product like this

but in default product view page prdoucts are loading using getProduct() method.
my form is like this... which is exactly same as that of default one

However the action part of form is blank, after I load this code. when I click on the button, it loads the same page again and during consoling it says that 'productId is not defined'. So I have checked 'productAddToCartForm ' definition and found out that it uses 'productId' in its definition. How can I set 'prdouctId' in my page? why form action field is empty?

how can make my order now button work perfectly?

Please help me...

Show more