Questions tagged [dropdown-options]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
9 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
1answer
12 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
2answers
167 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
0answers
15 views

What is the way to integrate custom html,css,js dropdown to phtml file

I am created a dropdown design using html, css and js. <!doctype html> <html lang="en"> <head> <style> .dropdown-menu { max-width: max-content; ...
0
votes
1answer
28 views

Get dropdown value in helper file?

$objectManager = \Magento\Framework\App\ObjectManager::getInstance(); /** @var \Magento\Eav\Api\AttributeOptionManagementInterface $attributeOptions */ $attributeOptionsManagement = $...
0
votes
2answers
28 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
0answers
14 views

Magento 2: How to Add product type to cart price rule condition programmatically?

I'm using Magento v2.4.1. , Is there a way to add the product type as a condition in cart rule ?
0
votes
0answers
31 views

How to check all elements of first array with single element of second array one by one using jquery

Like I have two arrays and I wan't to disable value from drop down which are greater then single element of array. ['5', '10', '15', '20', '25', '30'] // dropdown ['10', '15', '20'] // second array ...
0
votes
0answers
24 views

How to make shipping address custom dropdown attribute searchable

I have followed tutorials like mentioned in below links: https://www.mageplaza.com/devdocs/add-new-fields-address-form-magento-2.html https://www.fmeextensions.com/blog/add-custom-field-magento-2-...
0
votes
0answers
9 views

Dropdown menu with different product to link to

I have now completely searched google but unfortunately without result. I am looking for the following: One type of product has been added to the website several times with different properties. I ...
0
votes
1answer
61 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
26 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
71 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
13 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
62 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
1answer
238 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
1answer
83 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
1answer
274 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
1answer
1k 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
36 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
2k 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
978 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
264 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
858 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
35 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
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
2answers
117 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 ...