Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 703

Denotes questions related to Magento CE and EE 2.1.x

0 votes
1 answer
2k views

How to use region updater in custom module?

I want to use the country and region/state fields in the custom form of my custom module. I am able to get countries list & states list of US now i want to update regions on the basis of country sele …
Sarvagya's user avatar
  • 1,217
0 votes

Adding External Link To Magento 2.1 Topbar / Navigation

Please create the plugin using the following steps: Module's di.xml <type name="Magento\Theme\Block\Html\Topmenu"> <plugin name="modulename-topmenu" type="Namespace\Modulename\Block\Topmenu\Pl …
Sarvagya's user avatar
  • 1,217
0 votes

How to select multiple tax-rate In Magento 2?

You can create a one-time script if it is not part of any module and it's a one time work only. Here is a code which might work for you though it is not tested and may require some work. $bootstrap …
Sarvagya's user avatar
  • 1,217
0 votes
1 answer
157 views

Issue with setting up SSL on magento

I am having issue with setting up website on https from http. I am using Magento ver. 2.1.9. Current Settings: web/unsecure/base_url --> http:// ....... web/secure/base_url --> https://........... we …
Sarvagya's user avatar
  • 1,217
2 votes
0 answers
399 views

How to set cron schedule dynamically from database?

I have a module which is basically a grid and has entry for different jobs. Each entry here represent a cron and all these crons are mentioned in crontab.xml. Now I need to use the schedule from a Job …
Sarvagya's user avatar
  • 1,217
1 vote

How to create grid using ui component for custom eav model

Here is component file which can be helpful. This is not the exact code I am using but similar to that. P.S: I have used this code in 2017 for magento 2.1 <?xml version="1.0" encoding="UTF-8"? …
Sarvagya's user avatar
  • 1,217
5 votes
Accepted

Custom EAV model in magento 2

I found a module in Github which has custom EAV Model. I have built custom EAV model successfully by following this module. May be it will help someone.
Sarvagya's user avatar
  • 1,217
1 vote
2 answers
2k views

How to create grid using ui component for custom eav model

I have created a new entity type and custom EAV model. Now i am trying to create grid for it using ui component. How we can use the eav data collection instead of flat table for grid?
Sarvagya's user avatar
  • 1,217
5 votes
1 answer
3k views

Custom EAV model in magento 2

How we can create custom Eav entity and model in magento2. I want to create a custom module where new attributes/fields can be created by user. I will use it to show the details in the grid in admin p …
Sarvagya's user avatar
  • 1,217