This filter gives Low Search the ability to order CartThrob products based off the amount previously sold (popularity).
This filter gives Low Search the ability to order CartThrob products based off the amount previously sold (popularity).
Copy the ‘cartthrob_sort’ folder into /system/user/addons/low_search/filters
.
Now that the filter is installed, you can make use of the ‘ct_popularity’ parameter within your Low Search Results tag as seen below.
{exp:low_search:results collection="products" ct_popularity="desc"}
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.