Questions tagged [wishlist]

Denotes questions related to Wishlist

Filter by
Sorted by
Tagged with
35
votes
16answers
56k views

Magento 2: Safe and easiest way to disable Compare products & Wishlist Module

I am building Magento 2.0 only to sell 2 of my products online. The compare products and wishlist module is irrelevant for me. How I safely and easily remove those modules? I dont want to hack the ...
5
votes
5answers
6k views

How to check if a product is already on the wishlist in Magento 2?

In Magento 1.x I did it like this: $_product = ...; // some product object you already have $_productCollection = Mage::helper('wishlist')->getProductCollection() ->addFieldToFilter('sku', $...
3
votes
1answer
4k views

How to add programmatically product to wishlist in Magento 2?

I want to add the product to the wishlist in magento2. What is the way to programmatically add the product into wishlist in Magento2?
4
votes
2answers
4k views

Add Product to Wishlist with a Selected Custom option

I used below code to add a product pragmatically to a Wishlist, and is working successfully- $customer = Mage::getModel('customer/customer'); $wishlist = Mage::getModel('wishlist/wishlist'); $...
6
votes
3answers
5k views

Add to wishlist without customer login

I am developing an extension where is a requirement of add to wishlist without logging into customer account. can anyone help me out in this? what i think two things can be done here - 1- we can ...
3
votes
1answer
335 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
1answer
2k views

Show description of product in wish list phtml file

I want to get description of product in wishlist Page, I tried this code In list.phtml file but no luck . <?php echo $_product->getDescription() ?> EDIT my code now look like this <?...
2
votes
3answers
11k views

How do I add to wishlist programatically?

I have scoured the web yet I am no nearer to understanding how I add a product to the wishlist in code. I have a product ID and a customer object in my controller and I just want to be able to add ...
0
votes
0answers
285 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: ...
4
votes
1answer
6k views

How render product wishlist link functionality in custom template (phtml) in magento 2

How to display wishlist link (with functionality) in custom phtml file using template file in magento 2
2
votes
6answers
4k views

Removing wishlist link - top header magento 2

I've seen this question asked time and time again, and i know this will sound like a duplicate. But every answer everyone else has doesn't work for me. I'm using: <page xmlns:xsi="http://www.w3....
7
votes
5answers
13k views

Magento 2 - How to disable wishlist and product review module

I want to disable the Wishlist and Product Reviews module including hiding all links in the menues (i.e. Dashboard, Top Navigation). Is there an easy way to do this?
4
votes
1answer
2k views

Load additional product attributes in Wishlist

I want to show some additional product attributes in the wishlist template, but they are not loaded. On the category page it is working, so it is not an index problem. When I call $item->...
3
votes
1answer
790 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
3
votes
1answer
2k views

Magento 2 - Keep Wishlist items

I need to keep the wishlist items after the customer have added them to the cart. Where is the actual removal being done in the code? I'm trying to track the call, but gets lost in the post being ...
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.
1
vote
2answers
2k views

Magento2 - How to remove item from wishlist?

I want to remove an item from wishlist in magento2 with wishlist id or wish list item id, how can do that ?
1
vote
2answers
613 views

Multiple Items in wishlist

I was wondering how some am I not able to have more than 1 item in my wishlist. Whenever I add a new one, the old one gets replaced. I am on magento 1.9.1
0
votes
2answers
6k views

“Add to wishlist” without redirecting to wishlist page

When clicking on the add to wishlist button, I want to remain on the same page & perform the add function without redirecting to the wishlist page - is this possible?
4
votes
1answer
2k views

Check if product is in wishlist

Magento 2.1.1, PHP 7.0. I want to check inside product page or product list if product is in wishlist. Actually I have block which works, but only if Full Page Cache is disabled or this block in xml ...
4
votes
1answer
3k views

Remove from wishlist URL?

I'm trying to create a link to remove an item from the wishlist if it's there. The URL is returning /wishlist/index/remove instead of the correct URL which from what I've seen online should be /...
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.
2
votes
1answer
96 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 ...
2
votes
2answers
2k views

Remove product from wishlist using customer id and product id in Magento2?

How to remove product from wishlist using customer id and product id programmatically? I searched alot about it, But the results are remove wishlist item using item id only. So is there any way to ...
2
votes
1answer
317 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.
1
vote
0answers
220 views

How to download wishlist list item as a PDF in magento?

I would like to download wishlist items in PDF format. there will be a button on wishlist item list page as "export as PDF" after clicking on this button i wants to download wishlist item list as a ...
1
vote
2answers
2k views

How to get the wishlist collection of a customer by Customer Id in magento2

I am trying to get the wishlist products collection of a particular customer by the customer Id. but it is not working. I am using the following code : $objectManager = \Magento\Framework\App\...
1
vote
2answers
199 views

Display tax rate of each wishlist in magento?

I wants to display tax rate of each wishlist item. when we open wishlist it should be display tax rate in front of each product. i.e i need to one extra column of wishlist page. i already tried this ...
1
vote
0answers
164 views

Add wishlist to my dashboard (customer_account_index)

I want to add the wishlist in my dashboard in the customer account. Problem is I have to make a new block like this. <block class="Magento\Framework\View\Element\Template" name="...
1
vote
1answer
106 views

How to show grand total of wishlist item list incluging tax?

I wants to show grand total including tax. i have follow this link to show grand total without tax how to get Grand Total of Wishlish Items in magento? and it working fine. but i need to display grand ...
1
vote
3answers
394 views

Unable to add to wishlist when visibility is set to “not visible individually”

We are unable to add products to the wishlist in 1.6.2.0 when visibility = "Not visible individually". I have explored two options so far: Enable Catalog visibility and remove category The problem ...
1
vote
1answer
74 views

Magento2.3: How to download the customer wishlist collection as a CSV file?

I have a requirement that is collecting wish-list data and download/store them as a CSV file. As of now, I have referred the below URL and tried getting the sample CSV file downloaded. How to ...
0
votes
1answer
462 views

how to get Grand Total of Wishlish Items in magento?

i am trying to get grand total of wishlist item. when we update quantity of wishlist item then total will show in price column and display the all item grand total at bottom. anybody knows answer ...
0
votes
2answers
822 views

Move to wishlist

How can I make the product only be copied in wishlist, when I click move to wishlist from basket. Because on default it remove from basket but I want my product to be added in wishlist and also to ...
0
votes
3answers
4k views

Add to wishlist without redirect to wishlist

How to disable or redirect to same page after pushing add to wishlist button? Same way you can disable it for add to cart.
0
votes
1answer
362 views

How to Check my Current Product is Already added to Wishlist Magento 2

<?php echo "<pre>"; print_r($this->helper('Magento\Wishlist\Helper\Data')->getWishlistItemCollection()->addFieldToFilter('product_id', $_product->getId())->count()); ...
0
votes
2answers
2k views

Show custom attribute in sidebar wishlist

I have a sidebar whislist /app/design/frontend/base/default/template/wishlist/sidebar.phtml I need to add a "custom attribute" called manufacturer. I have tried many options like these but all don't ...