Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [wishlist]

Denotes questions related to Wishlist

0
votes
0answers
47 views

Magento 2.3.0 How to override wishlist & compare product grid using plugin

I want to override wishlist & compare product grid using plugin. after that i would like to append custom div under class="product-image-container". I try & search a lot but no luck. is there ...
0
votes
1answer
27 views

How to get wishlist product details on wishlist_product_add_after event in magento2

How to get wishlist product details on wishlist_product_add_after event in magento2. Please suggest me.
0
votes
1answer
27 views

How to get products from wishlist using customer id

Magento 2.3 PHP 7.1 I trying to get products from customer wishlist in Model but $products array is empty. $products = []; $items = $this->wishlist->loadByCustomerId(1, true)-&...
2
votes
1answer
31 views

How to update/trigger wishlist counter in Magento 2.3?

I am trying to add products in wishlist using ajax with phtml + Controller. However, the product gets added to wishlist but the counter of wishlist doesn't change. Is there a way to trigger an update ...
1
vote
2answers
61 views

Get Customer Details by Wishlist Product Id in Magento 2

A list of products was added to wish-list by the number of customers and I need to know that which customer was added a particular product to the wish-list, based on the product id. I need to get the ...
1
vote
1answer
45 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 ...
1
vote
1answer
120 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.
0
votes
0answers
77 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: ...
0
votes
0answers
35 views

How to generate a popup when product added to wishlist programmatically in magento2

How to show popup with success message when product added to wish list instead of going to wishlist page programmatically ?
1
vote
1answer
41 views

Hide product price from wishlist in magento2

How can I hide price based on a condition from customer wishlist products. <block class="Magento\Wishlist\Block\Customer\Wishlist" name="customer.wishlist" template="Magento_Wishlist::view.phtml" ...
0
votes
1answer
28 views

How to render HTML entities in the wishlist sidebar

I have added the © symbol to product names in Magento 2. These all appear fine on the category and product pages, however when I add an item to my wishlist the product name appears with the text &...
1
vote
0answers
14 views

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 ...
0
votes
1answer
57 views

How to include a captcha inside the share wishlist form in magento 1.9

I am trying to add the captcha core/text_list block to the wishlist_index_share handle in the wishlist.xml layout file but the block is not displayed. Here is my code: <wishlist_index_share ...
1
vote
1answer
173 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'...
1
vote
1answer
79 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 ...
0
votes
1answer
57 views

Remove wishlist items when added to cart

I want to remove the wishlist products that are added to the cart. I've followed this link: Keeping wishlist items for keeping the wish list items after being added to the cart.i have set my $delete ...
0
votes
2answers
85 views

Magento 2 - How does the remove wishlist button work?

I am wondering how does the remove wishlist button work? i have checked the code, and there is no form tag around it. How can it post to the remove item controller in vendor/magento/module-...
1
vote
1answer
122 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
1
vote
0answers
25 views

how to remove wishList Item by item id and customer id in magento 1

