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

#   Template overrides - Plugins?

##

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

Less More

- Posts: 8
- Thank you received: 0
-
-

14 years 1 month ago -  14 years 1 month ago [\#66450](#66450) by [afish674](/forum/user/9578-afish674 "View afish674's Profile")  *[Template overrides - Plugins?](/forum/4-how-to/66450-template-overrides-plugins#66450 "Hi,  I'm trying to override a line on the checkout page where next to the payment checkbox, it has a description of the payment.  I have located the php file in plugins&gt;hikashoppayment&gt;paypal&gt;paypal.php  I saved a copy and then I changed the source code on lines 392-393 to read:  I saved the copy in templates&gt;mytemplate&gt;html&gt;plugins&gt;hikashoppayment&gt;paypal&gt;paypal.php  However this hasn't overwritten the original. Have I done everything correctly? Or is it just impossible to do?  Thanks for your help!")* was created by *[afish674](/forum/user/9578-afish674 "View afish674's Profile")*

Hi,

I'm trying to override a line on the checkout page where next to the payment checkbox, it has a description of the payment.

I have located the php file in plugins&gt;hikashoppayment&gt;paypal&gt;paypal.php

I saved a copy and then I changed the source code on lines 392-393 to read: Code:

$element-&gt;payment_description='&lt;p&gt;You can pay by credit card or paypal using this payment method&lt;/p&gt;'; $element-&gt;payment_images='PayPal';

I saved the copy in templates&gt;mytemplate&gt;html&gt;plugins&gt;hikashoppayment&gt;paypal&gt;paypal.php

However this hasn't overwritten the original. Have I done everything correctly? Or is it just impossible to do?

Thanks for your help!

Last edit: 14 years 1 month ago by [afish674](/forum/user/9578-afish674 "View afish674's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzY2NDUwLXRlbXBsYXRlLW92ZXJyaWRlcy1wbHVnaW5zP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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: 86323
- Thank you received: 14283
-
-

14 years 1 month ago [\#66461](#66461) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Template overrides - Plugins?](/forum/4-how-to/66450-template-overrides-plugins#66461 "Hi,  I'm trying to override a line on the checkout page where next to the payment checkbox, it has a description of the payment.  I have located the php file in plugins&gt;hikashoppayment&gt;paypal&gt;paypal.php  I saved a copy and then I changed the source code on lines 392-393 to read:  I saved the copy in templates&gt;mytemplate&gt;html&gt;plugins&gt;hikashoppayment&gt;paypal&gt;paypal.php  However this hasn't overwritten the original. Have I done everything correctly? Or is it just impossible to do?  Thanks for your help!")*

Hi,

You can't override plugins. The structure of joomla does not allow for that.
If you want to change the image/description of the plugin, just edit the options of the plugin and change the image/description with the provided options. There is no need to edit any code.

The following user(s) said Thank You: [afish674](/forum/user/9578-afish674 "View afish674's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzY2NDUwLXRlbXBsYXRlLW92ZXJyaWRlcy1wbHVnaW5zP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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.068 seconds

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