Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shipping methods dont respect customer groups visibility or dates #2028

Open
ryanmitchell opened this issue Dec 2, 2024 · 0 comments
Open
Labels
bug Something isn't working unconfirmed

Comments

@ryanmitchell
Copy link
Contributor

Using the latest of everything :)

Shipping methods don't respect the customer group settings here:

CleanShot 2024-12-02 at 10 44 26@2x

You can see in the code there is a basic customer group check here:

$method = $rate->shippingMethod()->customerGroup($this->customerGroups)->first();

But not any of the dates etc from the customerGroupScope -

public function applyCustomerGroupScope(Builder $query, Collection $groupIds, DateTime $startsAt, DateTime $endsAt)

@ryanmitchell ryanmitchell added bug Something isn't working unconfirmed labels Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working unconfirmed
Projects
None yet
Development

No branches or pull requests

1 participant