Questions tagged [wishlist]

Denotes questions related to Wishlist

Filter by
Sorted by
Tagged with
1
vote
1answer
166 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
1answer
53 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
1answer
39 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
1answer
117 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
0answers
39 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.
1
vote
1answer
30 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
1answer
87 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 ...
3
votes
0answers
51 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
0answers
115 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: ...
3
votes
0answers
51 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
0answers
26 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
1answer
395 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 ...
0
votes
1answer
128 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
1answer
204 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)-&...
2
votes
1answer
329 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
vote
2answers
566 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 ...
3
votes
1answer
325 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 ...
3
votes
3answers
2k 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.
0
votes
0answers
279 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
1answer
297 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" ...
0
votes
1answer
115 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
1answer
120 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 ...
0
votes
1answer
321 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
1answer
1k 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'...
2
votes
1answer
94 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
1answer
422 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
1answer
387 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-...
3
votes
1answer
773 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
0answers
34 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
1answer
53 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.
0
votes
1answer
280 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
1answer
55 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 ...
2
votes
2answers
694 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
1answer
171 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 ...
1
vote
0answers
266 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.
0
votes
1answer
171 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
0answers
281 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
0answers
219 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
1answer
313 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
1answer
260 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/...
3
votes
1answer
452 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 ? ...
0
votes
2answers
168 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.
1
vote
0answers
58 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, ...
0
votes
2answers
719 views

Guest Wishlist in Magento 2

First of all, this is not a duplicate of some other question on Magento SE. I am working to build a custom requirement of guest wishlists. I have searched for some help on the Internet and also dug ...
0
votes
1answer
120 views

Wishlist.js calling after span append Magento2

<!-- ko if: wishlist().counter --> <span data-bind="text: wishlist().counter" class="counter qty"></span> <!-- /ko --> The issue I am facing is that in the ...
4
votes
4answers
800 views

Get wishlist item's array

I made an add to wishlist with ajax module and I want to indicate if the product is already in wishlist without breaking the full page cache. I know the wishlist object is in customer-data but I can't ...
1
vote
3answers
341 views

Error after add to whistlist Magento 2.2.4

I have installed the Magento 2.2.4 and market place theme pioneer. I have tried to add to wishlist the product but I am getting below error. Fatal error: Uncaught TypeError: Argument 1 passed to ...
1
vote
1answer
107 views

Wishlist in magento2?

How to get configurable option value of added product in wishlist in magento2. $collection = $this->_wishlistCollectionFactory->create() ->addCustomerIdFilter($customerId)...
3
votes
1answer
1k views

create mini wish list icon like mini cart

I am in requirement to add mini wish-list icon like mini cart count on top of header .I do not know this is Magento default functionality or Not.
3
votes
0answers
169 views

Magento 2 : Make Wish-list functionality without Login (Guest Wish-list)

I want to make a customization to add wishlist for guest, no need to install separately extension.