Can someone please update the 1st script so that it works in combination with the 2nd script to result in the popup window launching in the center of the screen. (As my experience with coding is very limited i know not how to do this.)
Thanks heaps. Pia

for me also it is working but the problem is this code is not fetching the data and image which I need. can u please help me to fix? I kept even <meta property="og:title" content="<?php echo $productDetailsArray['name_of_product']; ?>" /> <meta property="og:description" content="<?php echo $productDetailsArray['product_description']; ?>" /> <meta property="og:image" content="<?php echo $productDetailsArray['image']; ?>" alt="<?php echo $productDetailsArray['name_of_product']; ?>" title = "<?php echo $productDetailsArray['name_of_product']; ?>" /> on the header
–
Sujith WayanadFeb 1 at 17:01