Magento: How to change the way products are sorted

Source: Internet
Author: User
Magento can easily set the way to sort the foreground products, we can set SOTR by to Price,name,best value and other attributes to meet the sorting requirements. Magento The default is best value, so what is best value?

Is there a two-paragraph interpretation of version 1.7 in the Official Handbook?
Page 75./85. "Product Listing Sort by:the products are sorted, by default, by the selected attribute." The best Value products are featured products as determined by the store administrator; For more information, "Creating Categories," page 83. The customer can select from the "Other" options on a per-page basis. You can configure attributes to is used for sorting using the used for sorting in Product Listing setting of. For details, "Managing Product Attributes", "Page 92."

Page 88./98. "3. In the Position column, specify a whole number so indicates the order in which the product is listed when the Produc TS are sorted by best Value. The product with a Position value of 1 is listed-I, 2 is listed second, and. If more than one product has of the same value for Position, the product with the lowest (which, closest to 1) ID number is Listed. "

To admin into the background (catalog/manage Categories), select the "Category products" This tab, we can see the classification of all product, you will find the last field position, in fact best Value is what it determines, the value of the position is an integer, the value is 1 of the product ratio is 2 of the product priority display, and so on; If multiple products have the same position, by Product ID from small to large priority display, that product ID close to 1 of products first display.


Change the value of position, save; In the foreground this category page will find that the product has been displayed according to the position value you set (if the default sort is position).

Two types of configuration for sorting
1 Setting up sorting for each category
With admin into the background (catalog/manage Categories), click Display Settings This tab, where you can set "Available Product Listing Sort by" and "default Product Listing The value of Sort by.
First modify the "Default product Listing Sort by" and cancel "use Config Settings", assuming that "default product Listing Sort by" is selected as "price". In the foreground you will see the product in ascending order of price, and we can cancel "use all Available Attributes" and assume that "Available product Listing Sort by" selects only "Best Value" and "pric E ", the Sort by only" best Value "and" price "can be sorted in the foreground, as shown in the following image:



2 sorting for Store/website/default config
The administrator enters the background system/configuration/catalog (left menu)/Frontend, and sees the dropdown box product Listing Sort by, where the sort selection will be applied to the store or websit E or default for all products, as to which one to apply in the upper left corner of the current Configuration scope decision. However, it should be noted that the priority of this configuration is lower than the previous category.



To find a configuration when sorting Magento
1: First find category configuration, no then find 2
2: Find the store configuration, no then find 3
3: Find website configuration, no then find 4
4: Find Default Config

Finally, we can do this at table Core_config_data, or config.xml file (App/code/core/mage/catalog/etc/config.xml 723. –position) Find Magento The default sort is position ("best Value");

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.