Questions tagged [attribute-options]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
1answer
4k views

Get option label associated with admin store in Magento 2

I want to go through all options of attributes configured for filtering and output the label of the Admin Store View. I only managed to get the Default Store View (store_id 1) label with the following ...
1
vote
1answer
712 views

Import Bulk Attribute Options in Magento 1.9.2.3

i am using Magento 1.9.2.3 version. I have a brand attribute and i want to import all its option through csv file. Is there any way to import bulk attribute option? thanks
1
vote
1answer
724 views

How to get list of attribute options in frontend view?

I'm writing a custom display for certain attributes based on its label. Within the 'configurable.phtml' file, it has the following lines: $_product = $this->getProduct(); $_attributes = Mage::...
6
votes
3answers
17k views

Get Custom Option Values of a product magento 2

I have two custom options for a product. Color and Size and both are drop-downs. In product detail pages, I have to display all available colors of that product. I tried the following code and it ...
3
votes
4answers
4k views

How to get option_id of an option by label? (magento 2)

I want to get the option_id of one of the options on an attribute, but I only know the label of the option (by label, I mean the 'value' column in eav_attribute_option_value). How can I get it? ...
2
votes
2answers
3k views

Some product options remain disabled after the first selection

I am using Magento CE 1.9.2.4, and the Porto Theme. I have some Configurable Products with a lot of variants (in some cases there are 5 attributes, each with several options). Each variant has a ...
1
vote
1answer
64 views

Select attributes with numeric labels

I believe this is a core Magento bug, but thought I'd come here to ask for some suggestions anyway. I've got an attribute, let's call it colour_code. It's a select attribute (backend is int) and it's ...
1
vote
1answer
36 views

How to I add another option to an existing select attribute?

I have created an attribute using the following install script: <?php $installer = $this; $installer->startSetup(); $setup = new Mage_Eav_Model_Entity_Setup('core_setup'); $setup->...
0
votes
1answer
419 views

If Statement for attribute value is set to no

Just trying to write an if statement for this situation: We do have some attributes which could have 3 values: empty space, yes and no. The statement should require a yes value to display a jpg and ...
0
votes
1answer
202 views

Add option to attribute in database table [closed]

In database where can I find a table where I could add another option to admin attribute?
1
vote
0answers
813 views

How To Add Product Option of configurable product To Wish List in magento and show selected on product page

I want to add product option in magento wishlist. And when we click on product it will show selected on product page. I search extension for this but i did not not found this. My need is to saved wish ...
1
vote
2answers
2k views

Get Attribute Option Position from Option value

I have a dropdown attribute with many options. In cart.phtml I already get the attribute value for each item Mage::getModel('catalog/product')->load($_item->getProduct()->getId())->...
3
votes
1answer
326 views

Configurable Options within a modal for non-selected options

I want to write a frontend functionality for configurable products. If there is no configurable attribute given, I want a modal to popup which asks the user to select options. The options should be ...
1
vote
1answer
498 views

Sorting attribute options

I am adding new options to some existing attributes using the method below. $option['attribute_id'] = $attribute->getId(); $option['value'][$value][0] = $value; Mage::getModel('eav/...
1
vote
0answers
46 views

Invisible, not transparent images for inactive attribute options in Configurable swatches

I use the same attribute "color" for different "textures" of the product. I am using configurable swatches with magento default rwd theme. The problem is, when a certain texture in frontend is ...
1
vote
0answers
47 views

Get final price of configurable option [duplicate]

I would like to know the best way of getting the final price of a configurable option. I can get the price by looping around eg: $productAttributeOptions = $product->getTypeInstance(true)->...
1
vote
1answer
1k views

Not able to update or delete attribute option in admin

I am not able to update or delete the product attribute options in admin-end. When I am clicking "save" or "save or continue" after updating or deleting the attribute option, Magento shows me the ...
0
votes
1answer
598 views

Sort Attribute Option Collection

I'm getting so mad that it literally hurts with a problem related to attribute option collection on Magento 1.8.1 I have a dropdown type attribute populated with dozens of values and frequently ...
6
votes
5answers
18k views

Get Attribute option Id by Attribute admin value

For a Magento Dropdown Attribute, it is possible to get an Attribute option Id by Attribute admin value?
3
votes
1answer
90 views

How do I create a configurable product with 3 options

I apologise for the vague title, I didn't know exactly what I'm asking so I'll explain and maybe someone else can come up with a better title...or the solution. I'm trying to create a website that ...
3
votes
2answers
615 views

Get Product Options for each Product in the Catalog

I am trying to build a script that outputs all the product options for each product in the catalog into a CSV file. I have tried using the code on this page: http://www.atwix.com/magento/configurable-...
5
votes
3answers
4k views

Can't update or delete attribute options

I have a strange problem with Magento. Recently I'm not able to delete an attribute option or update the postion of an attribute option. When I change the position i.e. from "3" to "0", it will just ...
2
votes
1answer
124 views

Merging Options

Hi to everyone,  can I Merge Options from different Attributes? I have 3 Attributes (Length, Width and Height) that allows Customer to Filter Products by Length and/or Width and/or Height. In ...
0
votes
1answer
5k views

Magento 1.9.1 Setting Default Value for Options

How can I set a default value if the radio buttons in the Associated Products doesn't appear anymore. According to the screenshot here you can select a default option by ticking one of the radio ...
0
votes
1answer
66 views

programmatically creating attribute options - escaping

I'm using a script to programmatically create attribute options - the code is as follows: echo "Creating option ....\n"; $attr_model = Mage::getModel('catalog/...
3
votes
1answer
396 views

How to group the options of an attribute in layered navigation frontend

How can I group the options of an attribute alphabetically in layered navigation frontend? I have approx 300 options for an attribute and I need to group them, such as [A-C] [D-F], etc. The idea is ...
0
votes
1answer
259 views

How to add conditional statement related to configurable product and the quantity of options

I am trying to add a condition statement to add certain text in front of price. I've got the code to check whether it's configurable product or not: if ($_product->getData('type_id') == '...
2
votes
1answer
530 views

How to retrieve option store label?

Could someone teach me how to retrieve the option label for current store view? There is a table eav_attribute_option_value where these information are already stored, but I don't know what model I ...
1
vote
0answers
119 views

Rewrite bundle product options in admin

I want to rewrite bundle options, i.e getProduct() in my project. This is my code: <bundle> <rewrite> <...
0
votes
1answer
512 views

How do you show image tiles as configurable product option?

I am trying to get my configurable products set up as shown below. I have looked all over and unless I'm using the wrong terms I can't see it anywhere. To confirm at the moment I have a dropdown ...
1
vote
2answers
640 views

Add new option to existing product attribute

I am trying to use the function addAttributeOption to add a new option to an attribute. I do not want to change the current option order or defaults but simply want to append a new option to the end ...

1
2