Questions tagged [wishlist]

Denotes questions related to Wishlist

Filter by
Sorted by
Tagged with
5 votes
1 answer
513 views

Magento2 : Remove disabled product from wishlist

I need to remove all the disabled products from wishlist and for this I write a product status check in Magento_Wishlist/templates/item/list.phtml like this: if($product->getStatus() == \Magento\...
1 vote
0 answers
364 views

How to share wishlist email from a custom module in Magento2.2.5?

I have created a custom module for wishlist, and I need to share email from wishlist which include multiple products in Magento2.2.5? My Code: <?php namespace Emipro\GuestWishlist\Controller\...
  • 935
0 votes
2 answers
237 views

Magento 2 - Compare & Wishlist hide when inactive [duplicate]

Is there a way to hide the Compare and Wishlist blocks on the front-end (in the navigation) when they are not in use?
0 votes
2 answers
399 views

Add active class when product is in wishlist at category page

I'm trying to add an active class when product is in wishlist. I tried below code. <?php echo $_product->getId(); $wishlist = $this->helper('Magento\Wishlist\Helper\Data')->...
  • 3,714
2 votes
0 answers
196 views

Get and Add like(Favourite or Unfavourite) product in Magento 2 Rest API With URL?

Get Favourite product in Magento 2 REST API with URL? And Add to Favourite in Magento 2 REST API with URL?
2 votes
0 answers
51 views

How to show only first 3 products in whislist

I am showing wishlist in my cart page. But I want to show only first 3 wishlist product in my cart page in Magento 2
1 vote
0 answers
138 views

After Social login,product is not adding to wishlist niether not redirecting to wishlist page

I am facing issue adding product in wishlist (magento version 2.2.3). Here is scenario, Step 1 :- Make sure customer not logged in. Step 2 :- Go to product list page and click "Add to wishlist" ...
1 vote
1 answer
587 views

Magento 2 Wishlist product add not working when user should in before login

I am facing issue adding product in wishlist (magento version 2.2.3). Here is scenario, Step 1 :- Make sure customer not logged in. Step 2 :- Go to product list page and click "Add to wishlist" ...
1 vote
1 answer
247 views

magento 2 getting product data from wishlist

Coming in to trouble while getting correct data from my wishlist: /** @var \Magento\Wishlist\Model\Wishlist $_wishlist @var \Magento\Customer\Model\Session $_customerSession */ $...
0 votes
1 answer
88 views

why my Wishlist showing only one product

In my Magento store when I add a product into wishlist it will replace the old product and add a new one. I don't know why this is happening. I have checked all core files in my project. can anyone ...
1 vote
1 answer
271 views

Create a Empty Wish-list Button in magento 1.9

i want to create a empty wishlist button in wishlist page, so that when user click the button all the items from the wishlist are removed. how can i do that please help.
4 votes
0 answers
202 views

Magento2.1 add pagination to my wishlist

Want to add pagination and toolbar to my wishlist page on customer panel. Mean that i want to do something like list.phtml on wishlist page in customer account - customer panel.
  • 741
1 vote
1 answer
197 views

Magento 2.2.5 - Add wishlist to custom new page

We have a separate new page for listing the products, there we need a "Wishlist" option as like as in product catalog page. Can anyone share the exact idea to implement it?.
5 votes
1 answer
525 views

How to add custom attribute in magento2.1 customer panel wishlist section?

I want to add guaranty (custom product attribute) to customers wish-list page that is in customer dashboard in my Wishlist tab. Means that I wanted to show price, qty, name, guaranty, and add to ...
  • 741
3 votes
0 answers
79 views

Error: category.product.addto.wishlist is not a child of catalogsearch.product.addto

Magento 2.2.6 ### Steps to reproduce (*) <!--- Important: Provide a set of clear steps to reproduce this bug. We can not provide support without clear instructions on how to reproduce. --> ...
3 votes
0 answers
491 views

Product attributes on wishlist

I'm trying to display a couple of product attributes on the wishlist page. However, when I call $product->getData('attribute_code') it returns NULL. Here is the code I currently have in place: ...
  • 51
3 votes
0 answers
67 views

how can a customer email his wish-list to admin in magento 1.9

i want to add a "send wishlist to admin" button in wishlist section, so that when customer click on this button his wishlist will send to the admin through email. how can i do that. please help
1 vote
0 answers
52 views

how to download wishlist in excel format in magento 1.9

i want to download my wishlist in excel format without any plugin, currently i'm able to download my wishlist as docx type. Please help.
1 vote
1 answer
1k views

Magento 2.3.0 How to override wishlist & compare product list page using plugin

I want to override wishlist & compare product grid using plugin. after that i would like to append custom div under class="product-image-container". I try & search a lot but no luck. is there ...
  • 6,016
0 votes
1 answer
381 views

How to get wishlist product details on wishlist_product_add_after event in magento2

How to get wishlist product details on wishlist_product_add_after event in magento2. Please suggest me.
0 votes
1 answer
410 views

How to get products from wishlist using customer id

Magento 2.3 PHP 7.1 I trying to get products from customer wishlist in Model but $products array is empty. $products = []; $items = $this->wishlist->loadByCustomerId(1, true)-&...
  • 1
4 votes
2 answers
1k views

How to update/trigger wishlist counter in Magento 2.3?

I am trying to add products in wishlist using ajax with phtml + Controller. However, the product gets added to wishlist but the counter of wishlist doesn't change. Is there a way to trigger an update ...
  • 1,494
1 vote
2 answers
2k views

Get Customer Details by Wishlist Product Id in Magento 2

A list of products was added to wish-list by the number of customers and I need to know that which customer was added a particular product to the wish-list, based on the product id. I need to get the ...
4 votes
3 answers
2k views

Wishlist button color on Magento 2.1

How to set active class to magento2.1 wish-list button on product page? I mean that, when i go to product page, if i marked that product to my wish-list before, just shows already added to wish-list ...
  • 741
3 votes
4 answers
5k views

Magento2.3 Product Add to Wishlist Invalid Form Key. Please refresh the page?

I am using php 7.2.13 version and magento 2.3 latest version in xampp. When i do add to wishlist and save anything am getting Invalid Form Key. Please refresh the page? this error.
  • 33
0 votes
0 answers
423 views

Magento 2.2.3 CE unable to add/remove item from wishlist?

We are getting facing an error message when we add (or) remove item from wishlist in magento 2.2.3 CE can you please advise? ? we didn't write any custom code from custom module. Fatal error: ...
1 vote
1 answer
688 views

Hide product price from wishlist in magento2

How can I hide price based on a condition from customer wishlist products. <block class="Magento\Wishlist\Block\Customer\Wishlist" name="customer.wishlist" template="Magento_Wishlist::view.phtml" ...
  • 784
0 votes
1 answer
327 views

How to render HTML entities in the wishlist sidebar

I have added the © symbol to product names in Magento 2. These all appear fine on the category and product pages, however when I add an item to my wishlist the product name appears with the text &...
2 votes
1 answer
618 views

How to implement ajax based toast notification for add to cart, wishlist and compare?

Is there any way to show toaster notification using jQuery for add to cart and wishlist and compare from product list page and detail page. Want to show some of the below toast notification after ...
  • 1,905
0 votes
1 answer
587 views

How to include a captcha inside the share wishlist form in magento 1.9

I am trying to add the captcha core/text_list block to the wishlist_index_share handle in the wishlist.xml layout file but the block is not displayed. Here is my code: <wishlist_index_share ...
3 votes
1 answer
4k views

Add product to wishlist using Ajax - get response message

I'm trying to implement adding product to wishlist using ajax. I have managed to do this but I can't get the success message from response ("You have added X product to wishlist"). require([ 'jquery'...
  • 610
2 votes
1 answer
172 views

Impact of programming errors in wishlist observer introduced in 1.9.4.0?

The release of 1.9.4.0 introduces two programming errors in the wishlist observer: in order to make the method Mage_Wishlist_Model_Observer::processAddToCart compatible with PHP 7.2, the two usages of ...
0 votes
1 answer
1k views

Remove wishlist items when added to cart

I want to remove the wishlist products that are added to the cart. I've followed this link: Keeping wishlist items for keeping the wish list items after being added to the cart.i have set my $delete ...
0 votes
1 answer
1k views

Magento 2 - How does the remove wishlist button work?

I am wondering how does the remove wishlist button work? i have checked the code, and there is no form tag around it. How can it post to the remove item controller in vendor/magento/module-...
4 votes
3 answers
4k views

How get wishlist in Magento 2 Rest API?

Get Wishlist product in Magento 2 REST API ? And Add to Wishlist in Magento 2 REST API ? Wishlist API is not provided by Magento 2
1 vote
0 answers
43 views

how to remove wishList Item by item id and customer id in magento 1

if (!empty($customerId) and ! empty($item_id)) { $return['canRemove'] = true; try { $item = Mage::getModel('wishlist/item')->load($item_id); ...
0 votes
1 answer
91 views

Magento 1.9 - Share/copy wishlist between customers

Are there any ways to copy a customers wishlist, and then import it into another customers wishlist? Thanks.
  • 11
0 votes
1 answer
898 views

Magento2 - How to add remove all wishlist button on the wishlish page?

on the wishlist's page we have remove wishlist's button for each item, and we want to add a button that can remove all wish-list item all at once thank you
1 vote
1 answer
240 views

Magento 2 : How to show on product page, how many times product has been added to wishlist in single store

On product detail page how many times a particular product has been added to Wishlist for simple product and configurable product in single store environment? Trying below mentioned code: Di.xml is ...
  • 3,854
2 votes
2 answers
2k views

How to get wishlist collection using customer id in magento 1.9

I am trying to get the wish list products in Magento 1.9, I am facing some problem. Based on customer id am fetching customer details, Unable to fetch the wishlist product collections. $customer_id= ...
0 votes
1 answer
337 views

Default values are not rendering on Wishlist product edit page

Default values are not rendering on wishlist product edit page Steps to generate the issue: Navigate to any configurable product page on the frontend. Select the dropdown options and add the product ...
  • 6,309
1 vote
0 answers
413 views

How to add AJAX for the 'Add to Cart' button in wishlist page and in sidebar wishlist product in produst list page in Magento 2.2.3?

How to add AJAX for the 'Add to Cart' button in wishlist page and in sidebar wishlist product in product list page in Magento 2.2.3? Please help.
  • 498
0 votes
1 answer
404 views

After deleting wishlist item programmatically from my Api call It is still visible in frontend magento2?

This is my code: $wishlistIds = $this->_checkoutSession->getWishlistIds(); $wishlist = $this->_wishlist->create()->loadByCustomerId($this->_customerSession->getCustomerId(), true)...
1 vote
0 answers
373 views

Wish-list add to card getting "Please specify product's required option(s) for"

In wishlist items add to card click to getting error "Please specify product's required option(s) for" Can you please let me how to custom option auto default select when add to card before I have ...
0 votes
0 answers
545 views

Can anyone explain how wishlist mage-cache-storage data update on every add product on wishlist in magento2?

I want to refresh wishlist mage-cache-storage data (for remove product from wishlist on product detail page)same like does on add product on wishlist. Has anyone know how data refresh of mage-cache-...
2 votes
2 answers
628 views

How to add a remove link on product detail page, if it's already added on wishlist in magento2?

I want to add wishlist remove link if product is already on wishlist in Magento2. I have tried but it's not working when fullpage_cache is On 1. 2. 3.
3 votes
1 answer
468 views

Magento 2 - How to display description product listing page of wishlist?

I want to display description on the product listing page of Wishlist. Facing the Fatal error: Fatal error: Class 'Satish\Wishlist\Block\Description' not found in /home/decure/public_html/test/var/...
  • 706
3 votes
1 answer
2k views

Magento2 Wishlist observable subscribe

I have this issue with the wishlist observable, I try to use the .subscribe function on it to check when the observable is changed but I keep getting wishlistObs is undefined what am I doing wrong ? ...
  • 1,190
0 votes
3 answers
523 views

Can admin add products to specific customers wishlist via administration?

Pretty much the title. Can admin add products to wishlist of specific customer via administration panel? if so, how? Using magento2 btw.
  • 193
1 vote
0 answers
110 views

Magento 2.2.5: Search Wish List

I'm doing Search Wish List. Everything i have done til now is create a CRUD module. So, I'm not very clear about this. The idea is type something in the Search box on the top right. And after that, ...
  • 1,228

1 2
3
4 5
9