Filter Process Type

The Dynamic AJAX Product Filters plugin allows you to implement three different methods for applying filters to product listings, each with its own advantages and functionalities. Here’s a comprehensive overview:

With Query String

This method utilizes a query string appended to the URL to apply filters.
Example:

https://example.com/shop?filters=asus

How It Works:

  • When users select filter options (e.g., categories, attributes), the plugin constructs a URL with the selected filters represented as a query string.
  • The product listings on the page are updated dynamically based on the selected options.

Advantages:

  • Clarity: The URL clearly indicates the current filter state, making it easy for users to share or bookmark specific filtered views.
  • SEO Friendly: Search engines can easily index pages with query strings, which can help improve visibility.

Use Cases:

  • Suitable for e-commerce sites where users might want to share specific product searches with others.
  • Effective for temporary filter states where users may want to return to a previous state.

With Query String & Attribute Prefix

This method enhances the standard query string approach by using attribute prefixes to provide even more detailed filtering options.

Example:

https://example.com/shop?filters=1&cata=laptop&brand=asus

How It Works:

When users apply multiple filters, each attribute is represented by a specific prefix in the URL. This allows for more granular control over the displayed product listings. For instance, the example above specifies that the user is looking for laptops from the Asus brand.

Advantages:

  • Enhanced Clarity: The URL clearly delineates different filter options, making it intuitive for users to understand the criteria applied.
  • Improved Sharing: Users can easily share specific filtered views with others by simply copying the URL.
  • SEO Optimization: Search engines can better index pages with clear attribute prefixes, potentially boosting search visibility.
  • User Experience: Users can quickly adjust specific attributes without losing their overall filter context.

Use Cases:

  • E-commerce Platforms: Ideal for online shops where customers may want to filter products by multiple attributes like category, brand, and specifications.
  • Detailed Searches: Useful for scenarios where users need to refine their searches to find exactly what they are looking for, enhancing the overall shopping experience.
  • Bookmarking Specific Searches: Enables users to bookmark and return to a very specific set of filters, improving user retention and satisfaction.

How to Set Up Attribute Prefix

To implement attribute prefixes in your query strings, refer to the How to Set Up Attribute Prefix page for detailed instructions on enabling and configuring this feature.

By using query strings with attribute prefixes, websites can offer a more powerful and user-friendly filtering experience, making it easier for visitors to find their desired products.

With Permalinks

This method allows filters to be included as part of a cleaner, more structured URL format.

Example:

https://example.com/brand/color/size

How It Works:

  • When a user selects a filter, the plugin modifies the URL to include the filter terms as part of the path.
  • This results in a more user-friendly URL that can be easily read and understood.

Advantages:

  • User Experience: Provides a clear and logical URL structure that users can easily navigate.
  • SEO Benefits: Search engines favor clean URLs with keyword-rich paths, potentially improving search rankings.
  • Shareability: Users can easily share filtered results with a clean link.

Use Cases:

  • Ideal for websites that want to maintain a structured URL pattern for categories, brands, and attributes.
  • Useful for marketing campaigns where specific filters can be promoted via clean links.

With Permalinks & Attribute Prefix

This method combines the benefits of permalinks with attribute prefixes for even greater clarity and organization in URLs.

Example:

https://example.com/shop/filters/cata=laptop/brand=asus

How It Works:

When users select filters, the plugin constructs the URL to include both the filter category and the specific attributes as part of the path. This creates a structured URL that is easy to read and understand.

Advantages:

  • Enhanced Clarity: Each filter is clearly defined in the URL, making it intuitive for users.
  • Improved SEO: The use of keyword-rich paths can boost search engine rankings.
  • Simplified Sharing: Clean, structured URLs are easy for users to share.

How to Set Up Attribute Prefix

To implement attribute prefixes in your permalinks, refer to the How to Set Up Attribute Prefix page for detailed instructions on enabling and configuring this feature.

By using permalinks with attribute prefixes, websites can create a more organized and user-friendly experience, making it easier for visitors to find and share their desired products.

With AJAX (Without Changing URL)

This method allows users to apply filters dynamically without any changes to the URL.

Example:

The URL remains as https://example.com/shop even after applying filters.

How It Works:

  • When users select filter options, the product listings are updated instantly via AJAX calls without a full page reload.
  • This keeps the user on the same page and enhances the interactive experience.

Advantages:

  • Seamless Experience: Users can filter products without interruption, making the process more engaging.
  • Performance: Reduces loading times as only the product listings are refreshed, rather than the entire page.

Use Cases:

  • Best suited for sites with a large inventory where users frequently switch between different filters.
  • Effective for mobile users who appreciate a fast and fluid browsing experience.

Each filter process type offers unique functionalities to cater to different user needs and website goals:

  • Query String: Best for clarity and shareability, making it easy for users to return to specific filtered views.
  • Permalinks: Ideal for SEO and user-friendly navigation with structured URLs.
  • AJAX: Provides a seamless and interactive experience without altering the URL, enhancing usability.

By selecting the appropriate filter process type, you can create a tailored shopping experience that meets both your operational needs and your users’ preferences.