Tags/topics: 
2
Answers
Vote up!
1
Vote down!

How do I add a dropdown field in the commerce form?

Hi,

Does someone know how to add a dropdown field to the commerce form?

I need to add a field where people need to select one of the 3 options. Ex.: "How did you know us?" (options: Google, a friend, I don't know)

Can anyone help me?

Thanks

Asked by: businessvip
on February 11, 2014

2 Answers

Vote up!
0
Vote down!

Do u want only dropdown menu ?

Answer by: bodagalaramkumar
Posted: Feb 13, 2014

Comments

Hi,

Thank you for replying to my question.

I need to add customized fields to the commerce registration form. I'm using the Hotel Diamond drupal commerce theme.

I added the phone nr. field, a simple field.

This is a Hotel website, and it's no necessary to have payments mode in the page. However client needs to add is credit card details in order to garantee the reservation. And this is my problem, I need to add extra fields to the commerce registration form that is fulfilled when the client makes an order, just like the one's used by booking.

Can you help me?

Thanks

- businessvip on February 13, 2014

Hi,

Thank you for replying to my question.

I need to add customized fields to the commerce registration form. I'm using the Hotel Diamond drupal commerce theme.

I added the phone nr. field, a simple field.

This is a Hotel website, and it's no necessary to have payments mode in the page. However client needs to add is credit card details in order to garantee the reservation. And this is my problem, I need to add extra fields to the commerce registration form that is fulfilled when the client makes an order, just like the one's used by booking.

Can you help me?

Thanks

- businessvip on February 13, 2014

Hi, thanks for your reply.

I need to add some extra fields in to the commerce form, I'm using the Hotel Diamond Drupal theme from TeamForest and it has Commerce and Rooms modules installed.

So, I wish to add a a few extra fields to the registration/booking form.

Can you help me?

- businessvip on February 14, 2014
Vote up!
0
Vote down!

Hai businessvip,

If you want only Drop down menu... You follow this sequence :)

1) Goto https://drupal.org/project/superfish

2) In that page Requirements :
------------------
2.1) Click on Superfish library (Download Superfish library).

3) In the same page Recommended additions:
--------------------------------
3.1) Click on Libraries module..One new page will come download which version you want.

3) Download Superfish Module from the original page.

4) Create libraries in C:\wamp\www\commerce_kickstart-7.x-2.11\sites\all

5) Place the 2.1 in the C:\wamp\www\commerce_kickstart-7.x-2.11\sites\all\libraries

6) change the name as superfish.

7) Place Downloaded 3.1 in C:\wamp\www\commerce_kickstart-7.x-2.11\sites\all\modules

8) Place superfish module in C:\wamp\www\commerce_kickstart-7.x-2.11\sites\all\modules

9) Configure the Module...Goto sitesetting-> Module-> superfish( Enable it)

10) Goto sitesetting-> Blocks-> Place Superfish in Menu Block.

11) Disable Primary menu and secondary menu.

Then Enjoy :)

Answer by: bodagalaramkumar
Posted: Feb 14, 2014