Category listing in magento2 in custom page - magento2

I wanted to create a custom page having all categories listed with checkbox and on click of that products should get filtered. Can anybody suggest how to go about it?

Just as an idea:
We are using Multiple Select in Layered Navigation von Manadev. There you get a Category filter which you may use.
Otherwise you may have a look at a Collection Filter as described here.
It would be quite easy to get a select with all your categories with category_id as option. Then you built your request.

Related

Typo3 tx_news category menu: Show only used categories

By default, the category menu of tx_news shows all categories.
How it is possible to display only categories to which at least one news entry exist?
It is annoying for the user, if he clicks on a category but the are no news yet under that category.
It is impossible to know from the extension point of view what "is used" means as this could be restricted by a folder, additional constraints like time, archive, ...
Therefore this feature is not available by default. If you need it, create a simple VH and use the category as argument and then check with a DB query if this category is used in your project.

laravel backpack - crud select change filter

I am using backpack CRUD in laravel 5.3
I have 3 models: product, country and region. And I am looking way to similar function as jquery onchange ajax call.
Product crud has select for county and region. If I selected country, region select should filtered by selected country.
I don't know find crud function for this or way to insert js to edit view for one controller.
I'm afraid there's no pre-built field that will help you. Possible solutions:
create a custom field type for this purpose, starting from select2 or select2_from_ajax, that watches the change event on the first field and filters the second;
include the same javascript in your public\vendor\backpack\crud\js\form.js;
I would recommend option (1), seems cleaner to me.
Hope it helps, cheers!

Best Product Listing Option for Concrete5

I'm going to be creating a Concrete5 website that will feature product listings. The listing system must offer all your typical ecommerce features, minus the ability to purchase items. It's strictly for browsing purposes only.
For example:
- Browse by category
- Search products
- Listings/results page with thumbnails and brief information (title, description, price in US/CAD, manufacturer, maker, etc.)
- Products single page (with detailed information, attributes and gallery/images)
All the things you'd expect to find in a listing system.
My issue is I can't find a specific add-on for something like product listings. This leaves me thinking that it may be best to use the e-commerce add on and do my best to hide anything related to the cart/payment process. That way it could just be used for everything else it offers.
What are your thoughts on this? Is there a better option?
Thanks for the advice!
Use the page list block. It has everything you need except for searching. But, in essence, that's what your requirements call for -- listing of pages.
Create a page type for your "product". The "brief information" can be in the Content block, or you can set as attributes. You'll probably want to make some minor changes to the block's view (by creating a new template) that displays the image as you want, the proper attributes, etc. Something similar to http://www.concrete5.org/documentation/how-tos/designers/styling-the-page-list-block/
There are several adanced page list blocks in the marketplace. You might want to start with those.
Right creat Page type.
After creat Page attributes.
Add a block page_list create a template for it and filter by attributes.
You can even use ajax to filter.
http://www.weblicating.com/doku/doku.php?id=cheatsheet/#.UbR7P0BmiSp
U can find here about page_list or read documentation Concrete5.

How to allow Joomla users to create / update own list and have menu link to that list?

I have a Joomla site I am developing that centers around designer handbags of a particular label
(not my site, it's a client's). It is not an ecommerce site, more of a social site.
What I am looking to do is present the user with a list of handbag styles and patterns so that
they can mark which items they have and which items they need.
Then two sections of content would be generated - one listing what they have and one listing what
they need.
I would also need to be able to include a direct menu link to that page.
Any ideas would be appreciated!
Probably the best way to do that would be to extend either community builder or JomSocial. Both have the ability to have custom user profiles which would go a long way to creating what you are looking for. You may even be able to do everything you want within the basic structure of one of those extensions.

Design ideas for multi-select items from a long list

I'm developing a system in which I need to select, from a long list os customers, some to which an specific (batch) action will be executed. For example, I want to select "John", "Peter" and "Steve" and click the "delete" button. No more than 5 customers will be selected.
The problem is that, since there're more than 500 customers, listing all isn't a good option. So far I did an AJAX search that shows just the customers that meet the criteria, but which multiselect way you recommend?
My best idea so far is a below this list in which I could either drag-and-drop the users I want to select or double click them
Any better ideas/examples?
Thanks
I don't know whether you're using jQuery, nor whether your site's design vocabulary is suited to it -- but this jQuery autosuggest plugin is excellent.
+1 for ksr's autosuggest find. I would use this in conjunction with a list box. The user types in the autosuggest input field and when they select an item it adds it to a list box. They can then add additional names via the same method, and submit the list when they've added all the names.
I would go for the pattern used by eBay. They probably did some usability research. You can find more info here: http://quince.infragistics.com/Patterns/Multiple%20Selection%20from%20a%20Large%20List.aspx