diff --git a/README.md b/README.md index d721c8be..7aa6e5b2 100644 --- a/README.md +++ b/README.md @@ -54,13 +54,22 @@ From Administrator's point of view, every Refund request results in creating two cp -R vendor/sylius/refund-plugin/src/Resources/views/SyliusAdminBundle/* templates/bundles/SyliusAdminBundle/ ``` -1. Check if you have wkhtmltopdf binary. If not, you can download it [here](https://wkhtmltopdf.org/downloads.html). - -In case wkhtmltopdf is not located in `/usr/local/bin/wkhtmltopdf` modify the `WKHTMLTOPDF_PATH` environment variable in the `.env` file: - -``` -WKHTMLTOPDF_PATH=/usr/local/bin/wkhtmltopdf # Change this! :) -``` +1. Default configuration assumes enabled PDF file generator. If you don't want to use that feature change your app configuration: + + ```yaml + # config/packages/sylius_refund.yaml + sylius_refund: + pdf_generator: + enabled: false + ``` + + Otherwise, check if you have wkhtmltopdf binary. If not, you can download it [here](https://wkhtmltopdf.org/downloads.html). + + In case wkhtmltopdf is not located in `/usr/local/bin/wkhtmltopdf` modify the `WKHTMLTOPDF_PATH` environment variable in the `.env` file: + + ``` + WKHTMLTOPDF_PATH=/usr/local/bin/wkhtmltopdf # Change this! :) + ``` #### Beware!