Skip to main content

Questions tagged [drop-downs]

The tag has no usage guidance.

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

Mini cart is not showing the added products on magento 2.4.7

When I click on the mini cart icon in the header, it should display the drop-down dialog with the added products in that block. However, after upgrading to Magento 2.4.7, it no longer shows any ...
Bhim Lamichhane's user avatar
0 votes
1 answer
106 views

Magento 2 system configuration searchable dropdown how can i impliment

<field id="dropdown_example" translate="label" type="select" sortOrder="80" showInDefault="1" showInWebsite="1" showInStore="1&...
Jaydip Pandey's user avatar
0 votes
1 answer
286 views

Magento 2: Customer account create Date of Birth field seprate dropdown

I have to add Date of Birth as a seprate dorpdown DD MM YYYY formate in customer account create form and my account section. I have implement dob.phtml and dob-validation-dropdown.js but not saving ...
Kirti Nariya's user avatar
  • 3,071
1 vote
1 answer
190 views

Add select rule for dropdown in shipping method

How to make drop down required if not selected echo a message that says, "please select one option". i have attached screenshot to explain further the question i'm asking.
Bayzel's user avatar
  • 187
0 votes
2 answers
1k views

Some Filters not showing on some Categories in Magento 2.4

Some Filters not showing on some Categories in Magento 2.4 As you can see in two images both are diffrent categories but Newest filter not showing in second image. In some categories it just show ...
Prits's user avatar
  • 625
1 vote
1 answer
2k views

Magento 2 : how to create dynamic filed in admin system configuration?

I want a multi-select drop down in system configuration with dynamic field. So How to create ? Please check this image.
rahulraj vdc's user avatar
0 votes
0 answers
26 views

sub category multi selector through ui component in magneto 2

the code that i have done shows all categories in a list but hirarchey form.xml <!-- drop down --> <field name="admin_category_form_field"> <argument ...
Syeda's user avatar
  • 13
1 vote
0 answers
59 views

Magento2 get custom dropdown value in checkout page, admin & email

Magento2 How to pass custom dropdown value options(Not the dropdown product attribute) from product page to cart page & in admin & email as well? example - <select> <option value=&...
Arjun's user avatar
  • 3,586
0 votes
0 answers
144 views

How to add custom fee on checkout based on Dropdown Selection?

I want to add custom fee on checkout based on Drop-down value. Like this based on selection i want to change custom fee value based on drop-down selection.
Prits's user avatar
  • 625
0 votes
1 answer
33 views

Actions dropdown too far right in Admin Listing

I've managed to add a second action to the actions column in the admin product listing. It works fine until I add another column to the display. The dropdown menu doesn't "follow" the ...
Gautier Bardon's user avatar
0 votes
1 answer
317 views

Magento 2: How to display the list of manufacturers in a drop-down

i have a dropdown ui-component in which i want to display a list of manufacturers. In the example below, i have a working drop-down with shipping methods. <field name="manufacturer_id">...
Robert's user avatar
  • 73
0 votes
1 answer
328 views

Unable to select first value from dropdown in jquery

I populated the dropdown with the help of array. for example I have array with elements (ali,abid,naqvi). Problem..... when I clear the cache and reload the page. and first time I am unable to select ...
Muhammad Ali's user avatar
0 votes
2 answers
625 views

How to Create Dropdown columns in Sales > Order Grid in Magento 2

I want to create drop-down column in sales > order grid.So How to Create this column. <?php namespace Test\OrderColumns\Ui\Component\Listing\Column; use \Magento\Sales\Api\...
Mohit Patel's user avatar
  • 3,923
1 vote
1 answer
215 views

Timezone and locale dropdown in custom form frontend

I need to add these 2 dropdown to the custom frontend form. Any help would be appreciate. Thank you!
Ronak's user avatar
  • 476
0 votes
0 answers
169 views

How to add dynamic dropdown in admin form in Magento 2?

Hello I want to add Dynamic dropdown in admin form , I mean to say I want to fetch data from database and show them in dropdown in admin form in Magento 2? I already try it but I got following issue. ...
Vardhman Kamani's user avatar
2 votes
0 answers
66 views

Checkout City Dropdown Magento 2

please I am trying to add specific cities to which my shipping carrier destination and make them dropdown in my plugin. This is my code so far but it's not working and I get Exception #0 (...
Adewuyi Dare's user avatar
0 votes
0 answers
350 views

Magento 2 How to generate button dropdown

