Questions tagged [price-sorting]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
4 votes
0 answers
123 views

Sort by price is not working on magento 2

This is a website link https://magento-202257-609939.cloudwaysapps.com/catalogsearch/result/index/?product_list_dir=asc&q=wera I am developing for my client and after a search of any product when ...
3 votes
1 answer
959 views

Magento2 - catalog product listing collection sort by price with dynamic price calculation

product price is calculated dynamically based on certain conditions. while sorting with price it takes only default price not dynamically calculated price. the same issue with the price filter. I can ...
1 vote
1 answer
940 views

Magento 2 Set Order not working

I'm trying to set Custom Sort Order in Collection using afterSetCollection() Following is my code di.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ...
1 vote
0 answers
271 views

Magento 2 Product Collection add array as column for sorting

I've requirement like following. Products price is calculated on the fly and I want price sorting to be proper with it. I've extend the block Magento\Catalog\Block\Product\ListProduct Following is ...
1 vote
1 answer
430 views

Magento 2.2 - Products sort by URL issue

I am facing category page url issue when try to sort products by Price (low to high) or (high to low). I'm using below code to add Price options (high to low). <option value="<?= /* @...
1 vote
0 answers
45 views

Simple Products Custom Options price sorting - magento 1.9.2

magento 1.9.2 - how to get simple products custom options price for price slider sorting in sidebar and load product collection in the list page. by default magento not sorting custom options price
1 vote
1 answer
216 views

Magento2 + Custom option price not included in price sorting

By default magento include minimum price from custom option in product listing price sorting but in my case this functionality isn't working. any one have idea which settings i need to update? I'...
0 votes
1 answer
702 views

Grouped product (simple product sorting on price) Magento 2

In Magento 2.2 on the product view page is it possible to sort the simple products of a grouped product based on price (or any other attribute)? At the moment they seem to be sorting randomly. I ...
0 votes
2 answers
867 views

How can I remove %26 and %3D from url?

When I want to sort products by price (low to high and high to low), my link is not working. Option value is "price&product_list_dir=asc", which encode in "price%26product_list_dir%3Dasc". How ...
  • 33
0 votes
0 answers
35 views

How can I modify logic for Sort by Lowest Price?

In my Magento store in the category page I display a grid of products each product contains used and new products. All configurable products are considered new, all used simples are considered used. ...
  • 21
0 votes
0 answers
58 views

how add sort by max_price product Magento 2.4.2

How add max_price to aggregations on Elasticsearch? For use when code pass to: \Magento\Elasticsearch\Model\ResourceModel\Fulltext\Collection\SearchResultApplier::apply() I want sort by max price, ...
0 votes
0 answers
18 views

How to reorder the Group / Tier Pricing display in product edit

My client has 10 groups that receive discounts on their products, every product has a group price attached to it as per the attached image. He has now requested that we reorder the prices in admin so ...
  • 1
0 votes
1 answer
233 views

Order by price not working - Product listing

I have searched along the web for the solution and I have not found yet. Let me give you the context a little. I'm using Magento 2.3.6, where we got around 57800 products. When you go to the category ...
  • 38