want to remove paypal icon from category pages: enter image description here


You need to check which paypal method is enabled:

 Go to Stores -> configuration -> sales -> Payment Methods 
  -> Other paypal payment solutions -> Website Payments Pro Hosted Solution
  -> Basic Settings - PayPal Website Payments Pro Hosted Solution
  -> Adwance Settings -> Fronted Experience Settings.

Here select No Logo enter image description here

| improve this answer | |
  • 1
    Its working perfectly. – Hassan Ali Shahzad Feb 7 '19 at 6:55
  • It works very good on 2.3.1 – arno Jun 14 '19 at 14:39

You need to create a file in your theme directory like following


And add the following code in the catalog_category_view.xml file.

<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
        <referenceBlock name="paypal.partner.right.logo" remove="true"/>

Save the file and clear cache, Hope it will work for you.

| improve this answer | |
  • why you need to add this configuration if Magento provide you settings in admin ? your approach is not good. – Hassan Ali Shahzad Feb 7 '19 at 6:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.