How to add multiple store dropdown on top header in magento2 - magento2

how to create and add a multi store drop down on header?
like below image have currency drop down.enter image description here

Related

How to get value from the dynamically created textfields in a table in flutter

In the above design, the textfields are dynamically created. In the textfield, the user will enter the quantity for the products. Now when I get the value from the textfield, I want to associate it with the color, product, and size ID's respectively. In the web, the web devs used custom attributes to embed the ID's in the textfields itself, so when fetching the data, they can also get the Color, size and product ID's from the custom attributes of that textfield. How should I go about doing that in flutter?

Is there any way to link a data set from another sheet to a chart in google sheet?

I have used column charts to create a report using Google sheet. Can I do something so that clicking on the particular column will show some details about the data set of that column?

Magento 2, bring category description at bottom of category page via update layout xml

In magento 2, there is a box in every category page to enter description that displays on top of products in category page, can it be brought at bottom somehow only via update layout xml coding which is under design tab, i want this approach only, i dont want to get file from server and modify core files.
OR
any other way we can display text based content at bottom of category page after products listings, this is for SEO.
Thanks
Please change according to below steps:
Go to catalog_category_view.xml file and paste below code before <body> tag end.
File Path:
Vendor/ThemeName/Magento_Catalog/layout/catalog_category_view.xml
<move element="category.description" destination="content" after="category.products.list"/>

Android - Drawer navigation adapter

I am implementing a navigation Drawer as per: http://developer.android.com/training/implementing-navigation/nav-drawer.html
The tutorial only shows a single TextView with ID android:id="#android:id/text1" and this is populated for the ListView using:
mDrawerList.setAdapter(new ArrayAdapter<String>(
this,
R.layout.drawer_list_item,
mDrawerItems));
Now, I want to include an ImageView inside each ListView item. This will represent the Icon for each item.
Question: Inside my xml for the list items (where the TextView text1 is located), I have included an ImageView.
What do I need to name the ID for the ImageView?
And then, do I simply add the drawable-array reference to the setAdapter like this?
mDrawerList.setAdapter(new ArrayAdapter<String>(
this,
R.layout.drawer_list_item,
mDrawerItems,
mDrawerIcons));
Thank you
I found out that creating an ArrayAdapter in the format above does not allow you to input more than one set of data to the Adapter. For instance, I can only use my list of Drawer Navigation names contained in the Array<String>: mDrawerItems. To pass Icons and other data to the adapter, I have two option:
Simple Adapter used with a Map, or
Custom Adapter.
Examples of both can be found here: http://www.vogella.com/articles/AndroidListView/article.html, and here:
http://www.shenhengbin.wordpress.com/2012/03/17/listview-simpleadapter/

How to add custom filter in header in magento

In my magento site,
I have there drop down list in header, I want to search Or navigate product after last drop down item select. drop down are dependent each other (i mean third depends on second, second depends on first) third drop down are attributes values of the second drop down category item.
it should be work like filters. I have create .phtml file and have added these drop down in header. please help me out.
Thanks in Advance
Customise your layered navigation functionality
An example of layered navigation with your problem
You have 3 attributes:- (Category,Color, Manufacaturer) Color is dependent on category and Manufacturer in Color
So when you pass #cat=5 the ajax call will filter out the products. Also filter out the second dropdown according to available products existing color.. Then similarly pass #cat=5&color=23.... so on
This filteration is already done in layered navigation. You just have to custmise your code to use this in dropdown
:)