How can I implement a dynamic ranking system for my products?

Topic summary

Main issue: Implementing a dynamic “ranking” (sorting) of products that increments when an item is added to cart, with product displays updating in real time; and whether customers can rate products before purchasing.

Key clarifications and constraints:

  • Use “sort” (not “order”) to avoid confusion with purchase orders.
  • A product page typically shows a single main product, so there’s nothing to sort there; consider sortable sections like product recommendations.
  • Dynamically sorting site-wide product displays based on items added to any cart could negatively affect all customers and may be ill-conceived.

Feasibility/approach:

  • Achieving cart-driven sorting and custom displays is possible only via advanced theme customization (controlling cart line-item sorting and conditional product display logic based on cart contents).

On pre-purchase ratings:

  • Reviews are generally intended post-purchase for legitimacy; pre-purchase rating isn’t standard practice.

Status and next steps:

  • No concrete solution provided yet; requirements are ambiguous.
  • Action needed: clarify scope (which pages/sections to sort), provide store URL, theme details, and examples; consider a custom development engagement if pursuing this behavior.

Outcome: Discussion remains open with a recommendation to refine requirements and consider expert customization.

Summarized with AI on January 10. AI used: gpt-5.

I need to show my product in a specific way that, once the product is added to the cart it would count as 1 in the ranking system, and the product page will order and show the products based on this ranking and dynamically change the orders. How could I fulfill this function in the current environment?

Also, is it possible to ask customers to rate the product before they buy it?

Thanks a lot.

Really ambiguous unbaked question, use the word sort instead of order so your not implying an order-as-in-a-purchase when mixing nouns.

It’s an advanced theme customization to control the sorting of the cart line-items.

Moreso to then control the display of products on a page based on what’s in the cart.

A product page by it’s nature only has one main product so there is nothing to sort.

Do you mean some sections like product-recommendations,etc?

Let people adding something to a cart change the entire sites presentation for sorting product displays that all customers see is a bad idea not fully thought through.

For legitimate businesses a review comes after a purchase.

If you have the budget and need this consulted and a theme customization then contact me by email for services.
Contact info in forum signature.
ALWAYS please provide context, examples: store url, theme name, post url(s) , or any further detail in ALL correspondence.