1

If I add any group product to the wishlist, then the product price display $0.00 In the customer account the Wishlist section.

How to add the minimal-price in the wishlsit in the customer account.

enter image description here

1
  • Does anybody have any solution?
    – Noshad
    Jan 3, 2021 at 12:07

1 Answer 1

3

I have resolved it myself, I hope it would be helpful to other developers.

extend the wishlist_index_index.xml file in your theme and add the below code.

<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>
    <referenceBlock name="product.price.render.wishlist">
        <arguments>
            <argument name="price_type_code" xsi:type="string">final_price</argument>
            <argument name="price_label" xsi:type="boolean">false</argument>
        </arguments>
    </referenceBlock>                  
</body>

below is the output screenshot.

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.