Morning,
I'm not sure if this has been explored in the forums but i have been looking at integrating PayPal as checkout option in the system.
I've managed to pass the product name variable but i'm struggling to pass the product price. It keeps showing the last product on the page, i presume i'm passing the wrong variable?
Please can someone have a look at the below page? I'd be happy to share this page once i get it going!
http://www.thepricesite.co.uk/paypal.php?q=Digital+SLR+Camera
Michael
Hello Michael,
You want to be using the $mainProduct array which contains the product record of the main (featured) product. You would therefore access the price as follows:
$mainProduct["price"]
Cheers,
David.