Buy Button Gutenberg Block Isn’t working

Hi @troymkelly

When the button doesn’t render, only two possibilities come to mind: the Commerce7 javascript didn’t run properly, or the product has no stock (which fails silently).

Do you have a live URL with this button added we can test?

Hey @michaelbourne [link hidden]

  • This reply was modified 7 minutes ago by troymkelly.
  • This reply was modified 6 minutes ago by troymkelly.

That specific product seems to have no variants, you may need to edit the product in C7 and resave it. Check that you have inventory as well in C7 if inventory is initialized.

In the plugin settings page, I suggest using “V2 (Compatibility Mode)”. I’ve seen other sites have issues with Foundry and Commerce7, I developed this option to get around that issue. Your site seems fine for now, but it’s a safe option to use full time.

Excellent, it was the Inventory. Appreciate your help and the quick response.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer