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

Added Volume based shipping calculator #2210

Merged
merged 1 commit into from
Dec 4, 2014

Conversation

antonioperic
Copy link
Contributor

And some small code cleanup

}

return $weight;
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why removing this?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You have same function in BaseShipment
https://github.com/antonioperic/Sylius/blob/d815848fab3b8b8294225824e5ce1a7f509aaa1f/src/Sylius/Component/Shipping/Model/Shipment.php#L259

There was only lapsus in $item->getShippable()->getShippingWeight();

pjedrzejewski pushed a commit that referenced this pull request Dec 4, 2014
Added Volume based shipping calculator
@pjedrzejewski pjedrzejewski merged commit e956e32 into Sylius:master Dec 4, 2014
@pjedrzejewski
Copy link
Member

Thank you Antonio! 👍

@antonioperic antonioperic deleted the addingVolumeForShipping branch January 22, 2015 17:38
pamil pushed a commit to pamil/Sylius that referenced this pull request May 7, 2019
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