Terry
(Terry)
March 15, 2012, 8:51pm
1
In discussion with a client for an e-com. He wants a ‘last product (s) viewed’ slot.
Any ideas in Freeway Pro, please.
How is it I get all the awkward clients?
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options
waltd
(Walter Davis)
March 15, 2012, 10:34pm
2
You need to store that in a cookie. On each of your product pages, you have a little JavaScript that overwrites the “last product” slot in the cookie with the current page URL (and title). Then whenever the visitor is on one of the home pages or other non-product pages where you want to show this value, you simply read in the cookie value, again with JavaScript.
Walter
On Mar 15, 2012, at 4:51 PM, Terry wrote:
In discussion with a client for an e-com. He wants a ‘last product (s) viewed’ slot.
Any ideas in Freeway Pro, please.
How is it I get all the awkward clients?
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options
Terry
(Terry)
March 15, 2012, 10:47pm
3
Thanks Walt, again, I’ll take a look at this now.
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options
waltd
(Walter Davis)
March 16, 2012, 3:20am
4
Here’s a working example. (Don’t worry, I didn’t make all these pages by hand – I wrote an 8-line Ruby script* to do it for me.)
http://scripty.walterdavisstudio.com/last-viewed
View source on the home page to see how the cookie is read, and on any product page (they’re all the same) to see how it is set and updated.
Walter
*http://scripty.walterdavisstudio.com/last-viewed/builder.rb
On Mar 15, 2012, at 6:47 PM, Terry wrote:
Thanks Walt, again, I’ll take a look at this now.
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options
Terry
(Terry)
March 16, 2012, 6:36pm
5
Walt, thankyou.I deeply appreciate your help.
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options