RuffRuff Tags Help Center

Set the Product Page Tag Filter Scope

Filter within the current collection or across all products in the store.

When a tag is selected on a product page, you can choose whether to filter products in the current collection or all products in the store.

Prerequisite: "Always filter the entire collection on collection pages" is available on the Light plan and higher.

Selecting a tag always opens a filtered page for all products based on "/collections/all." The route used to open the product page does not affect the result.

For example, selecting the "blue" tag opens the following URL.

Plaintext
https://example.com/collections/all/blue

The filter scope depends on the product page URL.

  • When the product page URL includes a collection handle: Products in that collection are filtered.

  • When the product page URL does not include a collection handle: All products in the store are filtered.

The following examples use "tops" as the collection handle, "blue-shirt" as the product handle, and "blue" as the URL value for the tag.

Note: Even when a customer opens a product page from a collection page, some themes do not include the collection handle in the product page URL. Determine the filter scope from the product page URL currently displayed, not from the route used to open the page.

When the product page URL includes a collection handle

The product page URL includes the collection handle.

Plaintext
https://example.com/collections/tops/products/blue-shirt

Selecting the "blue" tag on this product page opens a URL that filters products in the "tops" collection.

Plaintext
https://example.com/collections/tops/blue

When the product page URL does not include a collection handle

The product page URL does not include the collection handle.

Plaintext
https://example.com/products/blue-shirt

Selecting the "blue" tag on this product page opens a URL that filters all products in the store.

Plaintext
https://example.com/collections/all/blue

Even for the same product and tag, the filter scope changes according to the URL used to display the product page.

Note: This setting changes the destination of tags displayed on product pages. It does not change the tag selection mode on collection or blog pages.

(1) Open "Settings"

From the left menu in RuffRuff Product & Blog Tags, open "Settings."

(2) Set the filter scope

Enable or disable "Always filter the entire collection on collection pages."

(3) Save the setting

Select "Save."

(1) Open the product template

From Shopify admin, go to Online Store → Themes → Customize, and open the product template you want to configure.

(2) Select the app block for the Regular plan

Select the "Tag list (Regular Plan)" app block.

(3) Set the filter scope

Enable or disable "Always filter the entire collection on collection pages."

(4) Save the setting

Select "Save" in the upper-right corner of the theme editor.