Questions tagged [dropdown-options]

The tag has no usage guidance.

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

Sort products by dropdown product options instead of option ids

I have a custom dropdown attribute in magento 2. i am sorting with the following code <?php use Magento\Framework\App\Bootstrap; include('app/bootstrap.php'); $bootstrap = Bootstrap::create(BP, $...
2
votes
0answers
33 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
96 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
19 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
56 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
44 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 ...