Hi John,
I’ve debugged my code. I really need to brush up on my php syntax. I have one more and hopefully final question about your solution.
My link to what would be the single product page looks like this
<a href="<?php echo $_SERVER['REQUEST_URI']; ?>?product ['$url_safe_product_name']">View Product</a>
The REQUEST_URI gets the current post page but I can’t work out how find the url for ?product={‘$url_safe_product_name‘}
Cheers
Ger