diff --git a/docs/_images/getting-started-with-sylius/gateways.png b/docs/_images/getting-started-with-sylius/gateways.png new file mode 100644 index 0000000000..4271e0b6bb Binary files /dev/null and b/docs/_images/getting-started-with-sylius/gateways.png differ diff --git a/docs/_images/getting-started-with-sylius/payment-method-creation.png b/docs/_images/getting-started-with-sylius/payment-method-creation.png new file mode 100644 index 0000000000..8c905216e2 Binary files /dev/null and b/docs/_images/getting-started-with-sylius/payment-method-creation.png differ diff --git a/docs/_images/getting-started-with-sylius/shipping-method.png b/docs/_images/getting-started-with-sylius/shipping-method.png new file mode 100644 index 0000000000..81b68b1ccf Binary files /dev/null and b/docs/_images/getting-started-with-sylius/shipping-method.png differ diff --git a/docs/getting-started-with-sylius/index.rst b/docs/getting-started-with-sylius/index.rst index 650e5ed509..48b43bbcaa 100644 --- a/docs/getting-started-with-sylius/index.rst +++ b/docs/getting-started-with-sylius/index.rst @@ -10,8 +10,7 @@ to the first results ("I can sell some stuff online!"). installation basic-configuration - shipping-method - payment-method + shipping-and-payment first-product customizations plugin-installation diff --git a/docs/getting-started-with-sylius/map.rst.inc b/docs/getting-started-with-sylius/map.rst.inc index c1b861cb84..33b931ba52 100644 --- a/docs/getting-started-with-sylius/map.rst.inc +++ b/docs/getting-started-with-sylius/map.rst.inc @@ -1,7 +1,6 @@ * :doc:`/getting-started-with-sylius/installation` * :doc:`/getting-started-with-sylius/basic-configuration` -* :doc:`/getting-started-with-sylius/shipping-method` -* :doc:`/getting-started-with-sylius/payment-method` +* :doc:`/getting-started-with-sylius/shipping-and-payment` * :doc:`/getting-started-with-sylius/first-product` * :doc:`/getting-started-with-sylius/customizations` * :doc:`/getting-started-with-sylius/plugin-installation` diff --git a/docs/getting-started-with-sylius/payment-method.rst b/docs/getting-started-with-sylius/payment-method.rst deleted file mode 100644 index 2d758e7975..0000000000 --- a/docs/getting-started-with-sylius/payment-method.rst +++ /dev/null @@ -1,3 +0,0 @@ -Payment method -============== - diff --git a/docs/getting-started-with-sylius/shipping-and-payment.rst b/docs/getting-started-with-sylius/shipping-and-payment.rst new file mode 100644 index 0000000000..0ddeb9da14 --- /dev/null +++ b/docs/getting-started-with-sylius/shipping-and-payment.rst @@ -0,0 +1,44 @@ +Shipping & Payment +================== + +The basic configuration is done. We can now proceed to allow potential customers buying our merchandise. As usual, during the checkout +process, they should be able to define how do they want their order to be shipped, as well as how they would pay for that. + +Shipping method +--------------- + +Sylius allows configuring different ways to ship the order, depending on shipping address (the **Zone** concept is essential there!), or affiliation +to some specific **Shipping Category**. Let's then create a simple shipping method called "FedEx" that would cost $10.00 for the whole order. + +.. image:: /_images/getting-started-with-sylius/shipping-method.png + +Payment method +-------------- + +Customer should also be able to choose, how their order will be paid. At least one payment method is required for completing a checkout, so create a new one +named "Cash on delivery". Before creation, we need to specify the payment method gateway, which is a way for processing the payment (*Offline*, *PayPal Express Checkout*, +and *Stripe* are supported by default). + +Gateway selection: + +.. image:: /_images/getting-started-with-sylius/gateways.png + :scale: 55% + :align: center + +| + +Payment method creation: + +.. image:: /_images/getting-started-with-sylius/payment-method-creation.png + +.. attention:: + + Psst! You can find integrations with more payment gateways if you take a look at some `Sylius plugins `_ + +Great! The only thing left is creating some product, and we can go shopping! + +Learn more +########## + +* :doc:`Shipments ` +* :doc:`Payments ` diff --git a/docs/getting-started-with-sylius/shipping-method.rst b/docs/getting-started-with-sylius/shipping-method.rst deleted file mode 100644 index c42c8142fa..0000000000 --- a/docs/getting-started-with-sylius/shipping-method.rst +++ /dev/null @@ -1,3 +0,0 @@ -Shipping method -=============== -