Thank you for this code! So it definitely works in terms of showing a button, however it's taking me to the wrong spot.
I've added the widget to a hidden page so you can see what pop up screen it is meant to link too: https://weareenough.com.au/gift-voucher-test