This method expands the "Featured section" of the Shopify theme Dawn and uses it as a ranking frame, but it can also be implemented on product pages. By displaying the "ranking of the category that the product belongs to" along with related products, you can expect to increase the viewing rate of similar products.
Example of setting up a ranking frame on a product page using the theme "Dawn"

Setup Step 1: Add a definition to the product field and specify the collection for the target product. Add the scheme to "featured-collection.liquid" and the label to "ja.schema.json".

Step 2: Modify the code in "featured-collection.liquid"

Setup Step 3: Add a "Featured Collection" section to any location on the product template and configure various settings.

