Excellent. Thanks very much indeed Alexander for your helpful support -it all works beautifully now.
Hi Alexander
Many thanks for your very prompt reply. Forgive two really dumb questions: firstly what is $opts_arr for? Is it an optional array for passing data in to the function? and secondly: how is the $data, which is returned from the function, passed to the product shortcode – or am I barking up the wrong tree?
Thanks again for the very prompt help. The matter is resolved.
Thanks very much for this. The link was very informative, and consequently I checked with the hosting provider. The issue now seems to be resolved.