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

Product variation with multiple options cannot be aded to cart #453

Closed kchan825 closed 7 months ago

kchan825 commented 7 months ago

Expected behavior

When all required options are selected, remove the disabled state of the Add to Cart button.

Actual behavior

When all required options are selected, the Add to Cart button remains without throwing any error.

Steps to reproduce behavior

  1. In BigCommerce, create a product with at least 2 shared options, generate the variations.
  2. In WordPress, do a full product sync.
  3. On the WordPress storefront, visit the designated product, select all required options, and attempt to Add to Cart.

Screenshot/Video (if applicable)

https://github.com/bigcommerce/bigcommerce-for-wordpress/assets/3124604/ddb16e61-271c-4e51-9b93-1cf821279c24

Workaround or possible solution

kchan825 commented 7 months ago

False alarm - inventory of individual variant is not properly synced.