i am really happy with your plugin and especially with your support!
there is one issue that we found with the offers of the plugin.
First of all let me tell you that we use the B2C & B2B in the same woocommerce "mode" and there are products (variations to be specific) that we do not want to fill the retail price and we fill only the b2b price of the variation and we do not want to change that.
I looked over that code again but I am not sure what it could be I'm afraid, I cannot seem to find the issue.
Would it be possible to share a temporary backend access to your site (or a staging clone site), so we can test directly? It would help so that I can then troubleshoot the issue throughout the code and run tests until we understand where the issue is.
Hi there!
i am really happy with your plugin and especially with your support!
there is one issue that we found with the offers of the plugin.
First of all let me tell you that we use the B2C & B2B in the same woocommerce "mode" and there are products (variations to be specific) that we do not want to fill the retail price and we fill only the b2b price of the variation and we do not want to change that.
https://ibb.co/QmTmwLh
Now when we try to create from the administrator's panel an offer from b2b and we choose that variation, it returns 0 as the variation's price.
Is it possible to return as a priority the b2b price?
Also, the price that is shown is WITH vat (+24%) so the price that we would like to return is the price without the vat (if it is possible of course).
Looking forward for your answer
Alexandros
Hello Alexandros,
Glad to assist,
I understand that basically you'd like that to default to / prioritise the B2B price, if such a price exists?
I tried writing a code snippet for that:
It should also remove 24% from the price.
This code can be added to functions.php or to any code snippets plugin.
This is what I see on my test site when I test with this code: https://www.loom.com/share/fd54a1efcfac46e98b11bd36a96fdcfe?sid=062b4672-14eb-4aad-a11c-fb6fe31e762c
Let me know if you have any issues with that,
Kind regards,
Stefan
Hello and thank you for your time and efford!
Your snippet works well for simple products but in variations it does not work for all variations (for some reason)
our variation looks like this:
Cookies Christmas Time Bites (base product)
Cookies Christmas Time Bites - 1 unit (Retail price 4€ - B2B price null) <- the snippet works on that variation
Cookies Christmas Time Bites - Sample (Retail price null - B2B price 4€) <- the snippet works on that variation
Cookies Christmas Time Bites - 4 units (Retail price null - b2b price 9,92€) <- the snippet does not work on that variation
Cookies Christmas Time Bites - 6 units (Retail price null - b2b price 14,88€) <- the snippet does not work on that variation
I looked over that code again but I am not sure what it could be I'm afraid, I cannot seem to find the issue.
Would it be possible to share a temporary backend access to your site (or a staging clone site), so we can test directly? It would help so that I can then troubleshoot the issue throughout the code and run tests until we understand where the issue is.
Thank you for the access details,
I made a change to the snippet here: https://staging2.dionicandles.gr/wp-admin/admin.php?page=wpcode-snippet-manager&snippet_id=3000 to add a conversion function,
It seems to work quite well now in my tests and I no longer seem to see any variations for which this doesn't work.
Do you still see any variation that has issues?
Thank you very very much!!
If i see something wrong i will let you know!
keep up the great work!!!