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.