Questions tagged [wishlist]

Denotes questions related to Wishlist

Filter by
Sorted by
Tagged with
0
votes
1answer
19 views

Wishlist function does not work - Item (Magento\Wishlist\Model\Item) with the same ID “5192” already exists

We are having an issues with wishlist function. Products are not added to the wishlist. In system.log and exception.log we get the following messages, when a customer click on "add to wishlist" in ...
2
votes
1answer
753 views

Special Price not displaying on Wishlist

UPDATE - This is a reported isue in v2.1 but there is not fix for it. In Magento 2 special prices do not seem to be displayed on the Wishlists page. Is it possible to display these? How? Is there ...
1
vote
2answers
146 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
2answers
745 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
2k views

Adding single product in multiple quantity to wishlist at a time from product details page

On product details page, there is QTY textbox present, but that follows the "Add to Cart" button. Whatever quantity I add to it, will be accounted for "Adding the product to cart in that particular ...
0
votes
2answers
1k views

Get Wishlist product collection in Controller of Custom module Magento2

I am trying to get Wishlist product collection in Custom module controller for the new functionality. I searched in google and I got this: Inject this class in your constructor: protected $...
0
votes
1answer
10 views

Generate a list in Magento Admin of customers that have a wishlist?

I need a way to get a list of customers that have a wishlist. Thanks in advanced.
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
1k views

How to get the selected custom options of a item in wishlist?

I need to retrieve the selected custom options of the item in the wishlist. I tried the following code. $item = Mage::getModel('wishlist/item')->load($wishlist_item_id); $options = $item->...
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 ...
1
vote
0answers
19 views

Magento 1.9 - Wishlist Does Not Work

I added items from Wishlist to my cart. After you go to the cart page, you will be notified that the item has been added. But the cart is empty. Please tell me the solution.
2
votes
1answer
132 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 ...
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'...
0
votes
1answer
30 views

How to collect customer data who has added the product to wishlist?

I have a requirement that is collect customers data like wishlist, address and send them to another server using SFTP. These all should be programmatically. Could anyone please guide me on this? ...
0
votes
1answer
718 views

Working on ajax wishlist- click again to remove product from wishlist

