Permalink
Browse files

Merge branch '1.4'

* 1.4:
  Remove flush() call, its done in the remover itself
  Change base dir for override config resources
  • Loading branch information...
lchrusciel committed Feb 6, 2019
2 parents cd0f5e6 + 3e418ec commit 6bee69abfb4cbea0b1a9deea5fa42e306ab8c093
@@ -25,7 +25,7 @@ Overwrite the state machine of Checkout
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Open the `CoreBundle/Resources/config/app/state_machine/sylius_order_checkout.yml <https://github.com/Sylius/Sylius/blob/master/src/Sylius/Bundle/CoreBundle/Resources/config/app/state_machine/sylius_order_checkout.yml>`_
and place its content in the ``app/Resources/SyliusCoreBundle/config/app/state_machine/sylius_order_checkout.yml``
and place its content in the ``src/Resources/SyliusCoreBundle/config/app/state_machine/sylius_order_checkout.yml``
which is a `standard procedure of overriding configs in Symfony <http://symfony.com/doc/current/bundles/inheritance.html#overriding-resources-templates-routing-etc>`_.
Remove the ``shipping_selected`` and ``shipping_skipped`` states, ``select_shipping`` and ``skip_shipping`` transitions.
Remove the ``select_shipping`` and ``skip_shipping`` transition from the ``sylius_process_cart`` callback.
@@ -42,7 +42,5 @@ protected function execute(InputInterface $input, OutputInterface $output): void
$expiredCartsRemover = $this->getContainer()->get('sylius.expired_carts_remover');
$expiredCartsRemover->remove();
$this->getContainer()->get('sylius.manager.order')->flush();
}
}

0 comments on commit 6bee69a

Please sign in to comment.