Luca9319 Posted March 17, 2017 Share Posted March 17, 2017 Hi everyone! I have a little problem with my PS 1.6.1.1 I want to show the products by manufacturer... so if I have the category "shoes" and I click , I will see all the shoes separated for manufacturer How I can do this? I have found this code inside another website that has this suddivision but I can't understand Thank you! {$('.selectProductSort').change(function(){var requestSortProducts='http://www.sito.it/18-scarpe';var splitData=$(this).val().split(':');document.location.href=requestSortProducts+((requestSortProducts.indexOf('?')<0)?'?':'&')+'orderby='+splitData[0]+'&orderway='+splitData[1];});[spam-filter]);/* ]]> */</script><form action="www.sito.it/18-scarpe" class="productsSortForm" id="productsSortForm"><p class="select"> <label for="selectPrductSort">Ordina</label> <select class="selectProductSort" id="selectPrductSort"><option selected="selected" value="position:asc">:</option><option value="price:asc">Prezzo: dal più basso</option><option value="price:desc">Prezzo: dal più alto</option><option value="name:asc">Nome del prodotto: dalla A alla Z</option><option value="name:desc">Nome del prodotto: dalla Z alla A</option><option value="quantity:desc">Disponibile</option><option value="reference:asc">Riferimento: dal più basso</option><option value="reference:desc">Riferimento: più cari</option> </select></p></form></div></div><div class="span3 hidden-phone"><div class="inner"><div class="btn-group" id="productsview"> <a class="btn btn-grid" href="#" rel="view-grid"><i class="icon-th active"></i></a> <a class="btn btn-list" href="#" rel="view-list"><i class="icon-th-list"></i></a></div></div></div><div class="span3 pull-right"><div class="inner"><script type="text/javascript">/* <![CDATA[ */var min_item='Si prega di selezionare almeno un prodotto.';var max_item="Non puoi aggiungere più di 3 prodotto/i alla comparazione";/* ]]> */</script><form action="http://www.sito.it/index.php?controller=products-comparison" class="productsCompareForm" method="post" onsubmit="true"><p> <input type="submit" id="bt_compare" class="button bt_compare" value="Confronta" /> <input type="hidden" name="compare_product_list" class="compare_product_list" value="" /></p></form></div></div></div></div><div style="display:none">1</div><p class="product_manufacturer_list_title"><strong>MARCA</strong></p><ul class="clear" id="product_list"><li><div class="p-item span4 product_block ajax_block_product first_item item clearfix"><div class="list-products"><div class="product-container clearfix"><div class="center_block"> Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now