thunderapps Posted September 19, 2014 Share Posted September 19, 2014 Quick question to the Presta modders out there: Inside product-sort.tpl, say if i have another drop-down menu (select drop-down menu) which list custom "attributes" values like "S, M, L, XL" etc (sizes), and on selected, the page refreshes and displays products that have available stock for say size "S"? Is there a plugin or custom code i can refer to? I'm very sure this is not new and appreciate any answers here. Here's a sample site that this custom attribute drop-down menu filter. Link to comment Share on other sites More sharing options...
misthero Posted September 20, 2014 Share Posted September 20, 2014 this is already handled by layered navigation module, did you tried that? Link to comment Share on other sites More sharing options...
thunderapps Posted October 9, 2014 Author Share Posted October 9, 2014 this is already handled by layered navigation module, did you tried that? The layered navigation module is managing the 'sort by' which provides the various typical drop-down items like "A-Z, price low to high..etc". However we want to build an additional drop-down alongside which can display the sort by say "sizes" and only products with the sizes available will display if the user say choose "M" in the size dropdown Link to comment Share on other sites More sharing options...
tomerg3 Posted October 9, 2014 Share Posted October 9, 2014 You are confusing "Sort" with "Filter" You should look into other filter modules, either on the addons store, or try http://www.presto-changeo.com/en/filter-modules/74-ajax-filter.html Link to comment Share on other sites More sharing options...
thunderapps Posted December 30, 2014 Author Share Posted December 30, 2014 You are confusing "Sort" with "Filter" You should look into other filter modules, either on the addons store, or try http://www.presto-changeo.com/en/filter-modules/74-ajax-filter.html Not to confuse "Sort By" with "Filter" (layered navigation module). We are trying to achieve a drop-down selector specifically with ie. "XS, S, M, L, XL" which is placed beside the existing "Sort By" drop-down selector. Upon selecting say size M, the category page refreshes (ajax) and displays products with the attribute eg. Size:M only. Link to comment Share on other sites More sharing options...
joseantgv Posted May 20, 2015 Share Posted May 20, 2015 Not to confuse "Sort By" with "Filter" (layered navigation module). We are trying to achieve a drop-down selector specifically with ie. "XS, S, M, L, XL" which is placed beside the existing "Sort By" drop-down selector. Upon selecting say size M, the category page refreshes (ajax) and displays products with the attribute eg. Size:M only. Check this tuto: http://blog.belvg.com/how-to-create-custom-sorting-in-prestashop-1-5.html Link to comment Share on other sites More sharing options...
Recommended Posts