Skip to content
This repository was archived by the owner on Mar 21, 2025. It is now read-only.

product packages have priority over dimensions#161

Open
mrpollo wants to merge 1 commit into
spree-contrib:masterfrom
mrpollo:master
Open

product packages have priority over dimensions#161
mrpollo wants to merge 1 commit into
spree-contrib:masterfrom
mrpollo:master

Conversation

@mrpollo

@mrpollo mrpollo commented Nov 28, 2013

Copy link
Copy Markdown
Contributor

this is required so we don't send and extra package previously it would create a package with the default variant attributes and append it to the product packages, this would create in some cases expansive rate results

in some cases: carriers typically would measure the package and pick either the dimensions or the weight (whichever is more expensive) and use that to calculate the rates

this is required so we don't send and extra package
previously it would create a package with the default variant
attributes and append it to the product packages
@mrpollo

mrpollo commented Nov 28, 2013

Copy link
Copy Markdown
Contributor Author

don't merge this yet I need to redo some of the tests...

I'm also feeling that the whole weight array poop that is going on should be gone from here since we have the splitters on spree_core doing that job already ( splitting packages per weight )... would love input here...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant