Developer forum

Forum » Ecommerce - Standard features » Compare products

Compare products

Adrian Ursu
Reply

Hi guys,

I am trying to implement a compare functionlity in one of our projects.

My aim is to let the users compare no more than 3 products from the same group. And the compare selection should be persisten when navigating between pages of the same group.

I have noticed the Wrap solution does not have anything compare related implemented but the old solutionset had a compare functionality.

What is the best practice implementation?

Thanks,

Adrian


Replies

 
Nicolai Høeg Pedersen
Reply

Hi Adrian

It is just a csv list of productids to the querystring, so the feature is simple enough. You could combine the selection of products to compare with JS cookies to persist it over more pages.

Attached my good old templates and js with the feature. It has a JS using cookies.

BR Nicolai

 
Adrian Ursu
Reply

Thanks Nicolai

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Hi Adrian,

Also take a look at Rizzo; it has some nice Compare features including recommendations.

Imar

 
Adrian Ursu
Reply

Right!

Thanks a lot Imar.
Adrian

 

You must be logged in to post in the forum