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

v0.0.1 can't be used to implement multiple rates #6

Closed
bobbingwide opened this issue Nov 7, 2016 · 1 comment
Closed

v0.0.1 can't be used to implement multiple rates #6

bobbingwide opened this issue Nov 7, 2016 · 1 comment
Assignees

Comments

@bobbingwide
Copy link
Owner

When I documented that it was possible to define multiple rates with oik-weight-zone-shipping I hadn't actually tested that it worked. I'd just confirmed that it wasn't a flaw in WooCommerce.

In order to make it support multiple rates, the id of each rate needs to be unique.
For this we'll append the instance_id with a separating underscore.

If you've already tried to register multiple shipping methods you may need to save the original values before updating.

@bobbingwide
Copy link
Owner Author

This was fixed in v0.0.2. See cc75df9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant