I can't code, but I used AI to make a plugin for my store that displays all prices in Bitcoin and gets the price data from my own Btcpayserver. A couple bugs still, but not bad for a couple hours work. https://video.nostr.build/5d90fe8c0142bac8acf2bda59c3e9c8ed0c6cb8d88b9057f3f1514530d793e18.mp4
NOICE
# BTC USD btc_usd = [from your node] # Price of the product in USD. product_usd = 15.00 # Convert to sats product_sats = (product_usd / btc_usd) * 100000000 # Format price to display with commas at hundreds place and sats units product_sats_label = format(round(product_sats), ',') + " sats"
Code is live on my GitHub! If you're running Woocommerce and @btcpayserver give it a try! https://github.com/pardus79/woocommerce-bitcoin-price-display Sats the standard 🤘 nostr:nevent1qqs0eadg7hcxysnu8vgyfn62v3y07r6uaw987dhyw36x6j0mqncxdzsprpmhxue69uhkv6tvw3jhytnwdaehgu3wwa5kuef0qgs9p2fjdhstrtk3kdjt7q40l3qjnl3jpcn58rj8rt9mqczusx4c0wcrqsqqqqqp5j3cw3
WTAF 🫡 That’s incredible