0

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...).

/app/design/frontend/em0122/default/template/checkout/cart/totals.phtml

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

4
  • 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
    Commented Aug 28, 2015 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
    Commented Aug 28, 2015 at 8:50
  • and selected menu should attach in orders mail with other details, please how to do , help me out.
    – jagdish
    Commented Aug 28, 2015 at 9:43
  • Can reply anyone ,, suggest me some idea about above given question.
    – jagdish
    Commented Aug 31, 2015 at 5:32

1 Answer 1

0

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.

1
  • can you please explain specific..?
    – jagdish
    Commented Aug 31, 2015 at 6:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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