Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [drop-downs]

The tag has no usage guidance.

0
votes
1answer
28 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::...
2
votes
0answers
33 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/...
1
vote
1answer
30 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'...
0
votes
0answers
10 views

Magento2: Category selector design sends commas multiple time

I am creating a multi-select category field for admin side using ui-component my code for ui-component is <field name="category_id"> <argument name="data" xsi:type="array"> ...
1
vote
2answers
115 views

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

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 ...
0
votes
1answer
85 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.
2
votes
0answers
21 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 ...
2
votes
0answers
88 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 ...
2
votes
1answer
23 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.
1
vote
1answer
24 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 ...
0
votes
0answers
36 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 ...
1
vote
0answers
35 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 ...
0
votes
0answers
22 views

How to add only My account link instead of all dropdown

I want only the first link of dropdown of My Account as my link(anchor tag). I am not able to figure it out.
0
votes
0answers
18 views

Navigation Bar Dropdown Issue

I've currently made me Magento site (v1.9) on to a live site and after this being uploaded I now have an issue of my categories in my nav bar are constantly dropped down (they don't go up or down, ...
1
vote
2answers
53 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 ...
0
votes
0answers
60 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,...
0
votes
0answers
22 views

Magento 2 Drop Shipping - Duplicated Products

I use 4 suppliers each of which is updated automatically by CSV feed twice daily, these 4 suppliers have approx 80% of the same products but at different prices, rendering either 2, 3 or 4 of the same ...
0
votes
0answers
14 views

Magento 2 | How to inject JS element on Sales order grid page?

I want to add custom dropdown menu above sales order grid as: What should be the way to achieve this ?
0
votes
0answers
39 views

Magento 2 | How To Add Drop Down menu in Sales Order Grid Page?

I wanted to add a dropdown menu. At the below location. How can we do it if by ui-components? Or can we do it by injecting js element? Any help will be highly appreciated.
1
vote
0answers
181 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
2
votes
3answers
776 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 ...
0
votes
1answer
47 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 : ...
0
votes
0answers
18 views

Magento 1.9 - add dropdown and Map it with APIs ZendDesk

Does anyone know how to map a Dropdown field, inside the Contact Form, with ZenDesk API? I saw the documentation a bit but I did not find enough material.
1
vote
0answers
131 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 ...
1
vote
0answers
119 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
1
vote
0answers
91 views

How to change Magento 2 checkout shipping radio button to dropdown

I need to change the format of displaying shipping methods as radio button to dropdown.
0
votes
0answers
126 views

Magento 2.2.5: How to create dropdownlist in Ui-component

As i said in the post, i wanna know how to create a dropdownlist in ui component, or atleast i need to know how the dropdownlist work, for example, in C:\xampp\htdocs\magento\vendor\magento\module-...
0
votes
0answers
182 views

Dropdown My Account / Login

I want to do a dropdown menu on my computer layout (not mobile and tablet). I want this : |--My Account (where I want to click) |--Log in |-- Create I don't know if I need to change in the ...
0
votes
2answers
384 views

How can i add select dropdown side of Mass action Button In Magento 2 Admin Side

I would like to get the select dropdown button on the side of Action Dropdown,for my custom grid collection at admin end, how can i achieve it,I would like to display the same dropdown beside. For ...
0
votes
0answers
147 views

How to change the template of select (drop-down) in bundle products?

I have an option type select in my bundle product. I have defined in admin default qty more than one f.e. 4 and on front-end the price of selection is showing the cost only for one item. I would ...
0
votes
0answers
341 views

Make City as dropdown list checkout

I am using WebShopApps MatrixRates with Magento 2.2.3 to manage delivery rates per destination city, It works fine however I want to make "City" as a dropdown list to avoid any misspelling because ...
0
votes
2answers
124 views

How to set the json response in to dropdown in magento 2

