Questions tagged [dropdown-attribute]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
10 views

Changing Dropdown attribute to text in magento 1.9 without changing data

In Magento 1.9, I am going to convert my drop-down attributes to text field without changing my current data Below is the image of current attribute set
0
votes
0answers
25 views

How to add price whenever dropdown attribute option selected in configurable product In Magento 1.9

How can I add price from drop-down selected value, whenever I selected drop-down attribute value then price are remove form selected option, but price is showing in option but when selected then ...
0
votes
1answer
24 views

Magento 2 : Display dropdown attribute with its label in product listing page [duplicate]

How to display dropdown type product attribute in product listing page and I also want to display that label name? How to display that drop-down attributes? I created in admin. But, it's not ...
0
votes
0answers
17 views

How to create Dropdown list for custom attributes in grouped Products in Magento 2?

I have created two custom attributes like File Length and File Size. Now i have to create Dropdown list for above custom attributes and by using custom attributes i have to filter the table data in ...
0
votes
2answers
30 views

How to get dropdown product attribute value Magento2

I have created a product drop-down attribute and assigned a value to it on the product. I need them on product detail page. $_attributeValue = $_product->getResource()->getAttribute('...
0
votes
0answers
28 views

Magento2 - add dropdown city everywhere in store

Magento2 - I want to show city in dropdown for everwhere in store. I was tried with https://github.com/EaDesgin/Magento2-City-Dropdown but its not working properly.
0
votes
1answer
38 views

Add options to quote programmaticaly

I'm creating quote and order programmaticaly. I can't figure out why options product are not added to my order / quote. See : $superAttr = $item["super_attribute"]; if(!empty($superAttr)){ $...
0
votes
0answers
21 views

How to create a configurable attribute dynamically M2

i have a configurable product that depond on the choice of the customer of the attribute choice but this attribute is not static (not a static dropdown that contain values added by admin) but it's a ...
0
votes
1answer
22 views

Add options to Sub-category attribute in Magento 1

I want to add additional option to the subcategory attribute but I cannot locate where to update its content within the Magento Admin Panel. See this link for full image - https://drive.google.com/...
1
vote
0answers
19 views

Edit dropdown attribute of Sub category

I am trying to fill-in the information of a product category in Magento v.1.9.4.1, however, I am unable to locate or figure out how to add an additional option under this "Dropdown" menu I was able ...
0
votes
0answers
23 views

Empty row in dropdown admin panel magento 2

I had empty row in drop down for attribute in adminpanel. Although there is no empy value while creating attribute.How to remove it.
1
vote
0answers
25 views

How to call and place customer dropdown attribute in Customer Registration Page and One Step Checkout?

I have made a custom customer dropdown attribute like shown in the screenshot (through Silk Software). See Screenshot: I was wondering how to make show the dropdown in the customer registration form ...
0
votes
2answers
405 views

How to create customer custom Drop Down attributes in magento 2

Namespace/Module/setup/installData.php $customerSetup->addAttribute(Customer::ENTITY,'credit_type', [ 'type' => 'int', 'label' => '...
0
votes
1answer
537 views

Add a drop-down field in checkout form Magento 2

I want to add a drop-down here I can add area text field but when it comes to drop-down, I am facing problem.
0
votes
0answers
90 views

Layered Navigation: Create Attribute Options for Drop Down During New Product Import

so I currently have product data in XML format. 1 XML File = 1 Product. Each XML has tons of product data and I am using a Wyomind's Mass Product Import to get them in. 90% of this process is perfect,...
1
vote
0answers
188 views

How to show dropdown configurable attribute in Product Category View in Magento 2?

I have color attribute of type visual swatch, which is displayed on category view as well as catalog search view below the product images, on selecting the swatches, it changed the image as well price....
1
vote
0answers
137 views

Magento 2: Configurable product dropdown attributes on category listing page

I am looking for an option to get the configurable product attributes with each product on category listing page. Magento 2 defaults to swatches only. How can we change it to dropdown? Thanks
1
vote
2answers
815 views

Magento2 Add dropdown option in product listing page for configurable product

I want to change text-swatch to dropdown in category page. I want here drop down instead swatch
0
votes
1answer
72 views

How to remove special characters in a dropdown menu in product view page?

I am using a dropdown attribute but it is displaying special characters. Can you please give me a solution for removing special characters in dropdown menu. Thank you in advance !
3
votes
0answers
326 views

Display custom drop down in registration page using Magento2.1

I tried this code but it's not working app\code\Customer\Attribute\Setup\Installdata.php $customerSetup->addAttribute(Customer::ENTITY, 'customer_type', [ 'type' => '...
0
votes
0answers
323 views

Custom dropdown attribute magento 2

How to create a custom attribute for configurable product using setup script. and the drop down list out all the bundle product and the value of drop down displayed in product detail page of a ...
0
votes
2answers
758 views

How to add new Option to drop down attributes magento2?

How to add an new option to product dropdown attribute? If the option already exist it has to skip adding else add option with new value. I followed the below link How Magento2 add attribute option ...
0
votes
2answers
27 views

Remove Free shipping option

Not sure how to remove free shipping option from sort by options. There is currently no free shipping products but it picks up all products, hence misleading. Thanks
0
votes
0answers
177 views

How to set string value in dropdown attribute programmatically in magento 2.2.X?

I want to set one string value to sizes attribute in drop-down ? //get sage dimension value $dimension = $value->Dimensions; //set value $product-...
1
vote
1answer
977 views

Magento 2 how to add city dropdown

i am trying to city as dropdown in only checkout page with following script in Magento\Checkout\Block\Cart\LayoutProcessor.php $elements = [ 'city' => [ 'visible' => true, ...
3
votes
0answers
361 views

Magento 2 - Product options drop-down empty on front-end

We are doing a mass product integration. For configurable products we are getting an issue where options are not appearing within the drop-down like so: I've narrowed it down to the following method: ...
3
votes
2answers
3k views

Create Product Attribute Of Type MULTISELECT or dropdown select & Create Option Labels Diffrent for Diffrent Store using install or upgrade schema

I am creating custom Product Attribute Of type MULTI SELECT, I want to create different option label for each stores for this particular Attribute, I have tried with this below code, $eavSetup->...
1
vote
1answer
626 views

Magento 1.9: validate custom attribute

I want to make it a last step in onepage checkout process and mandatory. So far I am able to store the value of that attribute in the database and also display it in admin/sales/order but not able to ...
0
votes
1answer
209 views

How to add onchange to a custom option (drop-down)

This should be simple but for some reason I can't find a solution. I have some custom options that are listed on a drop down I'd like to call a javascript function when the user changes the option. ...
0
votes
1answer
612 views

Add a custom field's in registration form with relationship

I need a little help .. I need to create a new field in the registration form, and this field needs to be dynamic. I enter the panel and add the options that I want to appear in this form, and in ...
1
vote
1answer
100 views

Product Options are not coming for the configurable products in magento

Product options for the configurable products are not coming at the product page. echo $this->getJsonConfig() did not return any value and the page breaks after var spConfig = new Product.Config(....
0
votes
1answer
373 views

dropdown list not shown

I have a store in 2 languages. i create attribute Input Type for Store Owner is Dropdown. the list of choices are shown and work very well in store of English language but store in other language not ...
1
vote
6answers
764 views

Update dropdown attribute value Programtically for single product

Onclick Add to cart button we are trying to update the Attribute value from "NO" to "YES". [ attribute code : cart_status (Yes/No dropdown) Attribute ] I tried below code, its changing attribute ...
0
votes
2answers
2k views

Magento 2: Get Product Attribute’s Select Option Id as Per Option Value For Configurable Product

I have fetched options attribute value as <?php $packaging = $_product->getResource()->getAttribute('packaging')->getFrontend()->getValue($_product);?> I am getting options ...
0
votes
1answer
73 views

How can i enable mouse scroll up/down for attribute list

How can i enable mouse rollover on attribute list for up/down list of attributes.
0
votes
1answer
142 views

Output attribute text on product view page from simple product which is associated with configurable product

The above question may sound confusing, so I'll simplify and explain it more below - I tried to look for this answer but couldn't find anywhere. I have a configurable product for t-shirts which has ...
1
vote
2answers
1k views

Magento 2 Rest API - how do I add values to dropdown product attribute

I have problems in adding values to an existing product attribute, using the API POST /products/attributes/:attribute_id/options. The corresponding GET API is working fine, as explained below. I have ...
0
votes
2answers
2k views

getAttributeRawValue gives an id

I'm trying to compare an attribute value with a custom value. We use the getAttributeRawValue to get the product's attribute. That give's me the ID of the value. (If that makes sense). Currently I ...
0
votes
1answer
184 views

Show the SKU in the dropdown of Configurable Products?

Possible this is a very simple task. But is it possible to add the SKUs of the Simple Products in the dropdown on the Configurable Products views? There seem to be no option for doing this, so I ...
1
vote
2answers
775 views

How to get value of custom dropdown product attribute?

I created a custom attribute in my products page. The attribute is a dropdown list. The name of the attribute is soldby. I want to extract the value of that attribute. I wrote: $seller= Mage::...
1
vote
0answers
330 views

Sort Configurable Attribute Options Alphabetically Except for First One (Default)

I've made changes to my Magento code to remove the "Choose an Option" in the drop down for configurable products. Now, I want to ensure that the drop down menu options are loaded in alphabetical ...
3
votes
0answers
478 views

using swatches instead of dropdowns 2.1

Is there an option in admin to show swatches instead of drop downs? I seem to remember there being an option in magento 1.9 to do this but can't seem to find it in admin here. Just to clarify this ...
1
vote
0answers
590 views

How to filter coloums with no value in grid? [closed]

In Store>Manage Grid , I have added a "empty" value to drop downs which filters out all the records in which this particular field is empty. It works fine for all but is having problems for those drop ...
0
votes
1answer
83 views

Switch order of attribute after creating a lot of products?

How do you change the order of attributes, that are already in use in configurable products? For example I have an attribute with the sizes: S, M, XL, L. These attributes have different "Position" ...
1
vote
0answers
200 views

Text attribute to drop down

I am running magento 2 and would like to convert my text attribute to a dropdown menu. I am comfortable to mysql and php but i do not really understand that database structure. Is it possible to ...
0
votes
2answers
115 views

Magento 2 - Configurable products not pairing with simple products?

When I import my .csv - with my simple and configurable products inside, the document is imported correctly with no validation errors. The issue I'm having is the configurable products aren't paired ...
0
votes
2answers
459 views

Manufacturer attribute is not working on advanced search page

I have added manufacturer attribute in advanced search page. when i am searching product by manufacturer its showing error You have to specify at least one search term. but when i am searching with ...
9
votes
6answers
10k views

Configurable product attribute sort order in Dropdown 2.12

The order of the dropdown is not consistent with the order of the attribute itself. Within the attribute size I have it ordered Newborn 0-3 mo and in the dropdown it shows up as 0-3 Newborn the ...
0
votes
1answer
26 views

magento2: drop-down attribute call an image if its Yes

i would like to call an image if the drop-down attribute is marked as "yes" from drop-down - if its "No" then i dont want to call an image. i am using the below code but this seems to pull the image ...
0
votes
1answer
1k views

how to get attribute all dropdown values selected by the product in magento 2?

I am trying to show the attribute's dropdown values selected in product. For that I am using this way. <?php $parentIds = $objectManager->create('Magento\ConfigurableProduct\Model\...