I am new with Magento 2 and web development. I don't understand how to create dropdown button. I saw some style in below website and I am not sure how to use it. http://www.bergo.nl/pub/static/...
clear.choi's user avatar
1 vote
0 answers
86 views

Calling minicart in phtml not showing dropdown on click

I'm calling minicart in my phtml like below <?php echo $this->getLayout() ->createBlock('Magento\Checkout\Block\Cart\Sidebar') ->setTemplate('Magento_Checkout::cart/...
Ramesh KR's user avatar
  • 876
2 votes
2 answers
1k views

Magento 2 : How to Add Currency Flag to Currency Switcher Dropdown?

I m working on Magento 2.3.5 p1, can we add currency flag in currency switcher that appeared at top header? if yes please let me help on this. Thanks in advanced.
Rushikesh Solanki's user avatar
1 vote
1 answer
173 views

covert Text field to drop down selection

HI I downloaded an extension (checkout-custom-form) from here, I want to modify his extension, https://github.com/sbodak/magento2-checkout-custom-form the extension itself work wonderful. having below ...
Paul Fan's user avatar
  • 658
0 votes
1 answer
45 views

Custom options programatically magento2

I am trying to save custom options(drop_down type) for a specific product. In my case, I need to add a custom option in the loop. My code is here $json ='{"productID":"1","productPrice":"5585.00",...
HaFiz Umer's user avatar
  • 1,660
1 vote
2 answers
3k views

Magento 2 - Login form in user account header

I want to load the login form into the account dropdown in the header. Therefore I duplicate the default customer login form and loaded it into the dropdown phtml template file using the following; &...
JGeer's user avatar
  • 1,420
1 vote
1 answer
2k views

change product detail based on configurable product dropdown

In both the above images, the size (Twin XL,Twin, Full, etc) is selected and the above size of the product changes dynamically as (39x80x12),(54x75x12). I tried to make changes in the ...
Haerriz's user avatar
  • 681
3 votes
4 answers
2k views

Country options are not displayed when editing user address Magento 2.3.3

I have such a problem on Magento 2.3.3 I checked this logic on stock Magento 2.3.3 and it also appears there. Choose a 2-3 allowed countries. Then go to All Customer -> Customer Address Edit Form in ...
David Young's user avatar
3 votes
2 answers
5k views

Magento 2 : Add Filter in select ui form field

In ui form, I set 2 dropdown field. Now, I want to do something like that in second dropdown value set based on first dropdown selected value. For ex : In Customer module, There are country region ...
Rohan Hapani's user avatar
  • 17.5k
0 votes
1 answer
2k views

Magento 2 : shipping method in dropdown view in frontend

On Checking out,I have a lot of shipping methods listed. Any solution, how to customize it into a drop-down? Thank in advance.
MichaelHa's user avatar
  • 661
0 votes
0 answers
105 views

Show div based on drop down value

Somethings missing and I can't figure out what. I just need to show a div when the drop down Canada is selected. JS code is at the bottom of this. Any ideas? Thanks <div class="field" data-bind="...
MHeredia's user avatar
0 votes
1 answer
100 views

How to fix this "state/country" dropdown issue in Magento 1?

I have a problem with the state / country dropdown in "Customer Information > Addresses > Edit Customer's Address". 1/ When USA is selected by default there was a state dropdown : 2/ Next I ...
Fbr's user avatar
  • 167
0 votes
1 answer
359 views

magento 2: how to display region name in dropdown

Hi to all I added Italian region name in magento db by SQL in directory_country_region as follows: INSERT INTO directory_country_region(country_id, code, default_name) VALUES ('IT', 'TO', 'Torino'); ...
Davide Iandoli's user avatar
1 vote
0 answers
77 views

Magento 2: admin grid form select dropdown relationship

I want to create dropdown like Country -> State relationship where user select a country and its states visible in another dropdown in admin grid form
Paras Arora's user avatar
2 votes
1 answer
469 views

Magento 2 dropdown not showing

In my catalog I have some categories and subcategories with product. But in my top nav I don't have any dropdown. What I have missed ?
n44s's user avatar
  • 198
1 vote
2 answers
12k views

How to keep lable choosed on select option after refresh page

I wand keep lable choosed on select option after refresh page. Please help me ! Ex : I choosed "Architekten" My select dropdown I want after refresh page, it keep "Architekten" like this My ...
Brian N's user avatar
  • 931
1 vote
0 answers
77 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.
Anas Mansuri's user avatar
  • 2,627
0 votes
1 answer
33 views

DropDown Value return save all instead of anyone

