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

#   Problems with internal product search

##

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

Less More

- Posts: 128
- Thank you received: 0
-
-

11 years 1 week ago [\#219216](#219216) by [sergiobertini](/forum/user/31369-sergiobertini "View sergiobertini's Profile")  Replied by *[sergiobertini](/forum/user/31369-sergiobertini "View sergiobertini's Profile")* on topic *[Problems with internal product search](/forum/3-bug-report/879899-problems-with-internal-product-search?start=20#219216 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.3 -- PHP version -- : 5.4  I have a critical problem in the administration of the wishlist. I Access Components&gt; Hikashop. On the next screen, I go: Clients&gt; Wishlist. Well, on registration of a new wishlist is where the problem occurs. Eu clico em: &quot;Adicionar um produto existente&quot;. Search the product, select and insert. By repeating the process to insert another product from the list, it automatically deletes the first product that I inserted! The system is excluding registered products before, every new search for product! That's wrong! It is wise to search I insert a product, do the search again and he added the new product!  Please help me!!!")*

1) OK I'll check in my translation file!

2) The problem occurs in both (Administration and website);
I have a replacement seen in "cart / Showcart" but it is needed. Follows the topic link
[ hikashop.com/forum/wishlist/873962-new-p...shlist.html?start=20](http://hikashop.com/forum/wishlist/873962-new-problems-with-the-wishlist.html?start=20)

Always logged in!!!

Help me!!!

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

11 years 1 week ago [\#219236](#219236) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Problems with internal product search](/forum/3-bug-report/879899-problems-with-internal-product-search?start=20#219236 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.3 -- PHP version -- : 5.4  I have a critical problem in the administration of the wishlist. I Access Components&gt; Hikashop. On the next screen, I go: Clients&gt; Wishlist. Well, on registration of a new wishlist is where the problem occurs. Eu clico em: &quot;Adicionar um produto existente&quot;. Search the product, select and insert. By repeating the process to insert another product from the list, it automatically deletes the first product that I inserted! The system is excluding registered products before, every new search for product! That's wrong! It is wise to search I insert a product, do the search again and he added the new product!  Please help me!!!")*

Hi,

2/ In your case, the wishlists can be seen by everybody, right ?
But only the wishlist owner can edit the wishlist name, I think that your issue is coming from there.
If the wishlist owner edit the name, is that working ? We have checks by default to not allow anybody to edit the wishlist of another customer. So you will maybe have to add some code to allow modification of the name by anybody.

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

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

Less More

- Posts: 128
- Thank you received: 0
-
-

11 years 1 week ago [\#219304](#219304) by [sergiobertini](/forum/user/31369-sergiobertini "View sergiobertini's Profile")  Replied by *[sergiobertini](/forum/user/31369-sergiobertini "View sergiobertini's Profile")* on topic *[Problems with internal product search](/forum/3-bug-report/879899-problems-with-internal-product-search?start=20#219304 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.3 -- PHP version -- : 5.4  I have a critical problem in the administration of the wishlist. I Access Components&gt; Hikashop. On the next screen, I go: Clients&gt; Wishlist. Well, on registration of a new wishlist is where the problem occurs. Eu clico em: &quot;Adicionar um produto existente&quot;. Search the product, select and insert. By repeating the process to insert another product from the list, it automatically deletes the first product that I inserted! The system is excluding registered products before, every new search for product! That's wrong! It is wise to search I insert a product, do the search again and he added the new product!  Please help me!!!")*

So in my case it is necessary to display all the lists registered. For non-registered users can view them.
Before I upgrade to version 2.6.0 this problem did not occur!

Help me!!!

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

11 years 1 week ago [\#219342](#219342) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Problems with internal product search](/forum/3-bug-report/879899-problems-with-internal-product-search?start=20#219342 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.3 -- PHP version -- : 5.4  I have a critical problem in the administration of the wishlist. I Access Components&gt; Hikashop. On the next screen, I go: Clients&gt; Wishlist. Well, on registration of a new wishlist is where the problem occurs. Eu clico em: &quot;Adicionar um produto existente&quot;. Search the product, select and insert. By repeating the process to insert another product from the list, it automatically deletes the first product that I inserted! The system is excluding registered products before, every new search for product! That's wrong! It is wise to search I insert a product, do the search again and he added the new product!  Please help me!!!")*

Hi,

I just read again your message and as the problem is present in backend too, so this is another thing
Please give us a backend and FTP access to your website, we will debug it directly.

You can send the informations via our contact form (with a link to that topic in the message).
[ www.hikashop.com/support/contact-us.html](http://www.hikashop.com/support/contact-us.html)

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

11 years 1 week ago [\#219487](#219487) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Problems with internal product search](/forum/3-bug-report/879899-problems-with-internal-product-search?start=20#219487 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.3 -- PHP version -- : 5.4  I have a critical problem in the administration of the wishlist. I Access Components&gt; Hikashop. On the next screen, I go: Clients&gt; Wishlist. Well, on registration of a new wishlist is where the problem occurs. Eu clico em: &quot;Adicionar um produto existente&quot;. Search the product, select and insert. By repeating the process to insert another product from the list, it automatically deletes the first product that I inserted! The system is excluding registered products before, every new search for product! That's wrong! It is wise to search I insert a product, do the search again and he added the new product!  Please help me!!!")*

Hi,

Please replace the function "save()" in administrator/components/com_hikashop/classes/cart.php by this code: Code:

function save(&amp;$cart) { $app = JFactory::getApplication(); $currUser = hikashop_loadUser(true); $user = JFactory::getUser(); $session = JFactory::getSession(); if($app-&gt;isAdmin()) { if(isset($cart-&gt;cart_name)) $cart-&gt;cart_name = strip_tags($cart-&gt;cart_name); if(isset($cart-&gt;user_id)) $cart-&gt;user_id = (int)$cart-&gt;user_id; if(isset($cart-&gt;cart_type)) $cart-&gt;cart_type = strip_tags($cart-&gt;cart_type); $cart_id = parent::save($cart); } else if(!isset($cart-&gt;user_id) &#124;&#124; !$app-&gt;isAdmin() &#124;&#124; $currUser-&gt;user_cms_id == $cart-&gt;user_id &#124;&#124; (isset($cart-&gt;session_id) &amp;&amp; $session-&gt;getId() == $cart-&gt;session_id)) { if(isset($cart-&gt;cart_name)) $cart-&gt;cart_name = strip_tags($cart-&gt;cart_name); if(isset($cart-&gt;cart_share)) $cart-&gt;cart_share = strip_tags($cart-&gt;cart_share); if(isset($cart-&gt;cart_type)) $cart-&gt;cart_type = strip_tags($cart-&gt;cart_type); if(!empty($cart-&gt;cart_params) &amp;&amp; !is_string($cart-&gt;cart_params)) $cart-&gt;cart_params = json_encode($cart-&gt;cart_params); if(!isset($cart-&gt;user_id) &amp;&amp; empty($cart-&gt;cart_name)) $cart-&gt;cart_name = ''; if(!isset($cart-&gt;cart_id) &amp;&amp; empty($cart-&gt;cart_coupon)) $cart-&gt;cart_coupon = ''; $cart_id = parent::save($cart); } else { $cart_id = $cart-&gt;cart_id; } return $cart_id; }

This will solve the backend issue, for the frontend the multi cart mode was disabled, that's why there was restrictions on the carts, so I enabled it and now the name can be set on frontend.

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

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