Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2007-06-09 16:20:25
- FireFusion
- Member
- Registered: 2005-05-10
- Posts: 698
[request] Recently viewed
Now i’ve been using TXP for more e-commerce stores I was wondering if it is possible build a plugin that displays a list of the pages (products) someone has recently viewed on your site. You’d need to be able to set the sections and store the info in a cookie or something so it was there when they came back.
Offline
Re: [request] Recently viewed
You don’t need a cookie. You can use the logs that TXP keeps of the pages people visit. All you’d have to do is run a MySQL query that fetches that last 10 (or so) unique pages that match the section containing the products.
Offline
Pages: 1