Show your product pricing in sats on wordpress and woocommerce with this php file while keeping the back-end price in local currency.
I decided to create this php file after downloading a cRyPtO checkout Wordpress plugin that supported a ton of 💩coins. As a bitcoin-only company, I couldn't use their product in good conscience and the part that pushed me over the edge is when I asked for help with a simple conversion within the script from BTC to sats and the response was "nobody has ever requested sats". So I booted up the good ole Chat AI and after a couple hours, I was able to create the functions.php file for you to use! First off, you will need the following on your website. If you need help with these, there are tons of articles on how do each one.- Wordpress installed
- Woocommerce plugin installed
- Products denominated in fiat both in Woocommerce settings and on each of the product pages
- Child theme installed
- Bitcoin payment gateway like btcpayserver.com (kinda goes without saying...)
If you have any trouble with the code or installation steps, please let me know and I will update the page and/or php file on this site. Good luck with the project and your bitcoin business!