i am working on magento 1.9.2.4 wishlist, my code successfully adding product to wishlist- what i do for adding product to wishlist is - function ajaxWishlist(url,id){ var messageBox = new ...
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.
1
vote
0answers
18 views

Magento 2 wishlist issue

As a customer, I have added one product to my wishlist after logged in. I can able to see that product in my wishlist(frontend). Then I am logged in to the backed and go to the customer section, But I ...
1
vote
0answers
12 views

How to Redirect to Product View Page if No option Options are Selected In magento 2

i am making a guestwishlist i want to know how i can make a condtion if no product options are selected if must have to redirect me to product view page on add to cart option magento.. i did this so ...
1
vote
0answers
23 views

Magento 2 Wishlist siderbar not showing

I am using magento 2 EE and I am facing wishlist side bar not showing for some customers like: I have two customers one customer pawan@gmail.com- customer type - Individual user second customer ...
1
vote
1answer
39 views

Magento2: How to override layout blocks

I want to override "wishlist_index_index.xml" with some changes. Default layout output:- Expected output:- Here I want to move comment div out side "product-item-info" div. Please let me know ...
0
votes
1answer
51 views

Unable to Find js of data-action=“add-to-wishlist” in magento 2

I want to find where JS is written for data-action="add-to-wishlist" in Magento 2 I saw add-to-wishlist and data-action many times and on research I found the action in this file Mageto_Wishlit/js/...
0
votes
1answer
45 views

How to Override Magento Add to WishList Widget

I want to Override Magento add-to-wishlist data-action in Magento 2 i Have Created and Override Core addtowishlist Widget in my requirejs-config.js var config = { "map": { "*": { ...
0
votes
1answer
753 views

When will predispatch event be called?

I want to know, if controller_action_predispatch_checkout_cart_add will only be called, when a product is added to cart from product page, or if this event will also be called, when I add a ...
1
vote
0answers
34 views

Magento2: How to set pagination for wishlist?

As my default wishlist collection which is coming from block is not working due to the applied theme in my magento2 site. So, I applied the collection on my list.phtml file. And the problem is I need ...
0
votes
2answers
45 views

Magento2: Remove products from wishlist if it is already added to wishlist in Product detail page after clicking wishlist icon?

I want to remove products from wishlist if it is already added to wishlist in Product detail page after clicking wishlist icon in magento2.3.0? Any help would be appreciated.
0
votes
0answers
31 views

Magento2.3: Cannot add a product to wish-list even after logged in

I'm facing an issue in adding the product to wish-list. I have logged-in the site but still can't add the product to wish-list. When checking the admin configuration, I see the wish-list is enabled ...
1
vote
1answer
47 views

Magento2: How to show recently added wishlist to be displayed at the starting In wishlist Page?

I want to show a recently added wishlist to be displayed at the starting In wishlist Page in magento2? Any help would be appreciated.
0
votes
1answer
28 views

Add Configurable Product to Wish List

When a user clicks "Add to Wishlist" on a product that uses swatching, it saves the configurable product ID, not the simple product id. How can I get it to save the simple product id in the wish list ...
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 ...
0
votes
0answers
23 views

Recently Viewed Products - Add to wishlist button not working

In Recently Viewed Product block, there are links for adding product to wishlist. These links are not working because data-post attribute is empty. File path:- /vendor/magento/module-reports/view/...
0
votes
0answers
42 views

How i can prevent Default Action in Magento 2

In Magento 2 I want to Override Default Action on Add to WishList I have tried e.preventDefaults() but i think it only override Href Actions Here is My Code require(['jquery', 'mage/url', '...
0
votes
0answers
19 views

Not Getting Values of selected Custom Options On Add to Wishlist In Magneto 2

I want to add to wishlist for guest user i want to store selected product custom options i have added a plugin on Add to Wishlist Button <type name="Magento\Wishlist\Controller\Index\Plugin"> ...
1
vote
1answer
717 views

Changing URL of Wishlist without change to core code

I'm working on Magento CE 1.9.2.2 site and want to change the URL to the Wishlist that comes with Magento. I tried to copy app/code/core/Mage/Wishlist/etc/config.xml to app/code/local/Mage/Wishlist/...
0
votes
1answer
1k views

customize my dashboard in customer account?

I am customizing my dashboard panel in customer account. There are two things customer info and customer address. However when I add the order we can see orders here, but in the dashboard in the ...
0
votes
1answer
802 views

Magento 2 - how to redirect to popup login form while add a product to wishlist

I add a popup login form in my magento 2 template and when I add a product to the wishlist and I'm not logged in, I want to show the popup for the login and then add to wishlist the product. Anyone ...
1
vote
2answers
736 views

Sort products in wishlist by price

How can I sort products in the wishlist page by price asc and desc. I have found a piece of code but it is not working any help please. public function getWishlistCollection(...
7
votes
2answers
727 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 '...
1
vote
0answers
16 views

Magento, translate phrases of the wishlist and cart alert

I'm trying to translate the phrases that appear in the alert when trying to delete the item from the wishlist or in the shopping cart. I refer to these two sentences: - Are you sure you would like to ...
2
votes
1answer
811 views

Wishlist qty update not working in a store view

When I update the "qty" in the wishlist page the page reloads and set the default value to "1". When I input a value above "31" it works fine. I had the same problem with cart qty update but I fixed ...
0
votes
2answers
2k views

How to display all wishlist items in wishlist sidebar

i Want to display all wish-list items in the sidebar? Currently only last added three items are showing up. I wanted to display all items in current wishlist selection. What should I change in ...
0
votes
0answers
170 views

Wishlist api in magento 2.1.12

I install wish-list module in our project. When i call any API of this module it showing some error: <b>Fatal error</b>: Uncaught Error: Cannot instantiate interface Ipragmatech\...
0
votes
2answers
71 views

How to override “add to cart” button in wishlist using magento custom module?

How to override template file - vendor/magento/module-wishlist/view/frontend/templates/item/column/cart.phtml using custom module?
0
votes
4answers
185 views

Wishlist ajax remove

I want to remove product from wishlist from a custom button on detail. I did a plugin for the Magento\Wishlist\Controller\Index\Remove.php with an aroundExecute but for some reason I can't load/create ...
0
votes
0answers
24 views

Magento 2.3.2 Share Wishlist module can't get image in email template

When I share my wish list products in my wish list to Friend list, Everything ok, but Image can't render in image i used default email template code for the same. out HTML {{var items|raw}}
1
vote
0answers
65 views

Magento 2 How can I get selected swatch options on wishlist page?

I am trying to get selected swatches color, the size on wishlist page in Magento 2.3 If I add a simple product in wishlist then attribute value is showing but when I am trying to get selected options ...
1
vote
1answer
183 views

How to Override WishList Customer Data in magento 2

i Want to Override Magento\Wishlist\CustomerData\Wishlist public function getSectionData() { $counter = $this->getCounter(); return [ 'counter' => $counter, ...
2
votes
3answers
942 views

Magento 2.3.2: Uncaught Error: Call to a member function setUseContainer() on boolean

I'm facing this error when i try to login as customer, but when i go back or at Home i was logged in but every time i logout & login back, i face this error, also when i was logged in and go to My ...
4
votes
4answers
822 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
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.
0
votes
0answers
20 views

Customer account wishlist block replacement removes content

I have replaced the vendor/magento/module-wishlist/Block/Customer/Wishlist.php for my own app/code/myVendor/myModule/Block/Customer/Wishlist.php I have written in the app/code/myVendor/myModule/etc/...