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

#   wishlist question

##

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

Less More

- Posts: 424
- Thank you received: 11
-
-

10 years 1 week ago [\#253499](#253499) by [BluepointWebdesign](/forum/user/34929-bluepointwebdesign "View BluepointWebdesign's Profile")  *[wishlist question](/forum/2-general-talk-about-hikashop/887137-wishlist-question#253499 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.2 -- PHP version -- : 5.6.x -- Error-message(debug-mod must be tuned on) -- : no error  Hello,  I have specific question about the use of the wishlist. At this moment on the site we are building customers can login and see there wishlist. But many products have multiple options in it. Is it possible for the customer to alter there product in the wishlist and not get another (same) product with different options in the wishlist. That is what is happening now. Hope u understand? so resume. Product A (has 3 options) -&gt; customer set it in wishlist -&gt; when customer logs in and want the product A which is in the wishlist altered he clicks on Product A and change the 3 options -&gt; then we still only need Product A as 1 product in the wishlist. How can we do this??  Thanks.")* was created by *[BluepointWebdesign](/forum/user/34929-bluepointwebdesign "View BluepointWebdesign's Profile")*

-- HikaShop version -- : 2.6.4
-- Joomla version -- : 3.6.2
-- PHP version -- : 5.6.x
-- Error-message(debug-mod must be tuned on) -- : no error

Hello,

I have specific question about the use of the wishlist. At this moment on the site we are building customers can login and see there wishlist. But many products have multiple options in it. Is it possible for the customer to alter there product in the wishlist and not get another (same) product with different options in the wishlist.
That is what is happening now.
Hope u understand? so resume. Product A (has 3 options) -&gt; customer set it in wishlist -&gt; when customer logs in and want the product A which is in the wishlist altered he clicks on Product A and change the 3 options -&gt; then we still only need Product A as 1 product in the wishlist.
How can we do this??

Thanks.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg4NzEzNy13aXNobGlzdC1xdWVzdGlvbj90bXBsPW1hcmtkb3du) or [Create an account](/register) 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: 86322
- Thank you received: 14281
-
-

