Questions tagged [wishlist]

Denotes questions related to Wishlist

Filter by
Sorted by
Tagged with
1
vote
0answers
13 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
21 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
36 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
37 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
32 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": { "*": { ...
1
vote
0answers
23 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
30 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
27 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
44 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
0answers
17 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
26 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
18 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"> ...
0
votes
1answer
20 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 ...
1
vote
0answers
15 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 ...
0
votes
2answers
48 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
0answers
21 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
48 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
122 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
519 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 ...
0
votes
0answers
16 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/...
0
votes
4answers
151 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 ...
1
vote
1answer
93 views

Magento 2: Page Title not working for wishlist_index_index.xml

here am trying to add page title for wish list in sidebar navigation, but page title is not showing up. here is my wishlist_index_index.xml overrided file. <?xml version="1.0"?> <!-- /** * ...
0
votes
1answer
32 views

Event for Add to Wishlist button in Magento2

I want to redirect User to Observer on Add to Wishlist Click i want this for guest users Example if customer is not logged in then it must redirect user same page So far i have tried Following ...
0
votes
3answers
84 views

How do I get the current product id into wishlist.phtml in Magento2?

Here is My Block.php file app/code/Smartwave/Porto/Block/Catalog/Product/View/AddTo/Wishlist.php namespace Smartwave\Porto\Block\Catalog\Product\View\AddTo; /** * Product view wishlist block * ...
2
votes
1answer
86 views

Get current Logged user Wishlist products id in Ajax Call Magento 2.3

I Want currently logged user all wishlist products id's json array via ajax call ?
0
votes
0answers
54 views

Limit in the number of sharing wishlist in magento 2

I just found that the 'share wishlist' button on my wishlist page is gone after sending emails for the number of times set in the wishlist configuration in the backend. In other words, if the ...
0
votes
1answer
71 views

Wishlist added products icon not active in Magento 2.3

Wishlist added products icon not active or color change in product detail page and listing. But added products are present in "MY WISH LIST" in Magento 2.3
0
votes
1answer
252 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()); ...
1
vote
4answers
148 views

Magento2.3.1 i want to remove wishlist link from top.links but not working

I have added below code in my custom Magento_Theme default.xml file to remove top.links <referenceBlock name="top.links"> <referenceBlock name="register-link" remove="true"/> ...
1
vote
1answer
88 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
48 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
28 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
88 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
27 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
2answers
510 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
15 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
5
votes
1answer
143 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
60 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
76 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
38 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
92 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
22 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
53 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
28 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
38 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
151 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
48 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
38 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
98 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.