Questions tagged [dropdown-options]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
20 views

Magento 2 get option label from custom admin dropdown

For my custom plugin I created an options array like this: path : => \Vendor\App\Block\System\Config; namespace Vendor\App\Block\System\Config; class NatureIva implements \Magento\Framework\Data\...
0
votes
0answers
14 views

custom product option drop down get image in magento 2.3

I am trying to add a product custom option drop down in product details page get image in magento 2.3 please check our snapshot product details page.
0
votes
2answers
38 views

Magento 2 How to hide or show contents based on drop-down content in Admin page

Here am added a dropdown for a list of type. based on selected type I need to show or hide the another field. how to achieve it. Here is my code. $mainTypeField = $fieldset->addField( '...
0
votes
0answers
9 views

Need Help in Magento 2 to select user select shipping address on checkout in dropdown?

We implement in Magento 2 shipping address dropdown using the following solution: https://magento.stackexchange.com/a/298146/49007 Its working fine but on the product detail page we have the option if ...
0
votes
1answer
30 views

How to Remove + Sign From dropdown from bundle product?

how can we remove +(Plus) sign from Dropdown list from bundle product? in Magento 2.3.4 i have tried this link but its not work for me.. Link
0
votes
0answers
16 views

Send Magento 2 contact form contents to various Store Email Addresses by selecting a dropdown option

I've successfully added a 'departments' dropdown menu to my Magento 2 contact form using the instructions here However I would like to send the contents of the form to different email recipients ...
0
votes
0answers
8 views

Options Not Displaying in Configurable Products Dropdown On Front End

We have a configureable product, with a couple options under each Configurable option. On the front-end, when viewing the product, the dropdowns do not populate with these options. We see "Choose an ...
0
votes
1answer
72 views

How to add dropdown for product qty in update cart page in magento 2?

I added dropdown for product qty box in addtocart.phtml like below: <div class="field qty"> <label class="label" for="qty"><span><?php /* @escapeNotVerified */ echo __('...
0
votes
0answers
19 views

Dropdown (Limit per view page) in toolbar in magento2 stops working after an ajax call

The product listing page contains a ajax filter in my project. When i tried to select dropdown filter(view per page) after an ajax call it is unable to change the url. Well, it is working after ...
1
vote
1answer
47 views

Dropdown 'selected' not working in config

I created dropdown in a table similar to Store > Config > Catalog > Invenotry, everything is working perfectly except selected is not working in my dropdown, however values are stored in a ...
0
votes
0answers
21 views

Magento2: How to add city as drodpwn in address book page in my account?

I want to add city drop down on address book page in my account public function citiesJson() { $countriesJson = $this->helperData->getRegionJson(); $countriesArray = ...
1
vote
1answer
165 views

Magento 2: Ui form not loading after adding select field

I have a ui-form for adding new record to my table. But the form is not loading when I add a new select field into it. Here is the field component in the form.xml file, <field name="...
0
votes
0answers
18 views

Create dropdown and get its value in custom admin menu without db work

I want to create a dropdown in Magento 2.3.2 admin, in my custom menu. But no DB work is required. I just want the admin to select a value from the dropdown and then upload a CSV that will be download ...
0
votes
1answer
442 views

How can I change the City Name to Drop Down on Checkout Page. Magento 2

I want to change the city name to dropdown menu like in dropdown it shows specific cities name like NYC, Mumbai,HongKong,Karachi and etc how is it will be possible?
1
vote
0answers
30 views

City dropdown values on checkout page changes to other store cities on browser autocomplete

I am facing a very strange issue where the city dropdown shows the cities of KSA and when the user selects his dubai address from browser's autocomplete option in street address field the city ...
1
vote
1answer
1k views

Magento2 + Need to display Configurable Drop Down option on category page

I need to display the only Size attribute drop-down on a category page listing. Size is a configurable option & Catalog Input Type for Store Owner value is Dropdown. I have enabled Used in ...
0
votes
2answers
545 views

Magento 2 How to add country and state dropdown in admin form? [duplicate]

I need to add Country and State Dropdown in Magento 2 admin form. Please help me.
2
votes
0answers
172 views

How to pass custom option values from product detail page to cart page in Magento 2?

I want to pass custom option values from product detail page to cart page in magento2. Refer screenshot I have selected here size: 5 and want to pass the value to cart page. Here is my code: <...
0
votes
1answer
692 views

Magento2 - How to display image inside dropdown?

I want to display image inside drop down option like below image, Can anyone suggest me how can i achieve this? Any help would be appreciate. Thanks In Advance..!
1
vote
0answers
30 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
1answer
764 views

How to Fetch results from server using JQuery AJAX? on the basis of Drop-down Condition

I have two conditions, if two conditions are matching the given value should display. I am using input value as Drop down. If the value of two drop-downs matched i need to display my value on same ...
1
vote
2answers
66 views

Magento 2 - The right way to get a product attribute value

I'm wondering if there's a right way to get the value of a product attribute, in a generic way. EDIT: Or whatever I can use to get the info from a dropdown or text field using the same mechanism I ...