I need to pass some JS variable to PHP and am having some trouble.
I have tried the following:
$product_id = \"
Thanks for the assistance, very much appreciated! I have managed to get it done by using ajax as suggested:
It is now working with the above code. Thanks again!