<p>I´m working in a buggy´s website, and i want to implement a "compare" functionality, where the clients can check some products from the list ( a checkbox in each product ) and be able to compare the products features side by side.</p>

<p>I think that i shold pass the array of values in the url from the checked products and in the compare page takes this values and filter the products. The only thing is that i don´t know how to implement it :) </p>

<p>Any help is welcome, thanks!</p>

<p>Sebastián.</p>

CC BY-SA 3.0
2015-04-28T18:39:04.867Z
Sounds like you're headed in the right direction! Admittedly, it's a very broad plan with a lot of details TBD. Which part are you getting hung up on specifically?
Lindsey D
CC BY-SA 3.0
2015-04-29T16:00:03.077Z
The list of products it´s no problem, i´m stuked in the checkbox part , collect the values from the checkbox activated ( i implement the validation of max 4 checked with jquery, no problem on that ) and send the values via url , when you click a button "Compare", and stucked on the compare page, how to "filter" those results ( the list of id´s sended via url ).
Sebachenko
<templating><frontend>
Implement a compare products funcionality
# Implement a compare products funcionality

(Asked by: username_0 on 2015-04-28)

I´m working in a buggy´s website, and i want to implement a "compare" functionality, where the clients can check some products from the list ( a checkbox in each product ) and be able to compare the products features side by side.

I think that i shold pass the array of values in the url from the checked products and in the compare page takes this values and filter the products. The only thing is that i don´t know how to implement it :)

Any help is welcome, thanks!

Sebastián.

**Tags:** templating, frontend
> **Comments:**
> **username_1**: Sounds like you're headed in the right direction! Admittedly, it's a very broad plan with a lot of details TBD. Which part are you getting hung up on specifically?  
> **username_0**: The list of products it´s no problem, i´m stuked in the checkbox part , collect the values from the checkbox activated ( i implement the validation of max 4 checked with jquery, no problem on that ) and send the values via url , when you click a button "Compare", and stucked on the compare page, how to "filter" those results ( the list of id´s sended via url ).  

---

## 0 answers

