Skip to content

Conversation

@kassner
Copy link

@kassner kassner commented May 5, 2021

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.

@kassner kassner force-pushed the free-shipping-mode branch from 507eeb2 to dd00aa6 Compare May 5, 2021 12:14
@wsadasmit
Copy link
Contributor

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

@wsadasmit wsadasmit closed this May 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants