Hello @mattyblob
We had this question before and this is what our developer told us:
We use wc_get_price_including_tax
(or wc_get_price_excluding_tax
)
https://github.com/inpsyde/PayPal-Zettle-POS/blob/bdad0bf86f902b55efcef54a6d2dfeda6269afa3/modules.local/zettle-php-sdk/src/Builder/PriceBuilder.php#L42
so it would not be easy to just modify our code because there is no similar functions for regular price. Only replacing it to $payload->get_regular_price() if it matches the tax inclusion settings
PriceBuilder.php
? (float) wc_get_price_excluding_tax($payload)
Does this help? I guess it is not an option to not include the sales prices in WooCommerce, right? I believe there is no simple solution for this at the moment.
We do have a feature request open for implementing this option in the WooCommerce settings, but this can still take quite some time before this is implemented. I have linked this thread to the feature request, so you should get an update if it is available.
For now, I will mark the thread as resolved, since we won’t have any update until this feature is available.
Kind regards,
Joost