Hi Rune,
Good day!
Thanks for your report.
The integration of specific analytic plugins requires the use of custom hooks.
And YayPricing does not change the product price, we change the cart item price instead.
We will integrate with Rank Math as soon as possible.
When it’s done, we will let you know soon.
Best regards,
Mia
Hi there,
You do indeed replace the price display on the products also, not just in the cart.
And I would like to know what I should call in the snippet to get the correct price displayed for rich metadata, since we needed this to be correct “yesterday”. 😉
Hi @syntaxerrorno,
Sorry, but this is how our logic works. We do not replace the product price but we change it in other hooks so as to be compatible with others.
We do not encourage replacing product price in db.
Thank you!
Kind regards,
Alina
I’m talking about the display for sure, nobody have mentioned anything about the database, so your reply sadly doesn’t fit as usual.
So I need to know your “hook”, what to use in our snippet to fix this issue today, without having to wait for you to maybe fix it sometime in the future.
Hi @syntaxerrorno ,
Sorry about that!
This hooks is based on the target plugins.
If you have problem with Rank Math, then we need to make a integration with it by using it’s hooks and implement in our plugin.
May I know if you have issue with rank math metadata, please?
So, we will make an integration in our next version.
Kind regards,
Alina
Sorry but I’m starting to wonder if you use Google translate to read/reply, or what is actually going wrong here each time? It’s really hard to communicate with you Alina, much harder than any other of those replying here for this plugin, and it’s quite annoying – sorry to say.
Normally we can get the correct price using the WooCommerce price function ‘wc_get_price_including_tax’, for both default and sales prices in WooCommerce. Now, since you DOESN’T hook into this, but rather just overrides the price display, we don’t get the correct price when adding sales in your plugin. And my question now is what can we call to get the correct price (which price function in YayPricing), TODAY, without having to wait for some maybe in the future compatibility with Rank Math rich metadata?