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

5.0 breaks website #414

Closed 2gen closed 1 year ago

2gen commented 1 year ago

Expected behavior

bc-fix

Actual behavior

bc-bug

Steps to reproduce behavior

  1. Update to 5.0

Workaround or possible solution

Revert to previous version

2gen commented 1 year ago

I tried clearing all the caches and resyncing with 5 but no luck. I see 5.0 just came out 20 hours ago so I imagine its probably just a bug.

BenButterfield commented 1 year ago

We are seeing exactly the same thing - variants have failed to import and this in the sync log:

[2023-02-16 11:53:11] BigCommerce.INFO: Customer groups are empty [] [] [2023-02-16 11:53:25] BigCommerce.INFO: Customer groups are empty [] [] [2023-02-16 11:53:41] BigCommerce.INFO: Customer groups are empty [] [] [2023-02-16 11:53:59] BigCommerce.INFO: Customer groups are empty [] [] [2023-02-16 11:54:38] BigCommerce.INFO: Releasing expired import lock {"status":{"timestamp":1676548177.2923,"status":"updating_brands"}} [] [2023-02-16 11:54:38] BigCommerce.INFO: Running import task {"state":"updating_brands","description":"Updating Brands"} [] [2023-02-16 11:54:38] BigCommerce.DEBUG: Importing terms for bigcommerce_brand taxonomy {"limit":25,"taxonomy":"bigcommerce_brand"} [] [2023-02-16 11:54:51] BigCommerce.INFO: Customer groups are empty [] [] [2023-02-16 11:55:06] BigCommerce.INFO: Customer groups are empty [] [] [2023-02-16 11:55:40] BigCommerce.INFO: Exit from 2nd thread because status is not allowed {"status":"updating_brands"} [] [2023-02-16 11:55:55] BigCommerce.INFO: Customer groups are empty [] [] [2023-02-16 11:56:10] BigCommerce.INFO: Customer groups are empty [] [] [2023-02-16 11:56:45] BigCommerce.INFO: Customer groups are empty [] [] [2023-02-16 11:56:59] BigCommerce.INFO: Customer groups are empty [] [] [2023-02-16 11:57:02] BigCommerce.INFO: Customer groups are empty [] [] [2023-02-16 11:57:06] BigCommerce.INFO: Customer groups are empty [] [] [2023-02-16 11:57:30] BigCommerce.INFO: Customer groups are empty [] [] [2023-02-16 11:57:35] BigCommerce.INFO: Customer groups are empty [] [] [2023-02-16 11:57:39] BigCommerce.INFO: Customer groups are empty [] [] [2023-02-16 11:57:42] BigCommerce.INFO: Customer groups are empty [] [] [2023-02-16 11:57:45] BigCommerce.INFO: Customer groups are empty [] [] [2023-02-16 11:57:47] BigCommerce.INFO: Customer groups are empty [] [] [2023-02-16 11:58:07] BigCommerce.INFO: Customer groups are empty [] [] [2023-02-16 11:58:20] BigCommerce.INFO: Customer groups are empty [] [] [2023-02-16 11:58:26] BigCommerce.INFO: Customer groups are empty [] [] [2023-02-16 11:58:26] BigCommerce.INFO: Customer groups are empty [] [] [2023-02-16 11:58:27] BigCommerce.INFO: Customer groups are empty [] [] [2023-02-16 11:58:30] BigCommerce.INFO: Customer groups are empty [] [] [2023-02-16 11:58:32] BigCommerce.INFO: Customer groups are empty [] [] [2023-02-16 11:58:36] BigCommerce.INFO: Customer groups are empty [] [] [2023-02-16 11:58:50] BigCommerce.INFO: Customer groups are empty [] [] [2023-02-16 11:59:03] BigCommerce.INFO: Customer groups are empty [] [] [2023-02-16 11:59:40] BigCommerce.INFO: Releasing expired import lock {"status":{"timestamp":1676548478.5475,"status":"updating_brands"}} [] [2023-02-16 11:59:40] BigCommerce.INFO: Running import task {"state":"updating_brands","description":"Updating Brands"} [] [2023-02-16 11:59:40] BigCommerce.DEBUG: Importing terms for bigcommerce_brand taxonomy {"limit":25,"taxonomy":"bigcommerce_brand"} [] [2023-02-16 11:59:43] BigCommerce.INFO: Customer groups are empty [] [] [2023-02-16 12:00:09] BigCommerce.INFO: Customer groups are empty [] [] [2023-02-16 12:00:23] BigCommerce.INFO: Customer groups are empty [] [] [2023-02-16 12:00:27] BigCommerce.INFO: Customer groups are empty [] [] [2023-02-16 12:00:40] BigCommerce.INFO: Exit from 2nd thread because status is not allowed {"status":"updating_brands"} [] [2023-02-16 12:00:56] BigCommerce.INFO: Customer groups are empty [] [] [2023-02-16 12:01:01] BigCommerce.INFO: Customer groups are empty [] [] [2023-02-16 12:02:08] BigCommerce.INFO: Customer groups are empty [] [] [2023-02-16 12:02:11] BigCommerce.INFO: Customer groups are empty [] []

MlKilderkin commented 1 year ago

Hello @2gen

Could you please login to Bigcommerce dashboard and enter next url https://store-your-store-hash.mybigcommerce.com/manage/channel/channel-id/store-settings your-store-hash - your store hash. Can be found in url once you login to Bigcommerce channel-id - you can go to the Channel Manager, find required channel and select edit settings. Then copy channel id from url(usually it consist of 7 digits)

Then once you go to the storefront scroll to Product Display section and check that you are not hiding anything. Update settings if it is required and make another sync on WP side

Please let me know if issue is resolved for you

2gen commented 1 year ago

No nothing is hidden. Reverting back to 4.37 fixed our issue so I doubt its a store setting.

MlKilderkin commented 1 year ago

@2gen just to confirm. All your settings in Product Display section are looked like this 7F27282C-7398-4682-AD77-CA74C93A3031

MlKilderkin commented 1 year ago

If it is true just check all options and make import again

2gen commented 1 year ago

This is what it looks like currently. Would your screenshot with all the show options unchecked not hide everything?

image
MlKilderkin commented 1 year ago

This is what it looks like currently. Would your screenshot with all the show options unchecked not hide everything?

image

You don't need to change anything. I see that all required options are here. I'll take a look on the issue and back to you

2gen commented 1 year ago

Ok cool thanks. I am leaving it at 4.x for now so its not urgent anyway.

MlKilderkin commented 1 year ago

415 will resolve such issue

chanceaclark commented 1 year ago

Just released 5.0.1 which should resolve this issue. Closing for now, but let us know if there are still issues with it 🙏

2gen commented 1 year ago

Nope looks like it fixed it thanks