• I am using Role and Customer Based Pricing for WooCommerce by Meow Crew which allows me to change the product price based on user role. It is working site wide, except for in the YITH quickview modal.

    I contacted their support and they said the following:

    “As far?as we see, most Yith-built plugins bypass woocommerce hooks that modify pricing and look directly into the database to retrieve product data. That’s why products like Filter, Quick View, Wishlist, etc by Yith won’t recognize and display modified pricing.”

    Is there any way to have YITH quickview display the correct modified pricing?

    You can check the error here: https://test2.apexbotanicals.com

    Thank you!

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support crodriguez1991

    (@crodriguez1991)

    Hello there,

    I hope you’re doing well ??

    Sorry but this is not true. Our plugin use the WooCommerce getter methods in order to retrieve the information.

    About the price for example, we use the following WooCommerce method in order to retrieve the price

    $product->get_price_html()

    You can find this method on

    wp-content/plugins/yith_woocommerce_compare/includes/class.yith-woocompare-frontend.php

    also WooCommerce defined the get_price_html method on

    wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-product.php

    This is a method used for WooCommerce in order to print the html price.

    Anyway checking your site, I see two different prices on quick view. See the following screenshot

    Also I checked the product page and I can see the same information.

    See the following screenshot

    Please, check it and let me know.

    Have a good day,

    Carlos R.

    Thread Starter instawithalex

    (@instawithalex)

    Hi Carlos, thanks for your response.

    Yes, when logged out, there are two different price displays. These are managed by custom code and aren’t the issue at this time.

    The issue is present when a user is logged in, with the user role ‘Member’ (or ‘Administrator’ for testing purposes).

    For example:

    When I am logged in, I see the product, Actaea racemosa (Black Cohosh), is priced at $20 for members and administrators. I can see that price on the shop page and single product page. (https://snipboard.io/I3WgXH.jpg)

    However, if I open the quickview modal for that product, I see the ‘regular’ price of $28 which is for guests/logged out users. It should be displaying the same $20 seen on the shop and single product pages. (https://snipboard.io/qxXHrb.jpg)

    I can provide a temporary login link privately if you need you take a look from the back end.

    Thank you!!

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    I can provide a temporary login link privately if you need you take a look from the back end.

    Please do not. If they accept that, even a temporary login or a staging site or anything then @crodriguez1991 could be banned from this site.

    NOTE! They did not ask for that and I am not saying they did. But please do not offer that access to anyone on this site ever.

    Plugin Support Giuseppe Madaudo

    (@askmagic)

    Hi @instawithalex

    offering temporary login is against the rules of behavior of this forum so I ask you not to do it. Thank you for your understanding.
    Thanks to @jdembowski for pointing that out.

    @instawithalex going back to your problem from what I read it is caused by an interaction with a custom code or to the interaction with another plugin with which we do not provide compatibility. I’m sorry.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Compatability Issue’ is closed to new replies.