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

#   Showing error message to customer when the order price is under certain amount

##

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

Less More

- Posts: 4
- Thank you received: 0
-
-

9 years 11 months ago [\#254867](#254867) by [peyman](/forum/user/45733-peyman "View peyman's Profile")  *[Showing error message to customer when the order price is under certain amount](/forum/29-payment-methods/887394-showing-error-message-to-customer-when-the-order-price-is-under-certain-amount#254867 "-- HikaShop version -- : 2.6.4 Businness -- Joomla version -- : 3.5.1 -- PHP version -- : 5.6.1 -- Browser(s) name and version -- : Chrome  Hi. I'm using bank transfer as my payment method and I've set a mininum price to 10000 in its restrictions. My problem is that when the user's order amount is under 10000 just a &quot;Thank you&quot; message is shown to him. I want to show him a message that his order is not valid. I have checked the &quot;banktransfer&#95;end.php&quot; file and tried to write an if&#95;else statement to check the $this-&gt;amount and show proper message, but that isn't working. Could you please tell me that where I should put my error message or what file i have to edit?  Thanks.")* was created by *[peyman](/forum/user/45733-peyman "View peyman's Profile")*

-- HikaShop version -- : 2.6.4 Businness
-- Joomla version -- : 3.5.1
-- PHP version -- : 5.6.1
-- Browser(s) name and version -- : Chrome

Hi. I'm using bank transfer as my payment method and I've set a mininum price to 10000 in its restrictions. My problem is that when the user's order amount is under 10000 just a "Thank you" message is shown to him. I want to show him a message that his order is not valid.
I have checked the "banktransfer_end.php" file and tried to write an if_else statement to check the **$this-&gt;amount** and show proper message, but that isn't working.
Could you please tell me that where I should put my error message or what file i have to edit?

Thanks.

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

9 years 11 months ago [\#254884](#254884) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Showing error message to customer when the order price is under certain amount](/forum/29-payment-methods/887394-showing-error-message-to-customer-when-the-order-price-is-under-certain-amount#254884 "-- HikaShop version -- : 2.6.4 Businness -- Joomla version -- : 3.5.1 -- PHP version -- : 5.6.1 -- Browser(s) name and version -- : Chrome  Hi. I'm using bank transfer as my payment method and I've set a mininum price to 10000 in its restrictions. My problem is that when the user's order amount is under 10000 just a &quot;Thank you&quot; message is shown to him. I want to show him a message that his order is not valid. I have checked the &quot;banktransfer&#95;end.php&quot; file and tried to write an if&#95;else statement to check the $this-&gt;amount and show proper message, but that isn't working. Could you please tell me that where I should put my error message or what file i have to edit?  Thanks.")*

Hi,

Can you please provide more details about your payment methods and your checkout workflow ?
If the payment is not available, you should not be able to complete the checkout.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 4
- Thank you received: 0
-
-

9 years 11 months ago [\#254916](#254916) by [peyman](/forum/user/45733-peyman "View peyman's Profile")  Replied by *[peyman](/forum/user/45733-peyman "View peyman's Profile")* on topic *[Showing error message to customer when the order price is under certain amount](/forum/29-payment-methods/887394-showing-error-message-to-customer-when-the-order-price-is-under-certain-amount#254916 "-- HikaShop version -- : 2.6.4 Businness -- Joomla version -- : 3.5.1 -- PHP version -- : 5.6.1 -- Browser(s) name and version -- : Chrome  Hi. I'm using bank transfer as my payment method and I've set a mininum price to 10000 in its restrictions. My problem is that when the user's order amount is under 10000 just a &quot;Thank you&quot; message is shown to him. I want to show him a message that his order is not valid. I have checked the &quot;banktransfer&#95;end.php&quot; file and tried to write an if&#95;else statement to check the $this-&gt;amount and show proper message, but that isn't working. Could you please tell me that where I should put my error message or what file i have to edit?  Thanks.")*

I'm using Bank Transfer method. After clicking on Finish in the checkout I show the customer a some message to assure him it was successful. My problem is that after clicking the FINISH i the checkhout, if the order price is above 10000 everything is OK and the message( that i've set) is shown to him and I can see the order create in the ORDERS section in hikashop. But if the price is below 10000 nothing is shown and just a THANK YOU message is is displayed!
A picture of my checkout is attached.

- [ ![checkout.PNG](/forum/attachment/34562) ](/forum/attachment/34562 "checkout.PNG") [ ](/forum/attachment/34562?download=1 "checkout.PNG")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84ODczOTQtc2hvd2luZy1lcnJvci1tZXNzYWdlLXRvLWN1c3RvbWVyLXdoZW4tdGhlLW9yZGVyLXByaWNlLWlzLXVuZGVyLWNlcnRhaW4tYW1vdW50P3RtcGw9bWFya2Rvd24=) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86289
- Thank you received: 14265
-
-

9 years 11 months ago [\#254924](#254924) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Showing error message to customer when the order price is under certain amount](/forum/29-payment-methods/887394-showing-error-message-to-customer-when-the-order-price-is-under-certain-amount#254924 "-- HikaShop version -- : 2.6.4 Businness -- Joomla version -- : 3.5.1 -- PHP version -- : 5.6.1 -- Browser(s) name and version -- : Chrome  Hi. I'm using bank transfer as my payment method and I've set a mininum price to 10000 in its restrictions. My problem is that when the user's order amount is under 10000 just a &quot;Thank you&quot; message is shown to him. I want to show him a message that his order is not valid. I have checked the &quot;banktransfer&#95;end.php&quot; file and tried to write an if&#95;else statement to check the $this-&gt;amount and show proper message, but that isn't working. Could you please tell me that where I should put my error message or what file i have to edit?  Thanks.")*

Hi,

It's probably a bug that we fixed a few days ago. Please download the install package on our website via the menu My account&gt;My subscriptions and install it on yours. That should add the patch for that.

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

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

[](#top)
