Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [wishlist]

Denotes questions related to Wishlist

1
vote
1answer
13 views

Magento 2 REST API: Custom API with customer_token expecting string[] instead of string

I made an API which returns wishlist of a user using customer_token as authentication, obtained via this API: rest/V1/integration/customer/token My webapi.xml looks something like: <?...
0
votes
0answers
38 views

Get customer names that have added current product in their wishlist in Magento1

I am using this code to get total times current product added in customers wishlist. <?php $wishlist = Mage::getModel('wishlist/item')->getCollection(); $wishlist->getSelect() ...
0
votes
1answer
23 views

Magento 1 script to get customers wishlist

I want to create a script to get a list of all customers and their items inside their wishlist. How can we achieve this in our Magento 1.9.4.1 store?
0
votes
1answer
26 views

Magento 2 - Don't want to remove wishlist items when click 'Add all to cart' button

I want to keep items in wishlist when user click "add all to cart" button. Have any idea how to fix it?
0
votes
0answers
20 views

Swatches inclusion on custom related product template file in Magento 2.3

I am using inclusion on swatches for custom related product template file using the method mentioned on : https://magento.stackexchange.com/a/223599/80609. But i am not able to pass related products, ...
7
votes
1answer
101 views

setup:upgrade SQL error after update from 2.2.8 to 2.3.1

What could be the reason for this error on bin/magento setup:upgrade after updating from 2.2.8 to 2.3.1? SQLSTATE[42000]: Syntax error or access violation: 1061 Duplicate key name '...
0
votes
0answers
14 views

Copy-paste wishlist between customers, Magento 1.9

I'm looking for a way to copy-paste a wishlist from one customer to another? Any methods? Thanks
4
votes
1answer
48 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\...
0
votes
0answers
36 views

Create AJAX add to wish list in custom theme Magento 2

I am working on a custom theme. where I used Algolia instant search. All the products are listed through Algolia. vendor/algolia/algoliasearch-magento-2/view/frontend/templates/instant/hit.phtml &...
1
vote
0answers
11 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\...
0
votes
2answers
24 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
1answer
28 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')->...
0
votes
0answers
14 views

Overwriting FinalPriceBox Class for the wishlist

we have overwritten the FinalPriceBox.php in order to show a custom price with some conditions. This works well with the categories and product page. But we have seen it's not working on the wishlist. ...
2
votes
0answers
35 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
0answers
26 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
0answers
24 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
1answer
46 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
24 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
31 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
54 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
16 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
22 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
45 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
29 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
52 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
33 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
17 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
161 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
62 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
132 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
146 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
194 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 ...
1
vote
1answer
84 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 ...
2
votes
2answers
842 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
170 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: ...
0
votes
0answers
54 views

How to generate a popup when product added to wishlist programmatically in magento2

How to show popup with success message when product added to wish list instead of going to wishlist page programmatically ?
1
vote
1answer
120 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
51 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 &...
1
vote
0answers
34 views

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
142 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
552 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
90 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
215 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
170 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-...
1
vote
1answer
378 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
32 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
39 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
173 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
35 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
364 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= ...