0
votes

I am using magento 1.7 . I need to get input from user so how to add custom form for taking input from user. Let me explain:- When click on any product it display product information.Now there should be a button.On click that button it should show custom form.After submit that form it should redirect to "add to cart" page with all the details of that product and values of custom form fields which is filled by user.

Is there any extension or any other way to do this? If u want any further explanation please comment here. please help asap.

1

1 Answers

1
votes

On zennioptical.com the "ORDER" button is located on the product listing template

magento template : /app/design/frontend/base/default/template/catalog/product/list.phtml

The prescription form is actually shown on the product detail page

magento template : /app/design/frontend/base/default/template/catalog/product/view.phtml

To accomplish this in magento create a simple product the add custom option for ('Prescription Type' etc) then you will need to do some custom css and javascript to accomplish that layout