I want to change logo and text on the PDF in Request a quote plugin. How do I do that?

I want to change logo and text on the PDF in Request a quote plugin. How do I do that?

Kindly note that PNG files are not suitable for logo replacement. For this operation, please use an SVG file converted to base64 encoding. 

Please follow the steps below to replace the logo image and edit the text on the PDF.

Step 1. Head to Amasty → Request a Quote → Configuration → PDF tab and delete all the contents of the src attribute in the Template Content field:



Step 2. Navigate to any website where an SVG file can be converted into the base64 encoding. Upload your SVG file, press Encode SVG to Base64 and copy the result. For example:



Step 3. Paste the copied line into the src attribute between the double quotes in the Template Content field:



Step 4. Save the changes and flush the cache


As for text, it can be edited in the same Template Content field. If you'd need to change PDF styling, it can be done in the following file: 

app/code/Amasty/RequestQuote/view/base/web/css/pdf_styles.less