Filter Panel AJAX loses WooCommerce product category archive context

2

Environment

  • Greenshift All In One 12.9.6
  • WooCommerce
  • Query Builder
  • Filter Panel
  • Auto detect archive data

Issue

Initial archive page works correctly.

Example

/product-category/video-downloaders/

shows only Video Downloader products.

However after any Filter Panel AJAX request
(/wp-json/greenshift/v1/get-gs-posts/)

the current product_cat archive condition disappears.

The AJAX request contains only product attributes (pa_xxx)
but not product_cat.

As a result,

Filtering

Video Downloaders

+

4K

returns

all 4K products
instead of only products inside the current category.

Filter ID

gspb-5eae8b9

Could you confirm whether this is a bug or expected behaviour?

woshangfenglove@gmail.com

Replies

Responses

  1. There are 2 products under the “Video Converters” category, but when filtering by the “4K” attribute, it displays all products across all categories that have the “4K” attribute.

Post a Reply