webshopapps / module-matrixrate

WebShopApps MatrixRates for Magento2
Open Software License 3.0
120 stars 64 forks source link

Support free shipping modes #98

Closed kassner closed 3 years ago

kassner commented 3 years ago

Adding support to give free shipping via cart rules only to the cheapest method. This allows customers to pay extra if they want an expedited shipment option.

The change also allows developers to create their own free shipping mode by creating plugins to the FreeShippingMode::toOptionArray and Matrixrate::collectTotals methods, as the previous code was setting all prices as zero.

The configuration defaults to all, so it will have the same behavior as before.

wsadasmit commented 3 years ago

Thanks for the submission! We're not accepting new features for this extension currently, so I'm closing this, but we appreciate it!