I have created a Shopify shop via this module, but am running into an intermittent problem. About 50% of my products return an 'access' denied' error when visited via the Shopify view. This is strange since it only affects some, but not all products. When I am logged in as #1, I can access and add those products to the cart, but am given an 'out of stock' error from Shopify when checking out, even though there is inventory for those products.

I have resynced the products and registered collections/create, collections/update, collections/delete, products/create, products/update, and products/delete webhooks. I checked my error logs and nothing specific is mentioned.

Any thoughts why this is happening and how I can correct it? My shop is dead in the water until I get this corrected. Thanks in advance for any assistance.

Comments

masande created an issue. See original summary.

masande’s picture

Category: Support request » Bug report
Road Kill’s picture

I am having the same issue here. This is a major issue and needs to be bumped up to critical.

Road Kill’s picture

Priority: Normal » Critical
Road Kill’s picture

I think this issue is related to permissions because as an administrator I can access all my products but for some products, anonymouse gets access denied.

Road Kill’s picture

I can also confirm that when you are logged in as administrator and try to purchase a product the quantity shows sold out even though there is ample stock. :(

masande’s picture

I am adding some more details about this issue in hopes someone can suggest a fix. At the time I originally posted the issue I was able to get around the problem by not using or syncing 'Collections' in Shopify. I added a vocabulary in Drupal and everything worked.

I have a client who has added new products recently and the issue has reemerged. I have tried the same fix of removing and not syncing Collections from Shopify, but that is no longer working. Digging deeper, it appears the Shopify Product entities in Drupal will not publish. There is no Published on date for any of them and no mechanism to manually publish them in Drupal.

I'm desperate to find a fix for this. I can't figure out why the newly added products are not published, while the existing products did publish. I used the same method to add the new products and changed no settings in Shopify or Drupal.

bobbygryzynger’s picture

Status: Active » Closed (won't fix)
Issue tags: -