I am getting my shipping value from Magento, sp_cost.php <?php ob_start(); require_once('./../app/Mage.php'); umask(0); ini_set('display_errors',true); ini_set('memory_limit', '1024M'); Mage::...
aveeva's user avatar
  • 1
2 votes
0 answers
380 views

How to set Drop Down menu on mouse hover in TopMenu. Magento 2

How to set custom item in TopMenu to show DropDown menu on mouse hover I tried this code app/code/StackExchange/Menu/etc/di.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/...
Asad Khan's user avatar
  • 1,486
3 votes
1 answer
2k views

Drop Down Multi-select category Ui Component

I am using this code to create a multi-select category option in a form. It saves the data in the table correctly but when I try to edit it, it shows the selected category name in the field but doesn'...
Ghulam.M's user avatar
  • 973
1 vote
2 answers
3k views

Magento 2.3 : Use a dropdown select for the shipping address on the Onepage Checkout [duplicate]

select the shipping address with a dropdown, similar to how you can if you choose to change the billing address. I would like it to work similarly to when you change the billing address, with a ...
HIren Kadivar's user avatar
0 votes
1 answer
847 views

Magento2 : How to show country and state dropdown field in customer account information section in admin?

I want to add country and state dropdown field in account information in Magento2 admin? Googled a lot, but not able to find right solution. Any help would be appreciated.
Amy's user avatar
  • 935
3 votes
0 answers
77 views

Change timeout for dropdown in magento 2

I need to change the timeout for the dropdowns of megamenu, cart icon and my account. I found the dropdown.js file in the Mage folder but I am not able to understand from where do I change the ...
summu's user avatar
  • 847
3 votes
0 answers
802 views

Magento 2 dropdown on hover menu issue

On hover, Magento 2 gives a dropdown functionality, like megamenu, cart, and My account drop-down. The issue on the hovering the dropdown or pop up menu appears fine but when I remove my mouse and ...
summu's user avatar
  • 847
2 votes
1 answer
1k views

how can we add a jQuery Library in phtml file Magento 2

I am using below code in my phtml file. Afte using below code: province drop down is not showing.
kiran's user avatar
  • 597
1 vote
1 answer
301 views

Magento 2 : How to replace dropdown as switch?

I've created a custom module in which I've a drop down field having "Yes/No" value, here is the screenshot: https://nimb.ws/bMZCUB I just want to replace this drop down into switch ,just like ...
Wakar Ahamad's user avatar
0 votes
0 answers
194 views

how can i sort by using option value not option id value in listing page magento 2?

I have created a custom dropdown attribute and set in sort by dropdown listing page, now currently magento 2 sort by using option id like "name="option[value][139][0]" but i want to sort using option ...
Sagar Dobariya's user avatar
1 vote
0 answers
232 views

Dropdown dialog position not working

I have integrated google's dialogflow in my store. Dialogflow provides iframe. I created a dropdowndialog magento ui widget. My footer phtml contains the following code. Now the issue is with the ...
Fast Source's user avatar
1 vote
2 answers
602 views

Magento 2 + How to import the custom city collection from the database into a dropdown (for the city textarea)

I'm a bit confused with creating a city dropdown with my custom cities. I have already imported the cities into a table and also created the Model, ResourceModel, Collection. Now I need to get those ...
Bernedette Perera's user avatar
1 vote
0 answers
242 views

Add Indian cities dropdown in Magento 2 [closed]

Hi I am looking for the extension to make Indian cities dropdown based on state selected in magento 2
Chethan Sreenivasa Murthy's user avatar
3 votes
2 answers
6k views

Magento 2 configurable product variation dropdown attribute/s want to select automatically, if it has single option?

We have configurable product have some drop down attribute variations. here would like to choose by default when the attribute has single option in the product view page. Can you please give me some ...
Nagaraju Kasa's user avatar
0 votes
1 answer
105 views

Display 5th level of category

I am using Magento 2 and I want to display 5 level of categories. (1)Shop->(2)shop->(3)audio->(4)Test->(5)test1 I tried below code but 5th level of categories is not display accurate : ...
kiran's user avatar
  • 597
2 votes
1 answer
1k views

Magento2 how to get options values for drop down filed at checkout page?

i have followed this reference link https://github.com/sbodak/magento2-checkout-custom-form it is working fine for input fields saving. 1) I would like to display custom drop down field with the ...
Nagaraju Kasa's user avatar
1 vote
0 answers
230 views

How to change block shipping Address to select box ? Magento2

I want to change format of Shipping Addresses in Checkout page to dropdown. Anybody here can help me for this case? https://prnt.sc/kcqtnl
ATT's user avatar
  • 123