Questions tagged [wishlist]

Denotes questions related to Wishlist

Filter by
Sorted by
Tagged with
0
votes
0answers
18 views

Magento 2: "Add to Wishlist” not adding configurable products options

I am trying to add wish list button in mini cart,it works well for simple products but not adding the options for configurable products. Override Magento_Checkout mini-cart template: <?php ...
0
votes
0answers
13 views

Magento 2: Added product not showing on wish list page

I am trying to add product to wish list programmatically,but unable to add the product. here is my code: <?php $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $productObject ...
0
votes
2answers
38 views

How to show all wishlist item in custom HTML without breaking any functionaility

I have created wishlist HTML which contains an image, product name, price & add & delete button. I want to show all the wishlist on my HTML page. <section class="wishlist"> <...
1
vote
1answer
42 views

Magento 2 how to restrict add wish list a product

I would like to stop adding products to the wishlist based on the product attribute how to do that? I would like to use the plugin concept instead of overriding the entire controller file. Magento\...
0
votes
2answers
60 views

Magento 2 override add wishlist controller?

I tried to override add wishlist controller from the custom module but it's not working. app/code/Demo/Wishlist/etc/frontend/di.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3....
0
votes
1answer
25 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 ...
0
votes
1answer
12 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.
1
vote
0answers
20 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.
1
vote
1answer
77 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 ...
0
votes
1answer
31 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? ...
1
vote
0answers
19 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
15 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
28 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
66 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
52 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
49 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
59 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
39 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
0answers
24 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
57 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
22 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
30 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
17 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
83 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
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
78 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
223 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
1k 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
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/...
0
votes
4answers
195 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
156 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
46 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
128 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
112 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 ?
1
vote
0answers
96 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
89 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
430 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
219 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
2answers
130 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
50 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
37 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?
1
vote
2answers
180 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
29 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
817 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
16 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
189 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
66 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
128 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\...

1 2 3 4 5 8