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

#   Popup - Same message for adding/deleting items

##

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

Less More

- Posts: 2
- Thank you received: 0
-
-

14 years 3 months ago [\#59022](#59022) by [roctx](/forum/user/8362-roctx "View roctx's Profile")  *[Popup - Same message for adding/deleting items](/forum/3-bug-report/59022-popup-same-message-for-adding-deleting-items#59022 "Just installed HikaShop this week (free version). So far so good. One item I came across is the Ajax popup when adding an item to the cart - works great - I get the message &quot;Product successfully added to the cart&quot;.  However, when deleting items from the cart (in the module NOT the checkout) I get the same popup message: &quot;Product successfully added to the cart&quot;.  How/Where/What file can I fix that in? Also, what line do I change to change the color of the popup?  Thank you, RocTx")* was created by *[roctx](/forum/user/8362-roctx "View roctx's Profile")*

Just installed HikaShop this week (free version). So far so good. One item I came across is the Ajax popup when adding an item to the cart - works great - I get the message "Product successfully added to the cart".

However, when deleting items from the cart (in the module NOT the checkout) I get the same popup message: "Product successfully added to the cart".

How/Where/What file can I fix that in? Also, what line do I change to change the color of the popup?

Thank you,
RocTx

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC81OTAyMi1wb3B1cC1zYW1lLW1lc3NhZ2UtZm9yLWFkZGluZy1kZWxldGluZy1pdGVtcz90bXBsPW1hcmtkb3du) 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 3 months ago [\#59085](#59085) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Popup - Same message for adding/deleting items](/forum/3-bug-report/59022-popup-same-message-for-adding-deleting-items#59085 "Just installed HikaShop this week (free version). So far so good. One item I came across is the Ajax popup when adding an item to the cart - works great - I get the message &quot;Product successfully added to the cart&quot;.  However, when deleting items from the cart (in the module NOT the checkout) I get the same popup message: &quot;Product successfully added to the cart&quot;.  How/Where/What file can I fix that in? Also, what line do I change to change the color of the popup?  Thank you, RocTx")*

No one had such problem so far.
Could you give a link to your shop so that we can see that ?
It will also help to see which color you're talking about.

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

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

Less More

- Posts: 2
- Thank you received: 0
-
-

14 years 3 months ago [\#59087](#59087) by [roctx](/forum/user/8362-roctx "View roctx's Profile")  Replied by *[roctx](/forum/user/8362-roctx "View roctx's Profile")* on topic *[Re: Popup - Same message for adding/deleting items](/forum/3-bug-report/59022-popup-same-message-for-adding-deleting-items#59087 "Just installed HikaShop this week (free version). So far so good. One item I came across is the Ajax popup when adding an item to the cart - works great - I get the message &quot;Product successfully added to the cart&quot;.  However, when deleting items from the cart (in the module NOT the checkout) I get the same popup message: &quot;Product successfully added to the cart&quot;.  How/Where/What file can I fix that in? Also, what line do I change to change the color of the popup?  Thank you, RocTx")*

I figured out the color issue. Found some mention of it in the forums.
However, the issue with the same message for adding and deleting items in the cart still remains.

Site: [ mybackup.serveftp.net/tlh](http://mybackup.serveftp.net/tlh)

1) Add any item to the cart and the popup message displays as it should.

2) Delete the items from the cart and the popup message comes up, but displays the wrong message (same as add).

Thank you for your response and a great extension. I hope to get the Business version once it goes live.

RocTx

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC81OTAyMi1wb3B1cC1zYW1lLW1lc3NhZ2UtZm9yLWFkZGluZy1kZWxldGluZy1pdGVtcz90bXBsPW1hcmtkb3du) 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 3 months ago [\#59163](#59163) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Popup - Same message for adding/deleting items](/forum/3-bug-report/59022-popup-same-message-for-adding-deleting-items#59163 "Just installed HikaShop this week (free version). So far so good. One item I came across is the Ajax popup when adding an item to the cart - works great - I get the message &quot;Product successfully added to the cart&quot;.  However, when deleting items from the cart (in the module NOT the checkout) I get the same popup message: &quot;Product successfully added to the cart&quot;.  How/Where/What file can I fix that in? Also, what line do I change to change the color of the popup?  Thank you, RocTx")*

Change the line:
return (hikashop_isSSL() ? 'https://' : 'http://').$_SERVER["HTTP_HOST"].$requestUri;

to:
return (hikashop_isSSL() ? 'https://' : 'http://').$_SERVER["HTTP_HOST"].str_replace(array('?popup=1','&amp;popup=1','/popup-1'),array('?','',''),$requestUri);

in the file administrator/components/com_hikashop/helpers/helper.php and that should fix the problem.

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

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