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 ...
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?
7
votes
2answers
674 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 '...
7
votes
1answer
659 views

Wishlist items replaced on add

I've been chasing a really weird bug for a couple days now. When adding items to a wishlist the most recently added item is replaced by the new item. This happens even when all local modules are ...
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 ...
6
votes
2answers
999 views

Magento 2: require.js error when disabling wishlist module

When I disable module Magento_Wishlist in admin (Stores->configuration->advanced->advanced) I get the following error in frontend (js console): Uncaught Error: Script error for: ...
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', $...
5
votes
4answers
3k views

Need REST api for “Add to Wishlist” in Magento 2

I want REST api for "Add to Wishlist" in Magento 2, and also need to know in which folder to place and the endpoint
5
votes
1answer
170 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\...
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 ...
5
votes
0answers
1k views

How to add product to wishlist after login by guest customer?

Add to wishlist is being done in AJAX for online customers and the products are successfully added in wishlist. For offline/guests, if they click add to wishlist a pop-up is shown with link to login. ...
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
4
votes
2answers
4k views

Problem with adding products to wishlist

i have a problem with adding products to my wishlist. When i try to do it i get this php error: Fatal error: Call to a member function getProduct() on a non-object in /usr/www/users/glnvgv/g4n.eu/e-...
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 /...
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->...
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
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'); $...
4
votes
3answers
2k views

“Add to wishlist” without redirecting to wishlist page Magento 2.06

I need to add to wishlist ajax based or customer should not redirect to wishlist page with out redirect in Magento 2 environment. anyone have suggestion please share.
4
votes
2answers
2k views

How should i get the count of products in wishlist?

<li class="trigger-item"> <?php $moduleName = 'wishlist'; $cartCount = Mage::helper('checkout/cart')->getCart()->getSummaryQty();?> <?php if ($this->helper('...
4
votes
1answer
941 views

checkout_cart_add_product_complete not fired. Bug or feature?

While trying to answer this question I ran into a strange behavior. The checkout_cart_add_product_complete event is working nice while adding a product to cart from a catalog. However if I try to ...
4
votes
4answers
801 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 ...
4
votes
1answer
414 views

Keep the product in wishlist after the product added to the cart

When i add product to the cart at wishlist page, the product automatically removed from the wishlist and the product was no longer in wishlist page. Is there a way to keep the product at wishlist ...
4
votes
2answers
403 views

Product didn't added to wishlist after PATCH_SUPEE-9767 installed in version 1.9.2.1

I have added a product to the wishlist in following method (Magento Version 1.9.2.1) 1. Without login, click on "Add to wishlist" link in any product 2. Get redirected to Checkout login page 3. ...
4
votes
2answers
2k views

Parent configurable product image displayed in wishlist instead of child simple product image

When I select a child product of a configurable product, and add it to the cart the correct simple child product image is displayed in the cart. However if I add the same child product to the ...
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.
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?
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
3
votes
2answers
3k views

How to modify add to wishlist success message in magento?

I have wishlist text coming twice when adding a product to wish list from cart (url : my_project/checkout/cart/) , but its not there when adding from single product view . how to remove that ?
3
votes
2answers
2k views

how to remove text “items” from top links wishlist magento 2

I want to display just wishlist count like wishlist (2) in top bar, how can I remove the word "items" or "item"
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

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'...
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
2answers
4k views

How to disable Share Wish List in Magento

What is the best way to disable the sharing feature inside the customers front end Wish List view of Magento 1.9.x? I've considered css but would prefer if it can be disabled in the code/layouts or ...
3
votes
1answer
5k views

Magento2 How to get login, Register and whishlist links

I need to modify Magento2 form.mini.phtml to have Login, Register and Wishlist links. And after wishlist link, I need to display product count which are in the wishlist after login. I know how to do ...
3
votes
2answers
2k views

How to add specific configurable product options to the wishlist

For some reason, whenever a product is added to my wish list it only adds the product. It does not add the selected configurable options (size/color). I know that it should be able to handle the ...
3
votes
1answer
12k views

How to get all the customer wishlist items in magento

I want to get all the product ids from wishlist in magento. I tried with below code but I am getting only one product id. public function GetWishlistProductId($productId) { $customer = Mage::...
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.
3
votes
1answer
540 views

how to remove login check when item added to wishlist?

I want to add an item in the wishlist without the customer logging in into Magento. menace guest user can add item in wishlist. I don't want further added item, menace I send inquiry form to mail or ...
3
votes
1answer
2k views

Show different wishlist icon, if user has added the icon in his wishlist

I need to show different wishlist icons when user has added the product to his wishlist. So, there is icon A (default) and icon B (when user is logged in and has added product to his wishlist ...
3
votes
1answer
1k views

Bundle products with options, wishlist > basket = Fatal Error

I've come across a bug that occurs when you pass parameters of a bundled product into a wishlist. The initial issue isn't adding the bundled product into the wishlist it occurs when you add to basket ...
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
262 views

Remove item from wishlist when bought

I'm looking for a solution that when Person A shares his wishlist (by email) with Person B, and Person B decides to buy this product for Person A the product has to be removed from the wishlish of ...
3
votes
1answer
938 views

Magento2 - Wishlist counter is suddenly stopped working in the header

I am using Ultimo theme in the site and few changes to the My Wishlist to wishlist and added one icon with link and also changed 1 item/items to 1% from csv only but suddenly counter stopped working ...
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
3
votes
1answer
455 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 ? ...
3
votes
0answers
170 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.
3
votes
0answers
402 views

Magento 2 How to filter shared wishlist items function?

I want to add a new filter in shared wishlist items. I have used the preference method to override the block method. The problem is that the addFieldToFilter is not working. How can I achieve it? ...