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

#   Removing coupon displays invalid message

##

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

Less More

- Posts: 113
- Thank you received: 18
-
-

14 years 2 months ago [\#63887](#63887) by [csymmonds](/forum/user/9149-csymmonds "View csymmonds's Profile")  *[Removing coupon displays invalid message](/forum/3-bug-report/63887-removing-coupon-displays-invalid-message#63887 "During checkout, deleting a coupon displays two messages, one expected, one apparently in error:  • Please create or select an address • Coupon removed  ...even though there is an address selected.")* was created by *[csymmonds](/forum/user/9149-csymmonds "View csymmonds's Profile")*

During checkout, deleting a coupon displays two messages, one expected, one apparently in error:

• Please create or select an address
• Coupon removed

...even though there is an address selected.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC82Mzg4Ny1yZW1vdmluZy1jb3Vwb24tZGlzcGxheXMtaW52YWxpZC1tZXNzYWdlP3RtcGw9bWFya2Rvd24=) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86541
- Thank you received: 14304
-
-

14 years 2 months ago [\#64250](#64250) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Removing coupon displays invalid message](/forum/3-bug-report/63887-removing-coupon-displays-invalid-message#64250 "During checkout, deleting a coupon displays two messages, one expected, one apparently in error:  • Please create or select an address • Coupon removed  ...even though there is an address selected.")*

We were able to reproduce the problem on our end. We'll look for a solution.

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

- **[Eliot](/forum/user/1824-eliot "View Eliot's Profile")**
- [![Eliot's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar1824.png)](/forum/user/1824-eliot "View Eliot's Profile")
- [ Offline](/forum/user/1824-eliot)

Less More

- Posts: 2334
- Thank you received: 403
-
-

14 years 2 months ago [\#64282](#64282) by [Eliot](/forum/user/1824-eliot "View Eliot's Profile")  Replied by *[Eliot](/forum/user/1824-eliot "View Eliot's Profile")* on topic *[Re: Removing coupon displays invalid message](/forum/3-bug-report/63887-removing-coupon-displays-invalid-message#64282 "During checkout, deleting a coupon displays two messages, one expected, one apparently in error:  • Please create or select an address • Coupon removed  ...even though there is an address selected.")*

Indeed it was a bug in Hikashop. To fix it, edit the checkout.php file in the folder components\com_hikashop\controllers and replace this line (in the after_address function, line 603):
Code:

if(!$this-&gt;cart_update){

By this one:
Code:

if(!$this-&gt;cart_update &amp;&amp; !JRequest::getInt('removecoupon',0)){

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

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

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