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

#   Add Variable to Plugin Check $this-&gt;information.

##

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

Less More

- Posts: 26
- Thank you received: 0
-
-

12 years 5 months ago [\#156149](#156149) by [kmedri](/forum/user/6777-kmedri "View kmedri's Profile")  *[Add Variable to Plugin Check $this-&gt;information.](/forum/29-payment-methods/868244-add-variable-to-plugin-check-this-information#156149 "I would like to able to add the order number within the text in the Check Payment Plugin. I can see the the two files in the plugin folder, however not sure how to add the variable. I wish to place...")* was created by *[kmedri](/forum/user/6777-kmedri "View kmedri's Profile")*

I would like to able to add the order number within the text in the Check Payment Plugin. I can see the the two files in the plugin folder, however not sure how to add the variable. I wish to place the order no where the %s is on the image:

image missing http://spin.medri.co.nz/images/check-plugin.jpg

Many Thanks

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

12 years 5 months ago [\#156170](#156170) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Add Variable to Plugin Check $this-&gt;information.](/forum/29-payment-methods/868244-add-variable-to-plugin-check-this-information#156170 "I would like to able to add the order number within the text in the Check Payment Plugin. I can see the the two files in the plugin folder, however not sure how to add the variable. I wish to place...")*

Hi,

That should already be the case unless you changed the line:
JText::sprintf('INCLUDE_ORDER_NUMBER_TO_CHECK',$this-&gt;order_number).'&lt;br/&gt;'.
in the file plugins/hikashoppayment/check/check_end.php

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

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

Less More

- Posts: 26
- Thank you received: 0
-
-

12 years 5 months ago [\#156220](#156220) by [kmedri](/forum/user/6777-kmedri "View kmedri's Profile")  Replied by *[kmedri](/forum/user/6777-kmedri "View kmedri's Profile")* on topic *[Add Variable to Plugin Check $this-&gt;information.](/forum/29-payment-methods/868244-add-variable-to-plugin-check-this-information#156220 "I would like to able to add the order number within the text in the Check Payment Plugin. I can see the the two files in the plugin folder, however not sure how to add the variable. I wish to place...")*

Hi Nicolas,

its the text in the plugin settings in the backend that I want to add the variable to, not the ones that take their data from the language files....

$this-&gt;information;

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

12 years 5 months ago [\#156229](#156229) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Add Variable to Plugin Check $this-&gt;information.](/forum/29-payment-methods/868244-add-variable-to-plugin-check-this-information#156229 "I would like to able to add the order number within the text in the Check Payment Plugin. I can see the the two files in the plugin folder, however not sure how to add the variable. I wish to place...")*

In that case, you need to change the code:
$this-&gt;information

to:
sprintf($this-&gt;information,$this-&gt;order_number)

in that same file.

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

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