Need help with place an order code in a header!

Hello guys,

I need your help guys! On my website in a header section I got a button “Place an order” . When I click on that button from a home page it works I get redirected to order form but if I click on that button from another pages on my website I stay on a page. If I click on that button from my products I see the message page not found. The code fore that place an order button you can see on that picture The website is fertilitydrugsonline.com. Hope you will help me out

It’s the <?php echo $_SERVER['REQUEST_URI']; ?> that’s causing the problem.

1 Like

I don’t think so. Cuz if you click here http://fertilitydrugsonline.com/health_product/menopur-injection/. You will see place your order for a particular product (beneath product description) and when you click on that you will get redirected to the same order form page. The code for that product https://drive.google.com/open?id=0B-yuHlTT0S4PT0wwM2RDZUN3VW8. Each product has different id

You were right. Thank you:)

1 Like

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.