How to Add a Product Recommendation Quiz Using the Gutenberg Block in WooCommerce

Product Recommendation Quiz for WooCommerce publishes each wizard as a shortcode you can paste into a page or post. If you build pages in the block editor, there is also a block that does the same job. You pick the wizard from a dropdown instead of copying a shortcode and hoping you got the ID right.

For example, a store adding a “Find your fit” quiz to a landing page inserts the block, selects that wizard from the sidebar, and publishes — no shortcode involved.

Steps

  1. Confirm you have a saved wizard. The block lists wizards you have already created. If you have none yet, go to Dotstore Plugins > Product Recommendation Quiz and add one with its questions first.
  2. Edit the page or post, click the + inserter, and search for Product Recommendation Quiz. It sits in the WooCommerce block category, and also turns up under searches like wizard, quiz, or finder.
Block inserter showing Product Recommendation Quiz in the WooCommerce category
Figure - The block inserter open on a Wizards page, with the WooCommerce category and the Product Recommendation Quiz block highlighted. The canvas already shows a grey placeholder for Product Recommendation Quiz, My First Wizard For Fav Products — [wpfp_1].
  1. Open the block sidebar and find the Wizard panel. Choose your quiz from the Select wizard dropdown (labeled SELECT WIZARD in the screenshot). The panel then shows a Shortcode field with the matching shortcode, such as [wpfp_1] , in case you want to reuse it elsewhere. The block in the canvas updates to show the wizard name you picked.
Block sidebar Wizard panel with Select wizard and Shortcode [wpfp_1]
Figure - The Product Recommendation Quiz block selected on Wizards - Page, with the Wizard panel in the sidebar. Select wizard (SELECT WIZARD) is set to My First Wizard For Fav Products, Shortcode shows [wpfp_1], and Advanced includes Additional CSS class(es). The canvas shows a grey placeholder with the wizard name and shortcode.
  1. Click Publish or Save / Update, then view the page. The quiz renders the same way as the shortcode version — same questions, same styling, same result list. Inside the editor you normally see a grey placeholder box with the wizard name, not a live quiz. That is expected; the quiz is rendered when the page loads.
The quiz on the page, with the editor placeholder still visible above a live questionnaire and results
Figure - A page view that still shows the editor placeholder for Product Recommendation Quiz, My First Wizard For Fav Products — [wpfp_1], above a live quiz: WHAT COLOR YOU LIKE? with Blue and Green, a RESTART control, a Next button, a toolbar with Top 10 products, Export, and grid/list icons, and TOP PRODUCTS results for V-Neck T-Shirt.

Pro tips

  • Choosing the wizard by name avoids pasting the wrong shortcode ID.
  • You can keep page building in the editor, without switching tabs to copy a shortcode from Manage Wizards.
  • Use the editor’s alignment controls if you want the quiz to stretch to wide or full width.
  • The block sidebar also includes Additional CSS class(es) under Advanced, as shown in the screenshot, if you need a custom class on that block.

Common Use Cases

1. A different quiz on each category page

If you run several wizards — one for coffee gear, one for accessories — choose the right one from the dropdown on each page instead of tracking which shortcode ID belongs where.

FAQs

The block doesn’t appear in the inserter. What should I check?

Make sure the plugin is active and that you are using the block editor rather than the classic editor. Searching for wizard or quiz also finds it if you do not spot it under the WooCommerce category.

Why does the block say “No wizards found. Create a wizard first.”?

No wizards have been saved yet. Create one under Dotstore Plugins > Product Recommendation Quiz, then return to the page and select it in the block.

Does the block replace the shortcode?

No. The block renders the same wizard through the same shortcode behind the scenes, so any shortcode already placed on your site keeps working. The sidebar shows that shortcode, such as [wpfp_1] , as a read-only value.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.