From 960920adf394ee4220adab6d74e1c1b9d8d09735 Mon Sep 17 00:00:00 2001 From: aezan Date: Mon, 13 May 2024 21:31:39 +0530 Subject: [PATCH] update For latest Version --- Nop.Plugin.Widgets.SwiperSlider.csproj | 2 +- SwiperSliderPluginProcessor.cs | 4 ++-- plugin.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Nop.Plugin.Widgets.SwiperSlider.csproj b/Nop.Plugin.Widgets.SwiperSlider.csproj index 461eab58..e3d83f0a 100644 --- a/Nop.Plugin.Widgets.SwiperSlider.csproj +++ b/Nop.Plugin.Widgets.SwiperSlider.csproj @@ -1,6 +1,6 @@ - net6.0 + net8.0 Copyright © code is life code is life code is life team diff --git a/SwiperSliderPluginProcessor.cs b/SwiperSliderPluginProcessor.cs index 969ca940..25580e12 100644 --- a/SwiperSliderPluginProcessor.cs +++ b/SwiperSliderPluginProcessor.cs @@ -74,9 +74,9 @@ public async Task> GetWidgetZonesAsync() return await Task.FromResult(new List { PublicWidgetZones.HomepageTop, PublicWidgetZones.ProductDetailsTop }); } - public string GetWidgetViewComponentName(string widgetZone) + public string GetWidgetViewComponent(string widgetZone) { - return "SwiperSlider"; + return typeof(SwiperSliderViewComponent); } public Task ManageSiteMapAsync(SiteMapNode rootNode) diff --git a/plugin.json b/plugin.json index 21c34654..3acceed5 100644 --- a/plugin.json +++ b/plugin.json @@ -3,7 +3,7 @@ "FriendlyName": "Swiper Slider", "SystemName": "Nop.Plugin.Widgets.SwiperSlider", "Version": "4.50.1", - "SupportedVersions": [ "4.50" ], + "SupportedVersions": [ "4.70" ], "Author": "code is life team", "DisplayOrder": 1, "FileName": "Nop.Plugin.Widgets.SwiperSlider.dll",