Questions tagged [wishlist]
Denotes questions related to Wishlist
409
questions
0
votes
1
answer
512
views
How to check if product is added to wishlist from 'list page' or 'product page'
I am wondering if there is any way to know that product is added to the wishlist from 'Category/List' page OR 'Product View' page. I need this only when product is successfully added to the wishlist.
...
-1
votes
1
answer
2k
views
How to get WishList Product sku's or id's in phtml in Magento 2?
How can I get a customer wishlist product id's or sku's collection in phtml file in magento 2.
2
votes
4
answers
1k
views
Which event observer is triggered when a wishlist is created or updated?
I want to perform an action whenever a wishlist is updated or created, but I am not able to find that event. If anyone knows that event, please let me know.
Thanks in Advance.
4
votes
1
answer
5k
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 ...
5
votes
1
answer
10k
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
0
votes
1
answer
356
views
How to send an email to customers who is having an item in their wishlist
Is there a way to send a reminder email to customers who has added items to their wishlist and forgot.
0
votes
1
answer
854
views
Maximum Qty Allowed in Wishlist
Is there a way to restrict the quantity in the wishlist to 1 similar to how you can for the cart? I will only ever have one of any item however if the customer clicks add to wishlist multiple times on ...
0
votes
2
answers
521
views
Multiple shopping carts and copy paste cart
I have a client spec where the client is acquiring for us to develop a store where there are possible to have multiple shopping carts and an user can "copy a cart"
Is this possible? Are there any ...
7
votes
1
answer
812
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 ...
4
votes
1
answer
2k
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 ...
2
votes
1
answer
186
views
Overriding Mage_Wishlist_IndexController in Magento
Hi i am trying to override magento wishlist IndexController. I have followed all steps but its not working here is my code and files path
app\code\local\XS4Arabia\Wishlist\etc\config.xml
<?...
1
vote
0
answers
345
views
how to get wishlist id from Url Magento
Hi I am using magento enterprise. I am working in wishlist page and my url is:
http://myweburl/en/wishlist/index/share/wishlist_id/6/
How can I get wishlist id from URL?
Right now, I am trying to ...
0
votes
0
answers
247
views
how to get current wishlist in magento
I am using magento enterprise and i am working in wishlist there is a function in core at path
C:\xampp\htdocs\projects\baab.bh\app\code\core\Mage\Wishlist\Helper\Data.php
getWishlist()
When i am ...
1
vote
1
answer
3k
views
magento 2 - Keep a product in a cart while adding it to wishlist
I am trying to change the behavior of "Move to wishlist" button in the cart to add the product in the wishlist while still keep the product in the cart.
I created a custom block AddToWishlist, inside ...
1
vote
3
answers
2k
views
Wishlist has stopped working
Can't be sure when or how this broke, but when visiting the Wishlist page or attempting to add a product to my Wishlist I am presented with 'Cannot specify product.' (See attachment)
This ...
1
vote
4
answers
750
views
How to remove wishlist
can seems to move wishlist from top.link; i was able to move or remove all the link including compare link after hours of searching online, this code only work for the rigister link and account link ...
0
votes
1
answer
1k
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 ...
0
votes
2
answers
800
views
Magento 1.9.2.3 - Wishlist issue
I would like to ask you some help regarding an issue I'm having in the wishlist section. When we add a product as favourite, this message appears as an error.
Fatal error: Call to a member function ...
0
votes
1
answer
714
views
Product image not displaying in wishlist page
I have created one attribute called imageurl for importing product image url. Product images displaying all the pages except minicart and wishlist page. For displaying product image in wishlist page I ...
1
vote
0
answers
76
views
how to stop redirection in wishlist (i am using a custom plugin)
I am using a plugin called ajaxwishlist, which gives facility to add to compare and wishlist, everything is working fine but I want to stop the redirection.
I also put an if condition to check wether ...
4
votes
1
answer
3k
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 ...
0
votes
0
answers
471
views
Adding wishlist button on homepage for newest products
I am a newbie .I have added a widget from admin panel to home page for displaying newest product.
But it does not show any wishlist button for those product.
What should I do for this?
2
votes
1
answer
718
views
Keep scroll position after wishlist add
I have a page with products, and when I add a product to the wishlist or shopping cart, my screen jumps to the top of the page.
Is there a way I can stay at the same scrollposition after I add a ...
3
votes
1
answer
2k
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->...
2
votes
0
answers
1k
views
Add to wishlist button not available for Products in Magento 2
In admin panel, in customer tab, I have enabled Wishlist option.Still On my homepage , it does not show add to wishlist option for Products .
I have created a custom theme for this.Previously with ...
1
vote
2
answers
7k
views
Returning wishlist item collection for currently logged in user
I'm trying to return the wishlist item collection for the currently logged in user and iterate over the collection.
I've tried the following, but I get an empty collection.
<?php /* @...
1
vote
1
answer
251
views
How to add "addtowishlist" and "addtocart" in a custom phtml?
I have a custom loop for my website and I need to add addtowishlist and addtocart buttons in my foreach. How to add this buttons in Magento? I marked in the end of code where I need to insert the ...
1
vote
4
answers
4k
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 ?
2
votes
1
answer
1k
views
Magento 2.0 Add to wish list without redirect to wish list?
How to add a product to the wish list without triggering a redirect to the wish list?
I have tried many times. Please suggest the code for me, my theme is default LUMA.
0
votes
1
answer
557
views
M2 - Markup changing when a product has been added to wishlist
For some reason adding a product to my wishlist changes the markup of my add to wishlist button.
Screenshots:
Before adding to wishlist
<a href="#" class="action towishlist wishlist-button" data-...
4
votes
1
answer
8k
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?
2
votes
1
answer
3k
views
Magento2 error while fetching configurable product data
I have written custom wishlist which will display its items when customer logins.
If customer adds product other than config products, my wishlist is working fine,
but when customer adds configurable ...
0
votes
2
answers
11k
views
magento2 jquery element.click is not working
I have used anchor tag with some id, and want to perform ajax call on its call by using id.click() but its not working.here is my code in file view.phtml
<a id="pdp-add-to-wishlist"
class="...
0
votes
2
answers
5k
views
How to create Guest Wishlist For Magento [duplicate]
In Magento, the default functionality is that the customer click a wishlist link on any product when that customer is not logged in, then it redirects to login page and then the product has been ...
1
vote
1
answer
881
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/...
1
vote
2
answers
1k
views
Remove a wishlist item from a customers session
I'm creating an Ajax Handler where one of the methods is removing an item from the wishlist.
I know how to add a product to the wishlist:
$wishlist = Mage::getSingleton('wishlist/wishlist')->...
6
votes
4
answers
5k
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
2
votes
1
answer
247
views
How to get wishlist product category ID.?
I was assign one product in more then one category.
In one of , i was added product in Wishlist .
I want to know that this product is come for which category.
1
vote
0
answers
923
views
How To Add Product Option of configurable product To Wish List in magento and show selected on product page
I want to add product option in magento wishlist.
And when we click on product it will show selected on product page.
I search extension for this but i did not not found this.
My need is to saved wish ...
0
votes
2
answers
685
views
Magento2 rewrite _prepareCollection method in wishlist returning blank page
I am trying to rewrite the protected function _prepareCollection method inside \Magento\Wishlist\Block\Customer\Wishlist however the wishlist page in my account now returns blank and it never makes it ...
2
votes
0
answers
130
views
add to cart not working for a store behind authentication
I have a store which is protected behind a login. So when a customer receives a wishlist email from other customer, when the customer clicks on "Add to cart" from email, since the store is protected ...
1
vote
1
answer
2k
views
Wishlist Add/Remove
In product page, I want to implement two buttons for ADD and Remove wishlist.
In my product page, I have Customer ID and Product ID.
I tried this Mage::getModel('wishlist/item')->load($id)->...
0
votes
2
answers
323
views
Restoring deleted product alerts
We recently started to address requests from customers to be alerted once product comes back in stock. Basically a lot of these requests were mistakenly deleted without being addressed. Is there any ...
2
votes
3
answers
3k
views
Add to wishlist using ajax
How to add product to wishlist with a single button click without page redirect and refresh using ajax?
6
votes
2
answers
1k
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: ...
1
vote
1
answer
915
views
Share programmatically created wishlist
I have a custom admin module where I want to programatically create and share a wishlist.
I managed to create it programatically and to send the email (it arrives ok), but the "$wishlistBlock" and ...
50
votes
18
answers
92k
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 ...
4
votes
2
answers
5k
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 ...
0
votes
2
answers
3k
views
how to get wishlist id according to the product id?
I have a product id but i want to know the wishlist id according to that product id.
Is there any way to find that wish list corresponding that productid?
-1
votes
1
answer
245
views
How to count wish-list item by productid?
I want to count the wish list item to know about the popularity of that particular product