0

Story:

I have to create a attribute with list of medium to send a product(Courier, eMail, cargo). Some products will have all the three and some will have only two of them. That will be decided while adding a product. So if admin select courier and email for product, in product view page the both have to be displayed in dropdown. Please not the this mode medium is product specific.

What i tried:

I have created an attribute and set values as below imageenter image description here:

Then in \rwd\default\template\catalog\product\view.phtml,i added below lines:

<?php print_r($_product->getAttributeText('card_delivery_medium')); ?>

Result:

It shows the attribute like below

enter image description here

But the values are not showing the values selected while adding a product. For this product I selected only Prepaid and email.

Can you suggest whats my mistake.

Amit Bera
77.8k21 gold badges127 silver badges240 bronze badges
asked Apr 26, 2015 at 9:06
2
  • 1
    please reindex from admin index management, Commented Apr 26, 2015 at 10:15
  • @AmitBera yes I did reindexing cleared cache, but its not showing. Need those values to come in a drop down box. For example simple products will be displayed in a drop down box know like that Commented Apr 26, 2015 at 10:42

1 Answer 1

1

I found that this can not be don directly. However, below article is helpful to create the things.

http://merch.docs.magento.com/ce/user_guide/Magento_Community_Edition_User_Guide.html#catalog/product-configurable.html

answered Apr 26, 2015 at 13:13

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.