Woocommerce product comparison

This block can make a dynamic comparison on your site. It has 3 types

Button type

Button type must be added to FSE template or in the woocommerce query builder. This button allows users to add current product to comparison

If you want to have the button only as an icon, simply remove the text “Add to compare”

Also, the Button has the option Login page URL. If you add this option, only registered and logged users can use this button. If the user is not logged in, then clicking on the button will redirect him to the login URL

Also, you can set the Comparison page URL. When the user added the product to compare, then, a second click on the same button will remove the product from comparison. But if you add this option, then, a second click on the button will redirect the user to a page with the comparison table.

Counter type

This option will show a button with a small counter which indicates how many items the user has in comparison. Also, users can click on this counter to get on the comparison page. In most of cases, you will use this block in your header

Table type

This type will show comparison results. Use this on the page where you want to have a comparison table.

The table will be generated automatically and will show the image, title, price, rating, availability, button, and attributes. Also, it supports the Woocommerce attribute group feature from the Woocommerce addon.

Table block will detect automatically all attributes and will show only common attribute groups. Also, users can click on special checkbox to show only differences in table. Users can add and remove items on page.

The comparison table has also an option to select predefined products or product categories, this makes this block to be static and you can use it to compare products in your post reviews.

Copy this post’s content
Copy code below, and paste it (CTRL+V) in content of page