In given link , http://liferaybangalore.com/index.php add one product to cart and go to VIEW CART ,

Above PROCEED TO CHECKOUT Button i want to add custome code for drop-down menus like(Children Education, Womens Support etc...).


At end to this total.phtml page am writing code, While selecting dropdown menu should attach in mail with other details. Please refer the attached screen shot.

Please help me out.enter image description here

  • What do you want to display in the dropdown? Dynamic values, static values? Do these values depend on our values, i.e. conditional logic? – mkerstner Aug 28 '15 at 8:39
  • Static Values in dropdown, like ( Girls Education , Boys Education , Womens Support, Donation etc... ) these are the static menus in drop-down, – jagdish Aug 28 '15 at 8:50
  • and selected menu should attach in orders mail with other details, please how to do , help me out. – jagdish Aug 28 '15 at 9:43
  • Can reply anyone ,, suggest me some idea about above given question. – jagdish Aug 31 '15 at 5:32

You need to add attributes to save extra data for orders. Have a look at the "Saving extra data with an order in Magento" (https://stackoverflow.com/questions/4370235/saving-extra-data-with-an-order-in-magento).

It's best to write a simple custom extension to add your attribute(s) and then you need to listen to the correct event to write that extra piece of data to the database (e.g. sales_convert_quote_to_order). clockworkgeek has posted a nice overview for a possible solution.

  • can you please explain specific..? – jagdish Aug 31 '15 at 6:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.