taiiarba Posted May 13, 2013 Share Posted May 13, 2013 Hi All, I don't know how to start better, but here goes. I'm a rookie when it comes to html/php codes(I've used dreamweaver), but this is my problem.. I've created a product page in html, but in 3 steps(3 html pages), and lets say I will give the link of my product to a potential customer. And he buys the product through all the 3 steps. And the 3th step the product is bought. How can I do when the clients access the link again after he bought the product so that the product can appear "item has been bought". I don't want after clicking the link to begin again at first step. Hope you understand and I'll be waiting for opinion. Thanks Quote Link to comment Share on other sites More sharing options...
Barand Posted May 13, 2013 Share Posted May 13, 2013 Store clients' purchases in a database table Quote Link to comment Share on other sites More sharing options...
davidannis Posted May 13, 2013 Share Posted May 13, 2013 Do your clients log in? If the client is logged in you can check his ID against a database of items he has bought. If not, you can try to set a cookie on his browser but if he clears his cookies, visits your site using a different computer or even a different browser on the same computer you won't be able to identify him. Quote Link to comment Share on other sites More sharing options...
Barand Posted May 13, 2013 Share Posted May 13, 2013 Don't double-post. Read the rules. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.