Neeraj
Neeraj

Reputation: 101

How to add custom form before "add to cart" page

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?

Upvotes: 0

Views: 1258

Answers (1)

MagePal Extensions
MagePal Extensions

Reputation: 17656

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

Upvotes: 1

Related Questions