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 Link to comment https://forums.phpfreaks.com/topic/277957-product-page-help/ Share on other sites More sharing options...
Barand Posted May 13, 2013 Share Posted May 13, 2013 Store clients' purchases in a database table Link to comment https://forums.phpfreaks.com/topic/277957-product-page-help/#findComment-1429847 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. Link to comment https://forums.phpfreaks.com/topic/277957-product-page-help/#findComment-1429848 Share on other sites More sharing options...
Barand Posted May 13, 2013 Share Posted May 13, 2013 Don't double-post. Read the rules. Link to comment https://forums.phpfreaks.com/topic/277957-product-page-help/#findComment-1429863 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.