Jump to content

dodaj do porównania na checkbox'ach


Prestaraf

Recommended Posts

Witam,

Jak zrobić dodanie produktów do porównania na checkbox?

w pliku product-list.tpl mamy kod:

<div class="compare">
  <a class="add_to_compare" href="{$product.link|escape:'html':'UTF-8'}" data-id-product="{$product.id_product}">{l s='Add to Compare'}</a>
</div>

w products-comparitions.js są działania na clase 'add_to_compare'

przed linkiem trzeba mi dodać checkbox.

Pomoże ktoś?

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...