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

#   Error message when removing coupon

##

- **[lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile")**
- [![lousyfool's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar28604.jpg)](/forum/user/28604-lousyfool "View lousyfool's Profile") Topic Author
- [ Offline](/forum/user/28604-lousyfool)

Less More

- Posts: 2143
- Thank you received: 746
-
- [](http://www.inphase.one)
-

11 years 5 months ago -  11 years 5 months ago [\#205162](#205162) by [lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile")  *[Error message when removing coupon](/forum/27-checkout/877601-error-message-when-removing-coupon#205162 "-- url of the page with the problem -- : local -- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.5.3 -- Browser(s) name and version -- : any -- Error-message(debug-mod must be tuned on) -- : JGLOBAL&#95;AUTH&#95;EMPTY&#95;PASS&#95;NOT&#95;ALLOWED  Hi,  Not a big issue, but I found some oddity when removing a coupon in checkout and thought I'll let you know.  Conditions: • Registration or simplified registration with password is selected. • Login/registration and coupon on the same checkout page. • Guest tries to remove (auto-loaded) coupon before having logged in or registered. • Any template incl Protostar.  Result until 2.4.0: • System alert:  • Auto-loaded coupon remains in place = is not being removed.  Result in 2.5.0: • System alert:  • Auto-loaded coupon remains in place = is not being removed.  I sort of understand that an auto-loaded coupon does not get removed. But then there shouldn't be the success message &quot;Coupon removed&quot;. And certainly not twice. ;)  is present in both en-GB.ini (admin and frontend), but shows up since 2.5.0 as untranslated language constant - why? I would understand if it shows up (translated!) upon finishing the checkout before entering a password - but that's practically impossible due to the &quot;finish&quot; button not being there. But why does it show up in connection with the coupon? Sure, I see it's new in /components/com&#95;hikashop/controllers/checkout.php, but maybe it still needs some work. As it's now, it's all too confusing for customers...  There's no head-scratching smiley. So, imagine me scratching my head. And one more ;)")* was created by *[lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile")*

-- url of the page with the problem -- : local
-- HikaShop version -- : 2.5.0
-- Joomla version -- : 3.4.1
-- PHP version -- : 5.5.3
-- Browser(s) name and version -- : any
-- Error-message(debug-mod must be tuned on) -- : JGLOBAL_AUTH_EMPTY_PASS_NOT_ALLOWED

Hi,

Not a big issue, but I found some oddity when removing a coupon in checkout and thought I'll let you know.

Conditions:
• Registration or simplified registration with password is selected.
• Login/registration and coupon on the same checkout page.
• Guest tries to remove (auto-loaded) coupon before having logged in or registered.
• Any template incl Protostar.

Result until 2.4.0:
• System alert: Code:

Coupon removed Coupon removed

• Auto-loaded coupon remains in place = is not being removed.

Result in 2.5.0:
• System alert: Code:

JGLOBAL_AUTH_EMPTY_PASS_NOT_ALLOWED Coupon removed Coupon removed

• Auto-loaded coupon remains in place = is not being removed.

I sort of understand that an auto-loaded coupon does not get removed. But then there shouldn't be the success message "Coupon removed". And certainly not twice. ![;)](/media/kunena/emoticons/24.png ";)")

Code:

JGLOBAL_AUTH_EMPTY_PASS_NOT_ALLOWED="Empty password not allowed."

is present in both en-GB.ini (admin and frontend), but shows up since 2.5.0 as untranslated language constant - why?
I would understand if it shows up (translated!) upon finishing the checkout before entering a password - but that's practically impossible due to the "finish" button not being there. But why does it show up in connection with the coupon?
Sure, I see it's new in /components/com_hikashop/controllers/checkout.php, but maybe it still needs some work. As it's now, it's all too confusing for customers...

There's no head-scratching smiley. So, imagine me scratching my head. And one more ![;)](/media/kunena/emoticons/24.png ";)")

---

Need help with customisations of layouts, style or other site development? [ PM me!](/component/uddeim/?task=new)
(Don't forget to turn on [ "E-mail notification of new messages"](/component/uddeim/?task=settings))

Last edit: 11 years 5 months ago by [lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg3NzYwMS1lcnJvci1tZXNzYWdlLXdoZW4tcmVtb3ZpbmctY291cG9uP3RtcGw9bWFya2Rvd24=) 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: 86587
- Thank you received: 14326
-
-

11 years 5 months ago [\#205192](#205192) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Error message when removing coupon](/forum/27-checkout/877601-error-message-when-removing-coupon#205192 "-- url of the page with the problem -- : local -- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.5.3 -- Browser(s) name and version -- : any -- Error-message(debug-mod must be tuned on) -- : JGLOBAL&#95;AUTH&#95;EMPTY&#95;PASS&#95;NOT&#95;ALLOWED  Hi,  Not a big issue, but I found some oddity when removing a coupon in checkout and thought I'll let you know.  Conditions: • Registration or simplified registration with password is selected. • Login/registration and coupon on the same checkout page. • Guest tries to remove (auto-loaded) coupon before having logged in or registered. • Any template incl Protostar.  Result until 2.4.0: • System alert:  • Auto-loaded coupon remains in place = is not being removed.  Result in 2.5.0: • System alert:  • Auto-loaded coupon remains in place = is not being removed.  I sort of understand that an auto-loaded coupon does not get removed. But then there shouldn't be the success message &quot;Coupon removed&quot;. And certainly not twice. ;)  is present in both en-GB.ini (admin and frontend), but shows up since 2.5.0 as untranslated language constant - why? I would understand if it shows up (translated!) upon finishing the checkout before entering a password - but that's practically impossible due to the &quot;finish&quot; button not being there. But why does it show up in connection with the coupon? Sure, I see it's new in /components/com&#95;hikashop/controllers/checkout.php, but maybe it still needs some work. As it's now, it's all too confusing for customers...  There's no head-scratching smiley. So, imagine me scratching my head. And one more ;)")*

Hi,

The coupon is actually really removed by the system. That's why you get the message. Of course, since it is an auto loaded coupon, the coupon is then automatically loaded after that. So you see it as remaining in place.

Regarding the fact that the this password message displays, you're right it has nothing to do there. We'll remove it. You can remove the line of code displaying the message in that file. It's not necessary at all.

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

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

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