Inhalte aufrufen

Profilbild

My Shipping Method throws error on Install

shipping method

  • Bitte melden Sie sich an, um eine Antwort zu verfassen.
4 Antworten zu diesem Thema

#1 Ojukwu Ogbonnaya

Ojukwu Ogbonnaya

    Newbie

  • Members
  • Punkt
  • 7 Beiträge

Geschrieben: 11 November 2016 - 10:05

I created a new shipping method using the ShippingByWeight plugin. 

 

But when I click the "Install button", I get the following error:

 

Method not found: 'Void SmartStore.Services.Localization.ILocalizationService.ImportPluginResourcesFromXml(SmartStore.Core.Plugins.PluginDescriptor, System.Collections.Generic.List`1<SmartStore.Core.Domain.Localization.LocaleStringResource>, Boolean, System.Collections.Generic.IList`1<SmartStore.Core.Domain.Localization.Language>);

 

Please how do I resolve this?

 

Thanks.



#2 Marcus Gesing

Marcus Gesing

    SmartStore AG

  • Administrators
  • 3801 Beiträge

Geschrieben: 11 November 2016 - 12:02

That's a version conflict. The used SmartStore.Services.dll is too old. It does not contain this commit.
Delete bin and plugin folder and re-compile the whole solution. If the error still exist then clear your Temporary ASP.NET Files and repeat the previous step.

Marcus Gesing

Smartstore AG


#3 Ojukwu Ogbonnaya

Ojukwu Ogbonnaya

    Newbie

  • Members
  • Punkt
  • 7 Beiträge

Geschrieben: 14 November 2016 - 15:42

Thanks. Its working now. I have to download the updated source code and started the plugin from the beginning. 



#4 Ojukwu Ogbonnaya

Ojukwu Ogbonnaya

    Newbie

  • Members
  • Punkt
  • 7 Beiträge

Geschrieben: 15 November 2016 - 11:11

Now I installed the plugin on a live website but I cant checkout. I get this error when my Shipping plugin is active....

 

Method not found: 'System.Decimal SmartStore.Services.Shipping.IShippingService.GetShoppingCartTotalWeight(System.Collections.Generic.IList`1, Boolean)'..core.domain.orders.organizedshoppingcartitem>

 

 

If I deactivate it i get this error during checkout:

 

The entity type ShippingByWeightRecord is not part of the model for the current context.

 

Please, what could be the problem?



#5 Marcus Gesing

Marcus Gesing

    SmartStore AG

  • Administrators
  • 3801 Beiträge

Geschrieben: 15 November 2016 - 13:10

Probably same reason: version conflict. Your IShippingService implementation is not compatible with the store version. See this commit.
ShippingByWeightRecord is an entity of the ShippingByWeight plugin. It should not be used outside.

Marcus Gesing

Smartstore AG



Auch markiert mit einem oder mehrerer dieser Schlüsselwörter: shipping method