if (!empty($customerId) and ! empty($item_id)) { $return['canRemove'] = true; try { $item = Mage::getModel('wishlist/item')->load($item_id); ...
0
votes
1answer
27 views

Magento 1.9 - Share/copy wishlist between customers

Are there any ways to copy a customers wishlist, and then import it into another customers wishlist? Thanks.
0
votes
1answer
70 views

Magento2 - How to add remove all wishlist button on the wishlish page?

on the wishlist's page we have remove wishlist's button for each item, and we want to add a button that can remove all wish-list item all at once thank you
1
vote
1answer
26 views

Magento 2 : How to show on product page, how many times product has been added to wishlist in single store

On product detail page how many times a particular product has been added to Wishlist for simple product and configurable product in single store environment? Trying below mentioned code: Di.xml is ...
2
votes
2answers
184 views

How to get wishlist collection using customer id in magento 1.9

I am trying to get the wish list products in Magento 1.9, I am facing some problem. Based on customer id am fetching customer details, Unable to fetch the wishlist product collections. $customer_id= ...
0
votes
1answer
44 views

Default values are not rendering on Wishlist product edit page

Default values are not rendering on wishlist product edit page Steps to generate the issue: Navigate to any configurable product page on the frontend. Select the dropdown options and add the product ...
1
vote
1answer
168 views

How to add AJAX for the 'Add to Cart' button in wishlist page and in sidebar wishlist product in produst list page in Magento 2.2.3?

How to add AJAX for the 'Add to Cart' button in wishlist page and in sidebar wishlist product in product list page in Magento 2.2.3? Please help.
0
votes
1answer
83 views

After deleting wishlist item programmatically from my Api call It is still visible in frontend magento2?

This is my code: $wishlistIds = $this->_checkoutSession->getWishlistIds(); $wishlist = $this->_wishlist->create()->loadByCustomerId($this->_customerSession->getCustomerId(), true)...
1
vote
0answers
125 views

Wish-list add to card getting “Please specify product's required option(s) for”

In wishlist items add to card click to getting error "Please specify product's required option(s) for" Can you please let me how to custom option auto default select when add to card before I have ...
0
votes
0answers
96 views

Can anyone explain how wishlist mage-cache-storage data update on every add product on wishlist in magento2?

I want to refresh wishlist mage-cache-storage data (for remove product from wishlist on product detail page)same like does on add product on wishlist. Has anyone know how data refresh of mage-cache-...
2
votes
1answer
151 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. Thanks in Advance.
3
votes
1answer
156 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
192 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 ? ...
0
votes
2answers
38 views

Can admin add products to specific customers wishlist via administration?

Pretty much the title. Can admin add products to wishlist of specific customer via administration panel? if so, how? Using magento2 btw.
0
votes
0answers
261 views

Magento 2 - Reload page after customer data section

I'm trying to realize the following behaviour (f.e. on the catalog page): If a logged in user opens the catalog page of my shop I want to change the style of the "add to wishlist" heart icon if the ...
1
vote
0answers
32 views

Magento 2.2.5: Search Wish List

I'm doing Search Wish List. Everything i have done til now is create a CRUD module. So, I'm not very clear about this. The idea is type something in the Search box on the top right. And after that, ...
0
votes
1answer
50 views

Wishlist.js calling after span append Magento2

<!-- ko if: wishlist().counter --> <span data-bind="text: wishlist().counter" class="counter qty"></span> <!-- /ko --> The issue I am facing is that in the ...
0
votes
0answers
298 views

Magento 2.2.4 wishlist count not display on top of the product category page

I used my custom theme, i facing some problem related to wishlist count. Wishlist count display on product detail page but not display on product category page, Home page and other pages. i am stuck ...
3
votes
3answers
455 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 ...
0
votes
3answers
156 views

Error after add to whistlist Magento 2.2.4

I have installed the Magento 2.2.4 and market place theme pioneer. I have tried to add to wishlist the product but I am getting below error. Fatal error: Uncaught TypeError: Argument 1 passed to ...
0
votes
0answers
65 views

How to update wishlist items in magento2

How to update the product in the wishlist for magento2? I have added the product to the wishlist. But I can't update the product in the wishlist for API. How to do this.If anyone knows, explain to ...
1
vote
1answer
50 views

Wishlist in magento2?

How to get configurable option value of added product in wishlist in magento2. $collection = $this->_wishlistCollectionFactory->create() ->addCustomerIdFilter($customerId)...
3
votes
1answer
601 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
0answers
108 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.
0
votes
0answers
44 views

Wishlist for guest in cart page not working shows “The requested cart item doesn\'t exist.'” in magento 2

I have added wishlist icon on cart page, If customer clicks the icon , it works fine and moved the product to the wishlist. If the guest tries to click wishlist icon, I have triggered login popup, ...
1
vote
1answer
192 views

Magento 2 : “Add All to Cart” button disable when one product “outofstock” in wishlist page

One product "Outofstock" and save in wishlist then after, when after login in wishlist form click on "Add All to Cart" button. But it's not working because of "Outofstock" product in wishlist. So how ...
0
votes
2answers
171 views

Magento 2.2.2 return only 3 items from wishlist

When inspecting the bellow console.log(JSON.parse(localStorage.getItem('mage-cache-storage')).wishlist); I get the count of 7 but items only returns 3 : How Can one get all items ? in my case 7 ?...
0
votes
0answers
22 views

Magento 2 whishlist does not update in product listing page

I am trying to implement change empty heart to full heart when customer is logged in and has products in wishlist but it only shows if I log out and log back in again. Here is the print out: Array ( ...
0
votes
0answers
40 views

Add wishlist product not displaying in frontend

After adding the product in the wishlist, its not displaying in wishlist front end of the website for the same user. vendorname/modulename/model/WishListMethodManagement.php public function ...
0
votes
0answers
112 views

How can i get wishlist id of a product using the product

How can I get the wishlist id of the product, which is an item id of the product? I have added a configurable product to the wishlist and I want its item id.
0
votes
0answers
199 views

Magento2: Product placeholder image resize issue

Wishlist sidebar block does not resize product placeholder image correctly Preconditions Magento version 2.2.3 with sample data blank theme Steps to reproduce: Added product placeholder ...
0
votes
0answers
100 views

Wishlist api in magento 2.1.12

I install wishlist 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\Ipwishlist\...