For a custom plugin with multiple views, how to specify which view goes where?

1 week ago
Hi, I am creating a plugin that has a view for admin and one for the public site. There is a new section to the product edit page in admin, and also a view to display on the product detail page on the public site. What I am not understanding is how to specify a location for each? I see I can add multiple zones below, but how to specify which view goes where?
Thanks!

public IList<string> GetWidgetZones()
        {
            return new List<string> { PublicWidgetZones.HomepageTop };
        }

        public string GetWidgetViewComponentName(string widgetZone)
        {
            return "MyWidget";
        }
1 week ago
Look at how it's done in \Plugins\Nop.Plugin.Tax.Avalara\AvalaraTaxProvider.cs