Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding items in wishlist from category page is displaying a $0.00 prices #7386

Closed
wenpingguo opened this issue Nov 10, 2016 · 6 comments
Closed
Labels
bug report Issue: Cannot Reproduce Cannot reproduce the issue on the latest `2.4-develop` branch Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development

Comments

@wenpingguo
Copy link

wenpingguo commented Nov 10, 2016

Preconditions

  1. Default Magento 2.1.1 or 2.1.2

Steps to reproduce

  1. Login to the website
  2. navigate to a category page
  3. add a product to wish-list
  4. go to wish-list page

Expected result

  1. Product added to wish-list showing the correct price.

Actual result

  1. showing $0.00 price for the product

video record: http://take.ms/oNk8h
Screenshot
If you select configurable options in product page and add to wish list, the price showing correctly.
my wish list 2016-11-10 16-30-36

@sevos1984
Copy link
Contributor

This is a known issue, internal ticket MAGETWO-59420

@sevos1984 sevos1984 added the Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development label Nov 10, 2016
@wenpingguo
Copy link
Author

Located the issue in
vendor/magento/module-wishlist/view/frontend/layout/wishlist_index_index.xml
change
<argument name="price_type_code" xsi:type="string">wishlist_configured_price</argument>
to
<argument name="price_type_code" xsi:type="string">final_price</argument>

Fixes in my theme, create
app/design/frontend/<Vendor>/<Theme>/Magento_Wishlist/layout/wishlist_index_index.xml
And add the following to in side body
<referenceBlock name="product.price.render.wishlist"> <arguments> <argument name="price_type_code" xsi:type="string">final_price</argument> </arguments> </referenceBlock>

@ghost
Copy link

ghost commented Nov 29, 2016

I had the same problem and wenpingguo solution fixed it for me too.

@Bartlomiejsz
Copy link
Contributor

Bartlomiejsz commented Jun 9, 2017

@veloraven @wenpingguo The bug also exists in sidebar wishlist (on Magento 2.1.7!).
The line that causes it is: \Magento\Wishlist\CustomerData\Wishlist:129

@hostep
Copy link
Contributor

hostep commented Jun 9, 2017

This is most likely a duplicate of #6866
Which was already fixed on the develop branch under MAGETWO-59512. I created a backport for the 2.1-develop branch around a month ago: #9571, let's hope it gets included in the next minor 2.1.x release soon...

@magento-engcom-team magento-engcom-team added 2.1.x Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development bug report Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed labels Sep 11, 2017
@magento-engcom-team magento-engcom-team added the Issue: Cannot Reproduce Cannot reproduce the issue on the latest `2.4-develop` branch label Oct 9, 2017
@magento-engcom-team
Copy link
Contributor

@wenpingguo, thank you for your report.
We were not able to reproduce this issue by following the steps you provided. If you'd like to update it, please reopen the issue.
We tested the issue on 2.3.0-dev, 2.2.0, 2.1.9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug report Issue: Cannot Reproduce Cannot reproduce the issue on the latest `2.4-develop` branch Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development
Projects
None yet
Development

No branches or pull requests

6 participants