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

      • Related Articles

      • Request a Quote API

        1. Amasty\RequestQuote\Api\RemarkServiceInterface: PUT /V1/amasty_quote/updateRemark, method="save" - add information to the Remark field. 2. Amasty\RequestQuote\Api\QuoteRepositoryInterface - class for managing quotes: PUT ...
      • Request a Quote | GraphQL methods

        Queries isQuoteCartEnabled description: check if request a quote is enabled. Includes check for customer group quoteCart (cartId: String!) description: return information about the specified shopping cart customerQuoteCart description: return ...
      • How to change the background color in PDF templates?

        Using the PDF Customizer module, it is possible to adjust the PDF documents according to your needs. By default, the extension provides 4 pre-cofigured templates that could be used for each type of the order-related document: Order, Invoice, Shipment ...
      • How do I embed the footer on every page in the multi-page PDF?

        In order to place the footer on every page in the multi-page PDF, please go to Marketing > PDF Templates > open the template and add the following code at the beginning of the <body>: <div class="footer">    <p>Footer</p> </div> Once done, apply ...
      • How to select & adjust a custom logo?

        To change the logo, please head to Content → Design → Configuration. From the grid, select the required scope, go to the detailed settings and move to Header section: Here you can select the image from the Magento media gallery or upload a file from ...