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

#   Hide text in banktransfer plugin

##

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

Less More

- Posts: 53
- Thank you received: 3
-
-

2 years 3 months ago [\#362444](#362444) by [yolknet](/forum/user/12476-yolknet "View yolknet's Profile")  *[Hide text in banktransfer plugin](/forum/27-checkout/908459-hide-text-in-banktransfer-plugin#362444 "-- HikaShop version -- : 5.1.0  In Joomla 3 we had a fix/override for /plugins/hikashoppayment/banktransfer/banktransfer&#95;end.php to hide a part of the text. It worked even after installing updates. In Joomla 4 this solution doesn't work anymore and it looks like a core hack is the only way to get the same situation. We want to stay far away from core hacks because of the risk with updates. Is something possible without using a core hack?")* was created by *[yolknet](/forum/user/12476-yolknet "View yolknet's Profile")*

-- HikaShop version -- : 5.1.0

In Joomla 3 we had a fix/override for /plugins/hikashoppayment/banktransfer/banktransfer_end.php to hide a part of the text. It worked even after installing updates.
In Joomla 4 this solution doesn't work anymore and it looks like a core hack is the only way to get the same situation. We want to stay far away from core hacks because of the risk with updates. Is something possible without using a core hack?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2NoZWNrb3V0LzkwODQ1OS1oaWRlLXRleHQtaW4tYmFua3RyYW5zZmVyLXBsdWdpbj90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[Philip](/forum/user/34318-philip "View Philip's Profile")**
- [![Philip's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar34318_2015-11-18-2.png)](/forum/user/34318-philip "View Philip's Profile")
- [ Offline](/forum/user/34318-philip)

Less More

- Posts: 4820
- Thank you received: 654
-
-

2 years 3 months ago -  2 years 3 months ago [\#362448](#362448) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Hide text in banktransfer plugin](/forum/27-checkout/908459-hide-text-in-banktransfer-plugin#362448 "-- HikaShop version -- : 5.1.0  In Joomla 3 we had a fix/override for /plugins/hikashoppayment/banktransfer/banktransfer&#95;end.php to hide a part of the text. It worked even after installing updates. In Joomla 4 this solution doesn't work anymore and it looks like a core hack is the only way to get the same situation. We want to stay far away from core hacks because of the risk with updates. Is something possible without using a core hack?")*

Hello,

Our responses will vary depending on the context and the part you want to hide, so to help us better respond, could you please provide the following information:
- A **Url link** so we can see the exact context
- A more detailed **description** to help us understand what you need to hide (an annotated screenshot, for example)
Regards

Last edit: 2 years 3 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2NoZWNrb3V0LzkwODQ1OS1oaWRlLXRleHQtaW4tYmFua3RyYW5zZmVyLXBsdWdpbj90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 53
- Thank you received: 3
-
-

2 years 2 months ago [\#362787](#362787) by [yolknet](/forum/user/12476-yolknet "View yolknet's Profile")  Replied by *[yolknet](/forum/user/12476-yolknet "View yolknet's Profile")* on topic *[Hide text in banktransfer plugin](/forum/27-checkout/908459-hide-text-in-banktransfer-plugin#362787 "-- HikaShop version -- : 5.1.0  In Joomla 3 we had a fix/override for /plugins/hikashoppayment/banktransfer/banktransfer&#95;end.php to hide a part of the text. It worked even after installing updates. In Joomla 4 this solution doesn't work anymore and it looks like a core hack is the only way to get the same situation. We want to stay far away from core hacks because of the risk with updates. Is something possible without using a core hack?")*

Hello Philip,
Because of the holidays I wasn't able to respond soonder.
How it works: the following lines are commented out to prevent adding text:

JText::sprintf('PLEASE_TRANSFERT_MONEY',$this-&gt;amount).'&lt;br/&gt;'.
$this-&gt;information.'&lt;br/&gt;'.
JText::sprintf('INCLUDE_ORDER_NUMBER_TO_TRANSFER',$this-&gt;order_number).'&lt;br/&gt;'.
JText::_('THANK_YOU_FOR_PURCHASE');

Saving empty language values could be an option but it displays the variabes $this-&gt;amount, $this-&gt;information en $this-&gt;order_number
Hiding with css isn't an option too, because it's in the same container as ORDER_IS_COMPLETE

An override seems the only way, but doesn't work. Though [ www.hikashop.com/forum/payment-methods/9...fer-end-message.html](https://www.hikashop.com/forum/payment-methods/908184-override-bank-transfer-end-message.html) mentions it should work.
I've tried it with the file in templates/base/hikashoppayment/banktransfer_end.php and templates/base/html/hikashoppayment/banktransfer_end.php
In both cases the override doesn't work

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2NoZWNrb3V0LzkwODQ1OS1oaWRlLXRleHQtaW4tYmFua3RyYW5zZmVyLXBsdWdpbj90bXBsPW1hcmtkb3du) 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
-
-

2 years 2 months ago [\#362794](#362794) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Hide text in banktransfer plugin](/forum/27-checkout/908459-hide-text-in-banktransfer-plugin#362794 "-- HikaShop version -- : 5.1.0  In Joomla 3 we had a fix/override for /plugins/hikashoppayment/banktransfer/banktransfer&#95;end.php to hide a part of the text. It worked even after installing updates. In Joomla 4 this solution doesn't work anymore and it looks like a core hack is the only way to get the same situation. We want to stay far away from core hacks because of the risk with updates. Is something possible without using a core hack?")*

Hi,

The override file should be templates/YOUR_TEMPLATE/hikashoppayment/banktransfer_end.php
Are you sure that the folder of your template is "base" ? Please double check the names of the folders and the override file. It has to work.

Also, if you use empty translation overrides, $this-&gt;amount and $this-&gt;order_number won't be displayed as they are displayed by the %s in the text of the default text in the language file.
And $this-&gt;information comes from the text you entered in the "information" textarea of your payment method. Leave that empty, and it won't display anything either.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2NoZWNrb3V0LzkwODQ1OS1oaWRlLXRleHQtaW4tYmFua3RyYW5zZmVyLXBsdWdpbj90bXBsPW1hcmtkb3du) 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.077 seconds

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