Skip to product information
Shopifyでコレクションをランキング形式で表示したい場合の実装例
Published:2023.01.23

Example of implementation for displaying collections in ranking format on Shopify

This is an example of how to display collections in ranking format on Shopify, but be careful with pagination. By using "paginate.current_offset", you can correctly display the ranking order from the second page onwards even if the number of items displayed per page changes.


[Dawn 7.0.1] Added ranking display/hide setting item to main-collection-product-grid.liquid schema

[Dawn 7.0.1] Fixed main-collection-product-grid.liquid and card-product.liquid

[Dawn 7.0.1] Duplicate the template for rankings to prevent it from being reflected in all collections

Set the theme template of the collection that displays the ranking to "ranking"

↗ Related Post

すべてのShopify TIPS

View all