I got a json response for a dropdown field from a controller, But how to I append the options to the dropdown, Please provide me a solution. I got response like below. {"content":[{"value":"210","...
0
votes
1answer
274 views

How to get all the attributes and show in the dropdown field in a backend form in magento 2

I have created backend form which has one dropdown field. How Do I get all the attributes and show it in a dropdown in magento 2
5
votes
1answer
1k views

Ui-component form (Adding drop down field)in magento 2

I need to create backend admin form which contains two dropdown fields.But One is dependent on other. One dropdown contains attributes like brand,color etc.. The second one contains associate options ...
3
votes
1answer
877 views

Magento 2 - How to remove '--Please Select--' option from Custom Option dropdown on Product page

In Magento 2 I am trying to remove first option "--Please Select--". Here is my code. After the rewrite, I am not able to see custom option dropdown itself but the page is loading. Please let me know ...
2
votes
1answer
85 views

How do I edit the drop down 'Sign In' option on One Page checkout for guest customers? - Magento 2.2

How do I edit the drop down 'Sign In' form on One Page checkout for guest customers in Magento 2.2? I preferably want to insert a CMS block just underneath the password box. This drop down is not a ...
1
vote
1answer
788 views

How to load shipping methods on country and postcode change?

I have written a custom shipping module, then I want to change custom shipping methods when country and post code changes. I heard there is a method call js mixin. any one have idea about it, need ...
5
votes
1answer
1k views

Magento2 Filters custom module dropdown in admin

Can anyone help me, how to fetch the custom module admin collection for filters drop down section in magento 2 admin. Please find the screen shots below: https://prnt.sc/hpesq6 Here is the fields ...
2
votes
2answers
941 views

Magento 2.2: How to add country and region drop-downs in a custom step form in one page checkout?

I need to add a custom step in Magento which verifies the address of the customer via a third party API, the fields are similar to the shipping address form, but I could not find out how the country ...
1
vote
1answer
614 views

Magento2: How to get adminUrl in js file using something like 'mage/url'?

I am trying to populate an adminhtml dropdown when another dropdown is selected using AJAX and 'mage/url' returns the frontend url. This is my code: app/code/Namespace/Module/view/adminhtml/web/js/...
1
vote
0answers
65 views

magento 2 multiple values drop down dependencies?

in magento 2 i have a drop down with the options 1, 2, 3, 4, 5, 6 when we if '1' Test-1 and Custom-1 text fields want to show. as well if i choose '2' Test-2 and Custom-2 text fields want to show ...
1
vote
0answers
107 views

How to obtain the selected custom option value from options.phtm

I'm trying to get the dropdown selected custom option value before the client adds the product to the checkout from /default/template/catalog/product/view/options.phtml I have access to $_options ...
1
vote
1answer
162 views

Something is overriding my onchange script?

I made a script that selects an option from a dropdown. The dropdown has onchange trigger and it trigger correctly when i run the script as a snippet (in a sandbox environment), but when i active the ...
3
votes
1answer
287 views

Magento 2.1 Dynamic Drop-downs 2 models with UI component

Having 2 Drop-downs where the second one should load options according to the first one selections, but both come from the EAV models, I want to make them work in the admin but I can understand how to,...
0
votes
1answer
260 views

static block in Dropdown menu

I found a way to add a static block in a dropdown. I edited the renderer.phtml in page/html/topmenu and added: $html .= '<ul class="level' . $childLevel . '">'; $html .= $this->_getHtml($...
2
votes
1answer
1k views

How to add a dropdown in Adminhtml Form Block, selecting data from a table referenced by foreign key?

I am new to the StackExchange and this is my first question, so take it easy with me, please. :) I am following to the letter this tutorial here, learning how to list, create, update and delete ...
0
votes
1answer
349 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 ...
0
votes
1answer
915 views

How to get All Active Categories in Custom Module Admin Form Dropdown in Magento 2?

I am implementing a custom module in magento 2.In that module I want to show all active categories in admin form dropdown.How can I show them please help me on this.Thanks in Advance.
0
votes
1answer
50 views

Droppick JS via require.js confgurable options are not shown

I have to implement droppick select box in our project. I used the theme to add the main droppick js. So that I added the below code in ../app/design/frontend/Themename/newtheme/Magento_Theme/...
0
votes
1answer
157 views

How to save custom product tab drop box fields values to database in Magento 2

By using data-form-part="product_form" in input tag, text values are getting. But how gets the drop down values. When i used data-form-part="product_form" same in option, it gives an array with key ...