Language during shipping computation method?

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
4 года назад
is there a way to get the localized string from the shipping computation method?
4 года назад
The FixedByWeightByTotal will do it:

...
Name = _localizationService.GetLocalized(shippingMethod, x => x.Name),
Description = _localizationService.GetLocalized(shippingMethod, x => x.Description),


But other providers (e.g. UPS, FedEx, etc. don't).
What provider plugin are you using?
4 года назад
My own i was wondering how i access the localized strings my plugin creates from inside the computation method
4 года назад
As per the above code.
(does that help, or do you still have questions?)
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.