Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I just upgraded TC from 2.2.3 to 2.3.5. Earlier I did this:
protected override decimal CalculatePrice(ShippingMethod shippingMethod, Currency currency, Order order)
if (order.SubtotalPrice.WithVat >= 175)
return base.CalculatePrice(shippingMethod, currency, order);
But now the signature has changed, so I cant access the order paramter?
protected override Price CalculatePrice(ShippingMethod shippingMethod, Currency currency, long countryId, long? countryRegionId, VatRate vatRate)
Is this not possible anymore or am I missing something?
The shipping calculator still have this method in 2.3.5 you just need to inherit from ShippingCalculator and not just implement the interface.
protected virtual Price CalculatePrice( ShippingMethod shippingMethod, Currency currency, Order order )
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted