When I press the "Buy Now" button, I would like it to copy over my product details (Name, Price & Image) and take me over to a checkout form; where I can 'purchase' the product.
Right now when I click the "Buy Now" button it will take me to an HTML page with a checkout form (without the product details).
{
$link = "checkout.html";
$button = "button";
$style = "style=";
print "<div class='product-card'<h4 style='padding:1em;'><b>" . $info['Name']."</h4></b><h4><b>Price: $". $info['Price']."</b></h4><img src=../images/".$info['ProductID'].".png ".$style."width:180px;height:120px;><br><br><a href=".$link."><button class=".$button.">Buy Now</button></a></div>";
}
}