[Skip to main content](#vessel-content)

#   Change the paypal express button

##

- **[jor1292ct](/forum/user/60791-jor1292ct "View jor1292ct's Profile")**
- [![jor1292ct's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/60791-jor1292ct "View jor1292ct's Profile") Topic Author
- [ Offline](/forum/user/60791-jor1292ct)

Less More

- Posts: 12
- Thank you received: 0
-
-

5 years 1 month ago [\#335885](#335885) by [jor1292ct](/forum/user/60791-jor1292ct "View jor1292ct's Profile")  *[Change the paypal express button](/forum/35-orders-management/903227-change-the-paypal-express-button#335885 "-- HikaShop version -- : 4.4.3 -- Joomla version -- : 3.9 -- PHP version -- : 8 -- Browser(s) name and version -- : chrome -- Error-message(debug-mod must be tuned on) -- : error en paypal  How do I change the appearance of the paypal express button in the shopping cart?  attach the image that mentions them")* was created by *[jor1292ct](/forum/user/60791-jor1292ct "View jor1292ct's Profile")*

-- HikaShop version -- : 4.4.3
-- Joomla version -- : 3.9
-- PHP version -- : 8
-- Browser(s) name and version -- : chrome
-- Error-message(debug-mod must be tuned on) -- : error en paypal

How do I change the appearance of the paypal express button in the shopping cart?

attach the image that mentions them  [ ![1.png](/forum/attachment/53576) ](/forum/attachment/53576 "1.png")

[ ![1.png](/forum/attachment/53576) ](/forum/attachment/53576 "1.png")

- [ ![1.png](/forum/attachment/53576) ](/forum/attachment/53576 "1.png") [ ](/forum/attachment/53576?download=1 "1.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50LzkwMzIyNy1jaGFuZ2UtdGhlLXBheXBhbC1leHByZXNzLWJ1dHRvbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86359
- Thank you received: 14293
-
-

5 years 1 month ago [\#335892](#335892) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Change the paypal express button](/forum/35-orders-management/903227-change-the-paypal-express-button#335892 "-- HikaShop version -- : 4.4.3 -- Joomla version -- : 3.9 -- PHP version -- : 8 -- Browser(s) name and version -- : chrome -- Error-message(debug-mod must be tuned on) -- : error en paypal  How do I change the appearance of the paypal express button in the shopping cart?  attach the image that mentions them")*

Hi,

I think the best solution would be to do that with CSS, as explained here:
[ stackoverflow.com/questions/28832129/rep...c-location-using-css](https://stackoverflow.com/questions/28832129/replace-image-src-location-using-css)
In the CSS proposed in the first solution there, you could replace .application-title with #paypal_express_button and then adapt the width/height/image path of the CSS code to your situation with that PayPal Express button and the image you want to use instead for it.
Here is a tutorial on adding custom CSS:
[ www.hikashop.com/support/documentation/1...ize-the-display.html](https://www.hikashop.com/support/documentation/153-customize-the-display.html)

A simpler solution would be to directly change the src of the img tag in the file plugins/hikashoppayment/paypalexpress/paypalexpress.php: Code:

$this-&gt;button = '' . '&lt;div id="paypal_express_button" style="width:144px; height:46px; margin-top:15px;"&gt;&lt;a href="'.$notif . '&amp;setExpressCheckout=1"&gt;&lt;img src="https://fpdbs.paypal.com/dynamicimageweb?cmd=_dynamic-image&amp;buttontype' . '=ecshortcut&amp;locale='.str_replace('-','_',$lang-&gt;get('tag')).'"&gt;&lt;/a&gt;&lt;/div&gt;';

However, you'll loose your change each time you update your HikaShop and thus you'll have to reapply it. So I think the CSS solution would be better for the long run.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50LzkwMzIyNy1jaGFuZ2UtdGhlLXBheXBhbC1leHByZXNzLWJ1dHRvbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.042 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
