Questions tagged [multiselect]

The tag has no usage guidance.

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

Multiselect options are overrided after load

I modified the below file magento2\vendor\magento\module-catalog\Block\Product\View\Options\Type\Select\Multiple.php In order to add custom value to the text of the options in the multi-select. The ...
user avatar
  • 1
0 votes
0 answers
38 views

Trouble with Mageplaza LayeredNavigation and Search

Trouble with Mageplaza LayeredNavigation and Search When I run a search, I get this error 1 exception(s): Exception #0 (Magento\Framework\Exception\LocalizedException): Sorry, something went wrong. ...
user avatar
1 vote
1 answer
16 views

Getting the right format for saving multiselect customer attribute issue?

This is my code: $values = ['value1','value2','value3']; $customer->setCustomAttribute('customer_attribute_code', $values); //\Magento\Customer\Api\...
user avatar
  • 3,575
0 votes
2 answers
107 views

load region by country multi select in ui component magento 2

In the Ui-component of Magento 2, I see that we can do this to load region by country. <fieldset name="delivery_area" sortOrder="90"> <argument name="data&...
user avatar
  • 1,178
0 votes
0 answers
39 views

How to add selected parameter in multiselect field method Magento 2

I need to get selected options after save data, i added field with Block file In Helper public static function getUserRoles(){ foreach(self::ROLES as $role=>$value) { $list[] = [ ...
user avatar
  • 728
0 votes
2 answers
413 views

How to selected option in multiselect UI Component in Magento2

I need to select one or more option before rendering this page. I tried several ways but unable to find an exact way to solve my issue. I need to select Tea and Other Tea Option before loading. Form....
user avatar
  • 129
1 vote
0 answers
26 views

Multiselect Attribute created through module can't be set programatically

I am on a Magento 2.1 installation using a Venus Theme Module called Brands 2.0. The module creates a product_brand multi select attribute with the following code: $eavSetup = $this->...
user avatar
0 votes
0 answers
171 views

How to Display and change values of 2nd multi-select dropdown by selecting 1st drop-down?

I want to show multi-select drop-down with check-boxes(like categories on product edit page in admin panel) which values are depends on 1st drop-down(which is single select) in my custom Ui component ...
user avatar
  • 196
0 votes
1 answer
328 views

How to set multiselect value in jquery

I've follow this solution to make multiselect works without using "Ctrl" in keyboard. http://jsfiddle.net/xQqbR/1022/ And here's the result: Its work great, but i can't save in database. ...
user avatar
  • 1,178
1 vote
3 answers
269 views

How to save multiselect values programmtically in magento 2?

I am unable to save product multiselect values .I tried both ways Here is code Way 1 $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $_product = $objectManager->create('...
user avatar
1 vote
1 answer
540 views

magento 2 in category multi select attribute in option is not show?

:InstallData <?php namespace Vender\Extension\Setup; use Magento\Eav\Setup\EavSetup; use Magento\Eav\Setup\EavSetupFactory; use Magento\Framework\Setup\InstallDataInterface; use Magento\Framework\...
user avatar
1 vote
0 answers
27 views

Magento 2 - How to auto checked a multiselect ui-component?

I have a ui-component <field name="interest" formElement="multiselect"> <argument name="data" xsi:type="array"> &...
user avatar
  • 15
2 votes
0 answers
140 views

magento 2 keep the applied filters in opened state

I wish to make changes in the layered navigation filter, so that all the applied filters are visible(opened state). For example I am selecting red in color filter, all other options in color filter ...
user avatar
  • 1,993
0 votes
0 answers
177 views

Magento 2: How to add multiselect dropdown field on my Home Page

I'm new in Magento 2 and I have created a custom module. Now I want to add multi-select dropdown field in my module's front template on my home page. How to add a multi-select dropdown, please?
user avatar
2 votes
2 answers
380 views

Magento 1 : Change multiselect product attribute to mutliple checkbox attribute

I need to change the multi-select attributes in the admin product edit form to multiple checkbox attributes. Is this possible?
user avatar
  • 147
0 votes
1 answer
1k views

How to add a multi select category and attribute filter on catalog page

My magento 2.3.3 theme provides me single select from same category or attribute. Here if i select a sub category all the other categories will get disappears because it is single select. But i want ...
user avatar
1 vote
1 answer
525 views

How to create a custom admin form with multiselect type in magento 2?

I created a custom module with a multiselect type input. My InstallSchema.php file contains this for this field. ->addColumn( 'elegible_products', \Magento\Framework\DB\Ddl\Table::...
user avatar
  • 2,577
0 votes
0 answers
45 views

Magento 2 multi-select field in block not displaying values in magento admin panel

I have created custom form in which I want a multi select field and display dynamic data. I have created a collection object in the form of array and passing it as a value for my multi select field. ...
user avatar
0 votes
2 answers
2k views

Admin Grid "Select All" for mass action only sends the visible IDs

I'm having some trouble getting "Select All" working properly for a custom grid. I have a massDelete action working and deleting multiple items. I have a multiselect column which, after I run a "...
user avatar
2 votes
0 answers
32 views

Dynamically hide mutiselect for different actions

In Magento 2, I have 2 actions in my controller: newAction() and edit(). Both actions will use for a same form with few inputs. Among them is multiselect for store selection. I want to show it when I ...
user avatar
  • 21
0 votes
1 answer
97 views

Help please with correct saving multiselect field for Store view edit form

Please help with correct saving adding custom field for Store View edit form. Default Magento Store view edit form: Stores->All Stores->Any Store https://screencast.com/t/WPA3owq3 https://...
user avatar
  • 11
0 votes
2 answers
771 views

How to set and get values in multiselect in admin form. Magento 1.9

I want to create one multi-selector on the form to select multiple categories. I have created a field set for that but how can I display values into that to select multiple categories. this is my ...
user avatar
4 votes
1 answer
2k views

Magento 2 - Admin form Multi Select field issue

I added this code for Multi Select in my form. File Path Should be like: app\code\Vendor\Module\Block\Adminhtml\Mpages\Edit\Tab\Main.php $fieldset->addField( 'categories', ...
user avatar
0 votes
2 answers
2k views

magento 2.2 trying to save multi select value in database

I am trying to save multi select value in DB. But getting error Array to string conversion in /var/www/html/devstore/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php on line 2999 Template file ...
user avatar
  • 377
0 votes
1 answer
800 views

Magento 2 ui multi-select preselected values

I am new at Magento 2, UI multi-select component render store views group by websites and stores, but when I am editing I need saved values of store views of certain record to be preselected in that ...
user avatar
  • 85
0 votes
1 answer
1k views

Magento 2.3 UI MULTISELECT

I am having problems with dynamic display store views which are grouped by their website and having selected values if I am editing existing data. What I achieved, displaying store views, and saving ...
user avatar
  • 85
1 vote
2 answers
3k views

Magento 2.2.5: How to set checkbox checked with Grid addColumn()

I have an issue here with the checkbox checked. I've read a lot of solution, but they always say add the 'values' => array('something') I've followed that solution but nothing change. I've deploy ...
user avatar
  • 1,178
4 votes
1 answer
1k views

Magento 2.2.5: explain about how the multi select "available_sort_by" get data

I'm looking for an explanation about how the multi-select "available_sort_by" get data. Like you can see in the image below, they are using UI component to render this multi-select. And I don't ...
user avatar
  • 1,178
0 votes
1 answer
339 views

How to unselect a multiselect field in my custom modul edit page?

I have added a multiselect field to a fieldset in my form.xml. <column name="ghs_pictogram_id"> <argument name="data" xsi:type="array"> <item name="options" ...
user avatar
0 votes
0 answers
243 views

Select All Rows after applying filter to Magento2 Extended Grid

I am working on Magento 2.2.0. I have an extended grid in my custom module. When I apply the filter to the grid and choose "Select All" from the drop-down, it is not working. All the row ids are ...
user avatar
2 votes
1 answer
1k views

Magento2 : How disable some specific values in Multi-select UI component

I am setting some values in multi-select to be disabled based on some condition This is how I am declaring my UI component <field name="category_option"> <argument name="data" ...
user avatar
0 votes
1 answer
325 views

Magmi skips multiple select attributes

I was using Magmi for the past two years. I just processed the Magento update from 1.9.1 to 1.9.3. Since I did the update, Magmi ignores the multiple select columns and the invalid columns (i.e. the ...
user avatar
0 votes
1 answer
369 views

Save value of multiselect admin magento 1.9

I create a custom block, for create slider in front-end. This work perfectly in admin and save in database. Now I just add, a groupe_id instance of groupe_customer. so lock my form : $fieldset-...
user avatar
1 vote
2 answers
2k views

Magento 1.9 custom multiselect field renderer - how to?

In my customization I need a multiselect field in form so I added new field and created a renderer hoping it will work and I've done it this way: ... form.php $fieldset->addField('test', '...
user avatar
  • 867
1 vote
1 answer
239 views

Magento 2.2.2 Admin Form Multiselect Box Issue

My Admin Ui Component Form was working fine , but all of a sudden , the Multiselect box went out of proportion from the rest of the field . Does anybody faced the same issue or anyone know how to fix ...
user avatar
  • 1,712
1 vote
0 answers
55 views

multi-select image switcher for product configuration. how to do?

Tell me how to implement the next task. I have a set product. First, choose the color of the base, then the color of the product edges, and then you need to make it so that the client could choose ...
user avatar
6 votes
3 answers
9k views

Magento2 ui component multiselect selected options on edit

I'm trying to show the selected options in a multiselect in a custom admin module form. The data for the multi select field is saved in the database. What i have as field: <field name="...
user avatar
  • 571
0 votes
0 answers
63 views

How To Give Product Details Print By Admin > Catalog - > Managed Products

From admin managed products, what are all the products i selected (Using checkbox) i need those products get a printout, printout like products image, name, description? Is Possible?
user avatar
  • 95
2 votes
1 answer
761 views

Magento 2.1.7 add CMS page multiselect to CMS page

I'm new to Magento 2 and I'm trying to add a multiselect of all (for now) CMS pages to the CMS pages in Magento 2. What I mean by this is that when creating/editing a CMS page, there should be an ...
user avatar
  • 87
0 votes
1 answer
32 views

How to set Page wise Restriction in magento 2?

I am making one extension which displays header notification at top of page, I am make one multi select field in system.xml in which user select pages in which he/she want to display Notification. For ...
user avatar
  • 2,154
1 vote
1 answer
744 views

Multi select options for Magento2 custom Attribute [closed]

I have created one custom attribute for Category with Multi select option.I am trying to get dynamic values from source file but first value only printing in multi select please give solution and ...
user avatar
3 votes
5 answers
9k views

Magento 2 - Need a multi-select filter in place of dropdown in admin grid

I have added a new category filter to product grid following a nice tutorial is given here - https://chillydraji.wordpress.com/2016/11/29/add-category-filter-to-product-grid-in-magento2/ Now I want ...
user avatar
  • 371
0 votes
1 answer
316 views

Check if Multiselect attribute value is

I have a multi select attribute with some values. I get the values with this code: <?php $targetValue = explode(",", $_product->getResource()->getAttribute('nf_allergie')->getFrontend()-&...
user avatar
  • 573
1 vote
1 answer
1k views

Magento2 : How to retrieve Values from keys in System multiselect field

I have implemented a system configuration multiselect field (system.xml). <field id="foolist" translate="label" type="multiselect" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore=...
user avatar
  • 1,625
3 votes
1 answer
2k views

Magento 2 How to assign custom multiselect attribute values to product?

$_product->setData($attributeCode, $attributeValue); I can assign "normal" attributes to product like that and those attributes are visible on product page and admin panel. If I want to assign ...
user avatar
  • 67
1 vote
0 answers
114 views

select entities multiselect attribute which stored as comma separated ints in varchar table

Some product attribute is multiselect and stored as: 954,955,956,957,958,959 in database How to select products with 954 option id ? like seems to be not accurate, string should be spitted by comma,...
user avatar
  • 1,248
3 votes
3 answers
7k views

Magento 2 - add Multiselect Store Views in admin Form

I am developing a custom module in Magento 2. I would like to add to the editing form a multiselect to allow users to select the store view. In Magento 1.9 it is done in this way: $fieldset->...
user avatar
  • 1,443
0 votes
3 answers
90 views

Imported products show up in backend but not on front end

I was able to import products without issue and they would show up fine on the front end. I was in single user mode. I have one store. I have the column product_websites set to base. Nothing has ...
user avatar
  • 649
1 vote
2 answers
1k views

Magento2 : multi select box is not showing option with custom source

Working on custom extension, I have implemented multi select option using custom source. It don't show the option in multi select box. Anybody knows the reason? Check screenshot, $eavSetup->...
user avatar
4 votes
4 answers
12k views

Magento 2 - Category list for custom magento system configuration section

My problem to get all available categories and display them in a system config multi-select field list. Here is a link for Magento 1.x. How can it be achieved for Magento 2.x?
user avatar
  • 3,018