bigcommerce / bigcommerce-for-wordpress

A headless commerce integration for WordPress, powered by BigCommerce
https://www.bigcommerce.com/wordpress/
GNU General Public License v2.0
109 stars 49 forks source link

Syncing Customer Groups Issue #378

Closed Dmitry-Komkov closed 1 year ago

Dmitry-Komkov commented 2 years ago

Expected behavior

The product which is not visible/purchasable for a particular customer group should not be visible/purchasable after I select another customer group for a user in Bigcommerce

Actual behavior

The products are visible/purchasable. But. When you create a new user and assign him to any customer group, it works fine. But when you try to reassign it to another group it seems like the products data is cached somewhere and it keeps displaying wrong products.

Steps to reproduce behavior

  1. Change customer group for a user in Bigcommerce onto the one with different products list
  2. Go to Wordpress -> Bigcommerce -> Flush User/Products Cache -> Sync All products
  3. Try to go to a product page which should not be visible/purchasable
  4. You can still see and add a product to a cart although the customer group is correct and actually it cannot see/buy that product

Plugin Version

4.32.0

yuenvision commented 2 years ago

Expected to be addressed in v4.35.0

tyla-taylor commented 1 year ago

Addressed in v4.35.0