Filter Product by SKU in WooCommerce

Step 1: Manage SKU in the Filter Widget Form

  1. Access Filter Settings:
    • Go to Product Filters > Form Manage in your WordPress dashboard.
  2. Show SKU:
    • In the settings, find the SKU option.
    • Toggle this option on or off to control whether the SKU filter appears in the widget.

Step 2: Style/Design/Customize the SKU Widget

  1. Access Form Style Settings:
    • Go to Product Filters > Form Style in your WordPress dashboard.
  2. Select SKU from Dropdown:
    • From the Select Attribute dropdown menu, choose the SKU 

Optional Settings

The Optional Settings section allows you to control the appearance, behavior, and ordering of individual filter widgets.

Enable Minimization Option

Controls whether the filter widget can be collapsed.

  • Disabled – Filter always stays expanded
  • Enabled with Arrow – Toggle using an arrow icon
  • Enabled without Arrow – Toggle without showing an icon
  • Initially Minimized – Filter loads in collapsed state

Show in Active / Chips Filter Widget

Displays selected filter terms in the Active Filters or Chips widget for easy visibility and removal.

Show / Hide Widget Title

Controls the visibility of the filter title on the frontend.

  • Show – Display title
  • Hide – Hide title

Widget Title

Set a custom title for the filter widget.

Step 3: Save Changes

After customizing the category widget, make sure to click Save to apply your changes.


Step 4: Display the Product Filter on Your Webpage

  1. Insert Filter Shortcode:
    • Visit the page where you want to display the product filter.
    • Add the shortcode plugincy_filters to the desired location (e.g., in a page or widget).
  2. Optional Product Shortcode:
    • If you want to display products alongside the filters, you can also include the shortcode products.
  3. Customize Sidebar or Page:
    • You can add the filter shortcode to a sidebar widget or directly within a page’s content.

Once you have completed these steps, customers will be able to filter products by SKU on your webpage using the Dynamic AJAX Product Filters plugin. The SKU Filter allows customers to filter products using their Stock Keeping Unit (SKU). This is useful for stores where products are identified or searched by specific SKU codes.