There is a dropdown list on product detail page, That can be select-able by the user,

After the user selects an option from dropdown list and after he adds this product to the cart,

this selected option should be displayed in cart as well as checkout page, and also displayed on transaction emails.

How can I achieve this ?

As I am new to magento, please a hint will also be helpful to me,...

  • Add a new attribute in admin panel. because attributes are attached to the products. You can create a dropdown attribute easily. please go to Catalog -> Attibutes -> Manage attributes and then click on Add new attribute. and then follow instructions to create a dropdown attribute. :) – Mr_Green Mar 12 '14 at 12:02
  • @Mr_Green, This attribute won't be available on cart page and checkout-page or transnational-emails, That is the main problem. – LuFFy Mar 12 '14 at 12:17
  • I never worked on the pages you mentioned above but if you have access to a product (atleast id) then you can access its related attributes. – Mr_Green Mar 12 '14 at 12:24
  • ^ That's right. On any pages where you have products, the product models are available and you can fetch any data they have if the default page doesn't already display it. – musicliftsme Mar 12 '14 at 13:56
  • But, Are you sure, that user-selected dropdown option attribute will be available on checkout or cart page ? I am trying it, but its not showing it to the cart page – LuFFy Mar 13 '14 at 7:07

The easiest, I think, would be to implement custom options, Catalog -> Manage Products -> product page -> Custom Options tab, if you're looking to add options that is "common to all products." These will show on your order pages, cart, checkout, etc. by default. I don't know about transactional emails, but I'm sure you can if you want to.

I'll need more information to give you a more detailed answer.

The suggestion by Mr_Green also works.

  • Thanks a lot, It worked for single product, Is there any way set custom product for all products from configuration or anywhere ? Atleast common for category !! – LuFFy Mar 13 '14 at 7:04
  • LuFFy, so the custom options need to be assigned for every single product separately, unfortunately. However, there are ways to do what you want; an extension or a Magento shell script (Magento_Shell) will do what you want. Are you familiar with any of these (shell script is much easier, IMO)? – musicliftsme Mar 13 '14 at 13:46

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.