10 years 1 week ago [\#253500](#253500) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[wishlist question](/forum/2-general-talk-about-hikashop/887137-wishlist-question#253500 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.2 -- PHP version -- : 5.6.x -- Error-message(debug-mod must be tuned on) -- : no error  Hello,  I have specific question about the use of the wishlist. At this moment on the site we are building customers can login and see there wishlist. But many products have multiple options in it. Is it possible for the customer to alter there product in the wishlist and not get another (same) product with different options in the wishlist. That is what is happening now. Hope u understand? so resume. Product A (has 3 options) -&gt; customer set it in wishlist -&gt; when customer logs in and want the product A which is in the wishlist altered he clicks on Product A and change the 3 options -&gt; then we still only need Product A as 1 product in the wishlist. How can we do this??  Thanks.")*

Hi,

There is no system to do that.
With a custom plugin, you could implement the cart API to handle that but it's not easy:
[ www.hikashop.com/support/documentation/6...umentation.html#cart](https://www.hikashop.com/support/documentation/62-hikashop-developer-documentation.html#cart)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg4NzEzNy13aXNobGlzdC1xdWVzdGlvbj90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 424
- Thank you received: 11
-
-

10 years 1 week ago [\#253571](#253571) by [BluepointWebdesign](/forum/user/34929-bluepointwebdesign "View BluepointWebdesign's Profile")  Replied by *[BluepointWebdesign](/forum/user/34929-bluepointwebdesign "View BluepointWebdesign's Profile")* on topic *[wishlist question](/forum/2-general-talk-about-hikashop/887137-wishlist-question#253571 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.2 -- PHP version -- : 5.6.x -- Error-message(debug-mod must be tuned on) -- : no error  Hello,  I have specific question about the use of the wishlist. At this moment on the site we are building customers can login and see there wishlist. But many products have multiple options in it. Is it possible for the customer to alter there product in the wishlist and not get another (same) product with different options in the wishlist. That is what is happening now. Hope u understand? so resume. Product A (has 3 options) -&gt; customer set it in wishlist -&gt; when customer logs in and want the product A which is in the wishlist altered he clicks on Product A and change the 3 options -&gt; then we still only need Product A as 1 product in the wishlist. How can we do this??  Thanks.")*

to bad that there's no option to that.. i found on a wp woocommerce website the following see attachment. They have the option in the cart to change the options of the product in the cart. This is what we like to have but then for the wishlist. is this only possible with a custom plugin you suggested?
We probably also like to have such an option in the cart itself.
Hope you can help.
In mean time i will try and get the custom plugin made.

Thanks

- [ ![screenshot-www.alleencrematies.nl2016-10-2611-06-06.png](/forum/attachment/34234) ](/forum/attachment/34234 "...2611-06-06.png") [ ](/forum/attachment/34234?download=1 "...2611-06-06.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg4NzEzNy13aXNobGlzdC1xdWVzdGlvbj90bXBsPW1hcmtkb3du) or [Create an account](/register) 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: 86322
- Thank you received: 14281
-
-

10 years 1 week ago [\#253574](#253574) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[wishlist question](/forum/2-general-talk-about-hikashop/887137-wishlist-question#253574 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.2 -- PHP version -- : 5.6.x -- Error-message(debug-mod must be tuned on) -- : no error  Hello,  I have specific question about the use of the wishlist. At this moment on the site we are building customers can login and see there wishlist. But many products have multiple options in it. Is it possible for the customer to alter there product in the wishlist and not get another (same) product with different options in the wishlist. That is what is happening now. Hope u understand? so resume. Product A (has 3 options) -&gt; customer set it in wishlist -&gt; when customer logs in and want the product A which is in the wishlist altered he clicks on Product A and change the 3 options -&gt; then we still only need Product A as 1 product in the wishlist. How can we do this??  Thanks.")*

Hi,

Yes. A custom plugin and/or a view override. But in any case, it will require the help of a developer to implement that.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg4NzEzNy13aXNobGlzdC1xdWVzdGlvbj90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 424
- Thank you received: 11
-
-

10 years 1 week ago [\#253677](#253677) by [BluepointWebdesign](/forum/user/34929-bluepointwebdesign "View BluepointWebdesign's Profile")  Replied by *[BluepointWebdesign](/forum/user/34929-bluepointwebdesign "View BluepointWebdesign's Profile")* on topic *[wishlist question](/forum/2-general-talk-about-hikashop/887137-wishlist-question#253677 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.2 -- PHP version -- : 5.6.x -- Error-message(debug-mod must be tuned on) -- : no error  Hello,  I have specific question about the use of the wishlist. At this moment on the site we are building customers can login and see there wishlist. But many products have multiple options in it. Is it possible for the customer to alter there product in the wishlist and not get another (same) product with different options in the wishlist. That is what is happening now. Hope u understand? so resume. Product A (has 3 options) -&gt; customer set it in wishlist -&gt; when customer logs in and want the product A which is in the wishlist altered he clicks on Product A and change the 3 options -&gt; then we still only need Product A as 1 product in the wishlist. How can we do this??  Thanks.")*

Nicolas,

I am searching the hikashop files but i can not find the right php file for the wishlist or the plugin? where can i find the code that make the wishlist as it is now?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg4NzEzNy13aXNobGlzdC1xdWVzdGlvbj90bXBsPW1hcmtkb3du) or [Create an account](/register) 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: 86322
- Thank you received: 14281
-
-

10 years 1 week ago [\#253686](#253686) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[wishlist question](/forum/2-general-talk-about-hikashop/887137-wishlist-question#253686 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.2 -- PHP version -- : 5.6.x -- Error-message(debug-mod must be tuned on) -- : no error  Hello,  I have specific question about the use of the wishlist. At this moment on the site we are building customers can login and see there wishlist. But many products have multiple options in it. Is it possible for the customer to alter there product in the wishlist and not get another (same) product with different options in the wishlist. That is what is happening now. Hope u understand? so resume. Product A (has 3 options) -&gt; customer set it in wishlist -&gt; when customer logs in and want the product A which is in the wishlist altered he clicks on Product A and change the 3 options -&gt; then we still only need Product A as 1 product in the wishlist. How can we do this??  Thanks.")*

Hi,

For the wishlist manager, it's the file "showcart" of the view "cart" that you can edit.
For the plugin, you would have to create a new one. Our developer documentation has a link which explains how to create plugins:
[ www.hikashop.com/support/documentation/6...mentation.html#intro](https://www.hikashop.com/support/documentation/62-hikashop-developer-documentation.html#intro)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg4NzEzNy13aXNobGlzdC1xdWVzdGlvbj90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 424
- Thank you received: 11
-
-

10 years 1 day ago [\#254267](#254267) by [BluepointWebdesign](/forum/user/34929-bluepointwebdesign "View BluepointWebdesign's Profile")  Replied by *[BluepointWebdesign](/forum/user/34929-bluepointwebdesign "View BluepointWebdesign's Profile")* on topic *[wishlist question](/forum/2-general-talk-about-hikashop/887137-wishlist-question#254267 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.2 -- PHP version -- : 5.6.x -- Error-message(debug-mod must be tuned on) -- : no error  Hello,  I have specific question about the use of the wishlist. At this moment on the site we are building customers can login and see there wishlist. But many products have multiple options in it. Is it possible for the customer to alter there product in the wishlist and not get another (same) product with different options in the wishlist. That is what is happening now. Hope u understand? so resume. Product A (has 3 options) -&gt; customer set it in wishlist -&gt; when customer logs in and want the product A which is in the wishlist altered he clicks on Product A and change the 3 options -&gt; then we still only need Product A as 1 product in the wishlist. How can we do this??  Thanks.")*

Hello Nicolas,

We are busy getting a button to modify the button in the shopping cart and as wel as in the wishlist. The wishlist is working now. but for the cart we have one question. We now have a button which will get us into the product page with the previous selected options. But only one of this product is allowed for the cart. So we had to make a clear cart button as well in this page, then it works. But for the customer it is not a nice way to modify the product with options. So we are struggling with the following. we want the modify button to do 2 things clearing the cart and going to the product page to modify the chosen product.

What is needed that may work is to clear the cart with ajax call
But this is out of my hikashop knowledge or there isn't much documentation I could find
So with ajax the page should not refresh but the cart cleared
Similar to when we add something to the cart
But without the popup box showing
This is how we clear Cart:
&lt;?php
$clear_url=hikashop::completeLink('product&amp;task=cleancart',false,true);
echo $this-&gt;cart-&gt;displayButton('Clear Cart First','clearcart',$this-&gt;params, $clear_url,'window.parent.location=\''.$clear_url.'\'; return false;');
?&gt;
If this can be done in ajax maybe we can make possible clicking on one button, clear cart and add the items in cart after
Executing the script above reloads the page and breaks out our script

Do you know how we can clear the cart in ajax??

Thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg4NzEzNy13aXNobGlzdC1xdWVzdGlvbj90bXBsPW1hcmtkb3du) or [Create an account](/register) 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: 86322
- Thank you received: 14281
-
-

10 years 23 hours ago [\#254270](#254270) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[wishlist question](/forum/2-general-talk-about-hikashop/887137-wishlist-question#254270 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.2 -- PHP version -- : 5.6.x -- Error-message(debug-mod must be tuned on) -- : no error  Hello,  I have specific question about the use of the wishlist. At this moment on the site we are building customers can login and see there wishlist. But many products have multiple options in it. Is it possible for the customer to alter there product in the wishlist and not get another (same) product with different options in the wishlist. That is what is happening now. Hope u understand? so resume. Product A (has 3 options) -&gt; customer set it in wishlist -&gt; when customer logs in and want the product A which is in the wishlist altered he clicks on Product A and change the 3 options -&gt; then we still only need Product A as 1 product in the wishlist. How can we do this??  Thanks.")*

Hi,

If you look at the code you pasted, when you click on the that clear cart button, what it does is that it redirects to the URL in $clear_url which clear the cart.
So if you want to do it in ajax, just call that $clear_url URL with some javascript.
For example, if you have jQuery on the page, you can do it like that: Code:

jQuery.ajax('http://mywebsite.com/index.php?option=com_hikashop&amp;ctrl=product&amp;task=cleancart&amp;tmpl=component');

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg4NzEzNy13aXNobGlzdC1xdWVzdGlvbj90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 424
- Thank you received: 11
-
-

9 years 11 months ago [\#255255](#255255) by [BluepointWebdesign](/forum/user/34929-bluepointwebdesign "View BluepointWebdesign's Profile")  Replied by *[BluepointWebdesign](/forum/user/34929-bluepointwebdesign "View BluepointWebdesign's Profile")* on topic *[wishlist question](/forum/2-general-talk-about-hikashop/887137-wishlist-question#255255 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.2 -- PHP version -- : 5.6.x -- Error-message(debug-mod must be tuned on) -- : no error  Hello,  I have specific question about the use of the wishlist. At this moment on the site we are building customers can login and see there wishlist. But many products have multiple options in it. Is it possible for the customer to alter there product in the wishlist and not get another (same) product with different options in the wishlist. That is what is happening now. Hope u understand? so resume. Product A (has 3 options) -&gt; customer set it in wishlist -&gt; when customer logs in and want the product A which is in the wishlist altered he clicks on Product A and change the 3 options -&gt; then we still only need Product A as 1 product in the wishlist. How can we do this??  Thanks.")*

Thanks it helped a lot.. we now managed the button. it is working.. but to make the whole more complete i would like to change the name: Add to cart only in the product view. the show_default.php how can i manage that? because when i change it in the quantity.php it all will be changed. only the name? not the function of the add to wishlist button.
Thanks.  [ ![screenshot-hieruwuitvaartincunopranl2016-11-1510-18-23.png](/forum/attachment/34631) ](/forum/attachment/34631 "...1510-18-23.png")

[ ![screenshot-hieruwuitvaartincunopranl2016-11-1510-18-23.png](/forum/attachment/34631) ](/forum/attachment/34631 "...1510-18-23.png")

- [ ![screenshot-hieruwuitvaartincunopranl2016-11-1510-18-23.png](/forum/attachment/34631) ](/forum/attachment/34631 "...1510-18-23.png") [ ](/forum/attachment/34631?download=1 "...1510-18-23.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg4NzEzNy13aXNobGlzdC1xdWVzdGlvbj90bXBsPW1hcmtkb3du) or [Create an account](/register) 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: 86322
- Thank you received: 14281
-
-

9 years 11 months ago [\#255281](#255281) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[wishlist question](/forum/2-general-talk-about-hikashop/887137-wishlist-question#255281 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.2 -- PHP version -- : 5.6.x -- Error-message(debug-mod must be tuned on) -- : no error  Hello,  I have specific question about the use of the wishlist. At this moment on the site we are building customers can login and see there wishlist. But many products have multiple options in it. Is it possible for the customer to alter there product in the wishlist and not get another (same) product with different options in the wishlist. That is what is happening now. Hope u understand? so resume. Product A (has 3 options) -&gt; customer set it in wishlist -&gt; when customer logs in and want the product A which is in the wishlist altered he clicks on Product A and change the 3 options -&gt; then we still only need Product A as 1 product in the wishlist. How can we do this??  Thanks.")*

Hi,

Then you indeed need to edit the file quantity.
What you can do is something like that: Code:

if(!empty($this-&gt;element-&gt;product_id)){ $button_name = 'name on product page'; }else{ $button_name = 'name elsewhere'; }

and then use $button_name where you have the call to the displayButton function.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg4NzEzNy13aXNobGlzdC1xdWVzdGlvbj90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 424
- Thank you received: 11
-
-

9 years 11 months ago [\#255345](#255345) by [BluepointWebdesign](/forum/user/34929-bluepointwebdesign "View BluepointWebdesign's Profile")  Replied by *[BluepointWebdesign](/forum/user/34929-bluepointwebdesign "View BluepointWebdesign's Profile")* on topic *[wishlist question](/forum/2-general-talk-about-hikashop/887137-wishlist-question#255345 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.2 -- PHP version -- : 5.6.x -- Error-message(debug-mod must be tuned on) -- : no error  Hello,  I have specific question about the use of the wishlist. At this moment on the site we are building customers can login and see there wishlist. But many products have multiple options in it. Is it possible for the customer to alter there product in the wishlist and not get another (same) product with different options in the wishlist. That is what is happening now. Hope u understand? so resume. Product A (has 3 options) -&gt; customer set it in wishlist -&gt; when customer logs in and want the product A which is in the wishlist altered he clicks on Product A and change the 3 options -&gt; then we still only need Product A as 1 product in the wishlist. How can we do this??  Thanks.")*

A little help please a bit strugling ![:)](/media/kunena/emoticons/3.png ":)")
Where in the quantity file should i put this? or something like you put on below. And how can i call on this button in the default_show php
This is what calls on the button add to cart as far as i see
&lt;div id="hikashop_product_quantity_main" class="hikashop_product_quantity_main"&gt;
&lt;?php
$this-&gt;row = &amp; $this-&gt;element;
$this-&gt;ajax = 'if(hikashopCheckChangeForm(\'item\',\'hikashop_product_form\')){ return hikashopModifyQuantity(\'' . $this-&gt;row-&gt;product_id . '\',field,1' . $form . ',\'cart\'); } else { return false; }';
$this-&gt;setLayout('quantity');
echo $this-&gt;loadTemplate();
?&gt;
&lt;/div&gt;

So how where is the call to the display button? in this one?

Thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg4NzEzNy13aXNobGlzdC1xdWVzdGlvbj90bXBsPW1hcmtkb3du) or [Create an account](/register) 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: 86322
- Thank you received: 14281
-
-

9 years 11 months ago [\#255386](#255386) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[wishlist question](/forum/2-general-talk-about-hikashop/887137-wishlist-question#255386 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.2 -- PHP version -- : 5.6.x -- Error-message(debug-mod must be tuned on) -- : no error  Hello,  I have specific question about the use of the wishlist. At this moment on the site we are building customers can login and see there wishlist. But many products have multiple options in it. Is it possible for the customer to alter there product in the wishlist and not get another (same) product with different options in the wishlist. That is what is happening now. Hope u understand? so resume. Product A (has 3 options) -&gt; customer set it in wishlist -&gt; when customer logs in and want the product A which is in the wishlist altered he clicks on Product A and change the 3 options -&gt; then we still only need Product A as 1 product in the wishlist. How can we do this??  Thanks.")*

Hi,

Please reread my message. You have to do that in the file "quantity". There is nothing to change in show_default...
And if you search for "displayButton" in the quantity view file, you'll find several ocurrences of that so you can just add the if/else before each one.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg4NzEzNy13aXNobGlzdC1xdWVzdGlvbj90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 424
- Thank you received: 11
-
-

9 years 11 months ago [\#255746](#255746) by [BluepointWebdesign](/forum/user/34929-bluepointwebdesign "View BluepointWebdesign's Profile")  Replied by *[BluepointWebdesign](/forum/user/34929-bluepointwebdesign "View BluepointWebdesign's Profile")* on topic *[wishlist question](/forum/2-general-talk-about-hikashop/887137-wishlist-question#255746 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.2 -- PHP version -- : 5.6.x -- Error-message(debug-mod must be tuned on) -- : no error  Hello,  I have specific question about the use of the wishlist. At this moment on the site we are building customers can login and see there wishlist. But many products have multiple options in it. Is it possible for the customer to alter there product in the wishlist and not get another (same) product with different options in the wishlist. That is what is happening now. Hope u understand? so resume. Product A (has 3 options) -&gt; customer set it in wishlist -&gt; when customer logs in and want the product A which is in the wishlist altered he clicks on Product A and change the 3 options -&gt; then we still only need Product A as 1 product in the wishlist. How can we do this??  Thanks.")*

Hello,

Still a little struggling with changing the name, but is not a real priority at the moment.
But i have another question, when i am in my wishlist and click on add to cart button, the item goes into the cart, but you stay on the wishlist page how can i change it that when clicking on add to cart in the wishlist you directly go to the checkout / cart.
thanks.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg4NzEzNy13aXNobGlzdC1xdWVzdGlvbj90bXBsPW1hcmtkb3du) or [Create an account](/register) 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: 86322
- Thank you received: 14281
-
-

9 years 11 months ago [\#255749](#255749) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[wishlist question](/forum/2-general-talk-about-hikashop/887137-wishlist-question#255749 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.2 -- PHP version -- : 5.6.x -- Error-message(debug-mod must be tuned on) -- : no error  Hello,  I have specific question about the use of the wishlist. At this moment on the site we are building customers can login and see there wishlist. But many products have multiple options in it. Is it possible for the customer to alter there product in the wishlist and not get another (same) product with different options in the wishlist. That is what is happening now. Hope u understand? so resume. Product A (has 3 options) -&gt; customer set it in wishlist -&gt; when customer logs in and want the product A which is in the wishlist altered he clicks on Product A and change the 3 options -&gt; then we still only need Product A as 1 product in the wishlist. How can we do this??  Thanks.")*

Hi,

You would have to edit the function addtocart of the file components/com_hikashop/controllers/cart.php to change the redirection URL at the end of the function.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg4NzEzNy13aXNobGlzdC1xdWVzdGlvbj90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 424
- Thank you received: 11
-
-

9 years 8 months ago [\#263472](#263472) by [BluepointWebdesign](/forum/user/34929-bluepointwebdesign "View BluepointWebdesign's Profile")  Replied by *[BluepointWebdesign](/forum/user/34929-bluepointwebdesign "View BluepointWebdesign's Profile")* on topic *[wishlist question](/forum/2-general-talk-about-hikashop/887137-wishlist-question#263472 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.2 -- PHP version -- : 5.6.x -- Error-message(debug-mod must be tuned on) -- : no error  Hello,  I have specific question about the use of the wishlist. At this moment on the site we are building customers can login and see there wishlist. But many products have multiple options in it. Is it possible for the customer to alter there product in the wishlist and not get another (same) product with different options in the wishlist. That is what is happening now. Hope u understand? so resume. Product A (has 3 options) -&gt; customer set it in wishlist -&gt; when customer logs in and want the product A which is in the wishlist altered he clicks on Product A and change the 3 options -&gt; then we still only need Product A as 1 product in the wishlist. How can we do this??  Thanks.")*

hello there again
on this same topic. the button to modify the product is working and we managed to get the cart empty so there will be only 1 product after modifying a product .. with this peace of code in the show default. is there als a same way to only delete a single product with this?? instead of emptying the whole cart? Hope you can help.

&lt;/span&gt;
&lt;?php
$clear_url=hikashop::completeLink('product&amp;task=cleancart',false,true);
//echo $this-&gt;cart-&gt;displayButton('Clear Cart First','clearcart',$this-&gt;params, $clear_url,'window.parent.location=\''.$clear_url.'\'; return false;');
?&gt;

&lt;?php if (empty($_GET)){ ?&gt;

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg4NzEzNy13aXNobGlzdC1xdWVzdGlvbj90bXBsPW1hcmtkb3du) or [Create an account](/register) 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: 86322
- Thank you received: 14281
-
-

9 years 8 months ago [\#263489](#263489) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[wishlist question](/forum/2-general-talk-about-hikashop/887137-wishlist-question#263489 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.2 -- PHP version -- : 5.6.x -- Error-message(debug-mod must be tuned on) -- : no error  Hello,  I have specific question about the use of the wishlist. At this moment on the site we are building customers can login and see there wishlist. But many products have multiple options in it. Is it possible for the customer to alter there product in the wishlist and not get another (same) product with different options in the wishlist. That is what is happening now. Hope u understand? so resume. Product A (has 3 options) -&gt; customer set it in wishlist -&gt; when customer logs in and want the product A which is in the wishlist altered he clicks on Product A and change the 3 options -&gt; then we still only need Product A as 1 product in the wishlist. How can we do this??  Thanks.")*

Hi,

You would have to change the URL.
So instead of :
$clear_url=hikashop::completeLink('product&amp;task=cleancart',false,true);
you would have something like that: Code:

$clear_url=hikashop::completeLink('product&amp;task=updatecart&amp;cart_id=XXX&amp;cart_type=YYY&amp;item[AAA]=BBB,false,true);

where XXX is the id of the cart/wishlist, YYY is either "cart" or "wishlist", AAA is the id of the product in the cart (the value cart_product_id from the hikashop_cart_product table) and BBB is the quantity you want in the cart/wishlist, so 0 if you want to remove it.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg4NzEzNy13aXNobGlzdC1xdWVzdGlvbj90bXBsPW1hcmtkb3du) or [Create an account](/register) 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.093 seconds

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