For more details see the Amasty Improved Sorting for Magento 2 extension page.
An effective tool for customer care. Improve usability of your store catalog with user-friendly search options. The module allows your potential customers to browse catalog or categories by any parameters they need: best-sellers, most viewed, top rated, new and in a wishlist.
To configure the module, go to Stores → Configuration → Amasty Extensions → Improved Sorting.
Disable Sorting By - exclude any of the sorting options if needed.
Sorting Order - Drag and drop sorting options in the order you want them to appear in the improved sorting drop-down for the customers.
Please select the attributes to have descending sorting for them by default. Not selected attributes will have ascending sorting.
Show Products without Images Last - show or hide products without images to effectively manage your products offering.
Show ‘Out of Stock’ Products Last - choose the variant to optimize the position of the ‘Out of Stock’ products.
Use qty to determine if the product is `Out of Stock`- enable this option to put products on the ‘out of stock’ list automatically. Products with the qty < 1 will be shown last regardless of the stock label.
To specify the default sorting for search and category pages, expand the Sorting by Default tab.
Set the main algorithm at first, and then 2 additional ones according to your needs. Due to the feature, you can sort products in the most efficient way and thus increase more sales.
Newest - displays products in the order they were added to the website. If you would like to manage product order for this option by yourself, please, select a product attribute with the help of which you can specify the dates you need.
Label - specify a name of the sorting option you would like to be displayed on the frontend.
Attribute Code for the Newest Sorting - Leave empty to use product creation date. If you indicate a custom attribute, make sure `Used in Product Listing` for the attribute is set to `Yes`.
Bestsellers - displays best-selling products according to the statistics.
Bestsellers Period (days) - sorting option will be counted for the period, indicated here. So if you indicate ‘15’ here, sales for the last 15 days will be counted and the order of products for bestseller sorting option will be defined based on the count.Leave empty for life-time statistics.
Custom Bestsellers Attribute - select the custom bestseller attribute to move products up in the bestsellers list manually.
Exclude Orders Statuses - products with specified order statuses will not be used in Bestsellers.
Most viewed - displays the products according to the number of views. This sorting option will be counted for the period, indicated the Most Viewed Period (days). Don’t forget to rename sorting option to match your own vision.
Custom Most Viewed Attribute - use to artificially move some products up in the real most viewed list. Leave empty to show real data.
‘Biggest Saving’ - displays products with the biggest discount on the top of the list. You can use percentage or absolute values to show the difference between regular and special price. For example, you have products A & B. A costs $100; there is a 10% discount on this product, so special price $90. Product B costs $10, with a discount of 50% special price is $5. If the ‘Biggest Saving’ list is sorted by percentage, product B (50% off) would be listed above the product A. If you choose to make sorting by absolute price values, product A will go before product B on the list.
Now in Wishlists - sorting option displays products that were added by other customers to their wishlists. Put down the frontend name of the option in the ‘Label’ field and specify the data update period below.
Top rated - this option shows high rated products at the top. In the ‘Label’ field put down a name of the option that is displayed on the frontend.
Reviews count - the option sort products by the number of reviews. Fill in the ‘Label’ field with a frontend name.
Price: high to low or low to high - this options sort items by price differentiation. You can also customize the title of the option.
To view custom attributes for each product, please go to Stores → Product and choose the item you need.
To create a new one, click the Add new attribute button.
Default Label - specify any name you like for a default sorting option.
Select ‘Input Type’ you need, but pay attention that some attribute types can’t be used for sorting (e.g., Text area, Multiple Select, Media Image and Fixed Product Tax).
Here are the rules of using attributes for sorting:
1) The attribute shouldn’t be a multi-select, gallery and text area type. Any other types are acceptable.
2) Go to Storefront Properties → ‘Used for Sorting in Product Listing’ field and check if ‘Yes’ is selected. If ‘No’ is selected automatically, it means the attribute can’t be used.
Manage labels - Specify the title of the attribute that will be used on the frontend.
Specify Storefront Properties.
Used in Product Listing - Set this option to ‘Yes’ for the attribute specified in the ‘Custom Bestsellers Attribute Code’ field.
Used for Sorting in Product Listings - Set the option to ‘Yes’ if you would like to use the attribute for sorting.
Hit the Save Attribute button.
To create or edit attribute sets, please go to Stores → Attribute Sets.
Assign the created attribute to the attribute sets that you use for creation of products in Catalog. Remember to save the changes.
To create a new set, click Add Attribute Set.
Specify the Name of the attribute set and the category to Base On. Hit the Save button.
To create and manage categories, please go to Catalog → Categories.
The new product sorting options are available on ‘Display Settings’ tab of the category page.
Display Mode - choose the mode of the block: Products Only, Static Block Only or Static Block and Products.
Available Product Listing Sort By - specify which sorting options to use.
Default Product Listing Sort By - choose the automatic algorithm to sort the products.
Let your customers know about your new, top-rated, most viewed products with the help of Featured Products Block. To manage Featured Products widget, go to Content → Widgets.
Hit the Add Widget button.
Specify widget Type and Design Theme. Click Continue.
Then specify Storefront Properties.
Widget Title - specify the title of the block you would like to be displayed on your product page.
Assign to Store Views and choose the Sort Order.
Click Add Layout Update to choose where exactly the widget will be displayed.
Display on - choose the categories, products or pages for the block to be displayed on.
Products - you can apply widget to all products or choose specific products.
Container - specify the place of the widget on the frontend.
Template - choose the type of the template. In some cases the template is set by default.
Go to the Widget Options tab.
Widget options are variable depending on the type of the widget chosen.
1. If you choose CMS Page Link, Category Page Link or Catalog Product Link, specify the Anchor Custom Text and the Anchor Custom Title.
Select the Page, the Category or the Products for the widget accordingly.
2. If you want to add a Catalog Product List or Catalog New Product List, specify the Display Type - All products or New products.
Enable or disable Page control.
Also specify the Number of Products per Page, the Number of Products to Display and the Cache Lifetime (Seconds). 86400 by default, if not set. To refresh instantly, clear the Blocks HTML Output cache.
3. If the type is CMS Static Block, you have to specify the block only.
4. For the Featured Products Type, specify the Header, the way of Sorting, the Number of Products to Display, Cache Lifetime and the Conditions if needed.
5. For the Recently Compared Products or Recently Viewed Products, choose the Number of Products to display, the Product attributes to show and the Buttons to show.
Save the settings.
Effectively control the performance of your website by managing all existing cron tasks in one place. Please, go to System → Cron Tasks List.
Here, you can see all the existing cron tasks and their statuses. Run cron tasks and generate their schedule by clicking the ‘Run Cron’ button. Also, delete tasks in bulk, apply filtering and sorting options when it is needed.
To manage indexers and see their current status, please, go to System → Index Management
To manage sorting indexer modes for sorting options like ‘Bestsellers’, ‘Most Viewed’ and ‘Wishlists’, click the ‘Actions’ button.
If the sorting is disabled by any value (see 'General Settings' - 'Disabled sorting by'), the status is ‘Reindex Required’ but reindex doesn’t perform.
‘Update by Save’ mode means that the index is refreshed automatically once per day at 3 a.m.
‘Update by Schedule’ means that the index refreshes according to your cron and reindex performs when the index becomes invalid.
The new sorting options and widgets are added to standard Magento ones on the front end and enable your customers to find the right products faster. Also Ratings and reviews of other people can be really helpful for your customers.
Boost your most popular products to sell even better with Featured Products Block.