solutionDrive / SyliusProductBundlesPlugin

Plugin for Sylius to configure bundles for products that can be sold together
MIT License
20 stars 4 forks source link

Added findOneByCode for ProductBundleRepository #38

Closed twojtylak closed 6 years ago

twojtylak commented 6 years ago

Alternative to

$bundleProduct = $productRepository->findOneByCode($selection);
$bundle = $bundleProduct->getProductBundle();