Questions tagged [dropdown-options]
The dropdown-options tag has no usage guidance.
23
questions
0
votes
1
answer
32
views
Magento 2: Create Dynamic Category Dropdowns on Frontend
I, once again, have to ask for your help. I need to create a modal that let the customer select their car brand, model and year, and I need to populate the select options depending on the selections ...
0
votes
1
answer
56
views
How to disable a knockout generated dropdown option by default
I am trying to disable a certain option of select generated from knockout on the checkout page. I tried what was mentioned on the knockout documentation i.e. to call optionsAfterRender. But this gives ...
0
votes
1
answer
169
views
Magento 2: Select first dropdown option on change
I'm new in Magento 2 frontend development (and in development in general) and I am really lost at it, it's being hard to get arround some concepts, so I would like to ask for help in some specific ...
0
votes
0
answers
24
views
Magento2 how to get the custom dropdown options value in cart page & admin sales order view
I need to get the custom dropdown options value in cart page & admin sales order view.
0
votes
1
answer
38
views
Getting List / Deleting the Unused Option values using API in Magento 2
Need to get all the unused attribute value and delete it via API. How to get the Unused attribute list using SQL Query.
0
votes
2
answers
505
views
Configurable Product Options Randomly Empty in Frontend
On Magento 2.3.6-p1 we have an issue where customers cannot select a product's options because the options list is empty.
This is very inconsistent since different products with the same option ...
0
votes
1
answer
32
views
Get dropdown value in helper file?
$objectManager = \Magento\Framework\App\ObjectManager::getInstance();
/** @var \Magento\Eav\Api\AttributeOptionManagementInterface $attributeOptions */
$attributeOptionsManagement = $...
0
votes
2
answers
196
views
How to make the input is selected on admin form?
I have a form like this. This is used to save a new custom admin. But I have a problem with showing a value in the store_id field while editing.
While showing this form the store field must be ...
0
votes
1
answer
124
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
2
answers
201
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
1
answer
125
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
1
answer
381
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 __('...
1
vote
1
answer
153
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 ...
1
vote
1
answer
441
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
1
answer
2k
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
0
answers
51
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
2
answers
3k
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
2
answers
1k
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
0
answers
373
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
1
answer
977
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
0
answers
39
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
1
answer
1k
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
2
answers
220
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 ...